Re: [vdr] priorities in streamdev
Hi Rainer, On Mon, 5 Jul 2010 07:28:37 +0200, Rainer Blickle wrote > Later in the code of cServerConnection::GetDevice, if the Method > cDevice::GetDevice doesn't return a device, the current receiver gets > detached. In my infrastructure this doesnt happend because the live > receiver will nearly always gets detached ( The only exception is > when a timer records). To prevent this, i changed the code in that > way that the streamdev-receiver gets detached before calling > cDevice::GetDevice). thanks for tracking this issue down and for the detailed bugreport. The DetachAllReceivers part in cDevice::GetDevice(...) was introduced in VDR 1.5.0. This change effectively turned this method from being a "query only" method into something with side effects. The proper (though not nice) solution seems to be copying cDevice::GetDevice(...) into streamdev server, leaving out the problematic parts. I quickly hacked together a patch at http://www.vdr-developer.org/mantisbt/view.php?id=582. It's totally untested, but maybe you want to give it a try. Might take a while until I have time to test it. Regards, Frank ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] priorities in streamdev
Hi Frank, my first (and also not nice) fix on my dev system was to detach the current receiver before calling cDevice::GetDevice. But this is also only a quickfix because when a timer records, the live tv will be stopped because of the priority. My first not-quickfix idea was to add a additional boolean parameter to the cDevice::GetDevice method, for convenience with a default value (e.g. detachIfNecessary). If this value is true, the method would detach the receiver. If this value is false, the method wouldn't detach. With a value of false, the Method would still be a query method. Regards, Rainer 2010/7/6 Frank Schmirler : > Hi Rainer, > > On Mon, 5 Jul 2010 07:28:37 +0200, Rainer Blickle wrote >> Later in the code of cServerConnection::GetDevice, if the Method >> cDevice::GetDevice doesn't return a device, the current receiver gets >> detached. In my infrastructure this doesnt happend because the live >> receiver will nearly always gets detached ( The only exception is >> when a timer records). To prevent this, i changed the code in that >> way that the streamdev-receiver gets detached before calling >> cDevice::GetDevice). > > thanks for tracking this issue down and for the detailed bugreport. The > DetachAllReceivers part in cDevice::GetDevice(...) was introduced in VDR > 1.5.0. This change effectively turned this method from being a "query only" > method into something with side effects. > > The proper (though not nice) solution seems to be copying > cDevice::GetDevice(...) into streamdev server, leaving out the problematic > parts. > > I quickly hacked together a patch at > http://www.vdr-developer.org/mantisbt/view.php?id=582. It's totally untested, > but maybe you want to give it a try. Might take a while until I have time to > test it. > > Regards, > Frank > > ___ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Edit timer/Timer conflict problem vdradmin/epgsearch
This is not what I thought I was seeing. I thought it was saying conflicts when 2 shows are back to back on the same channel after I changed them from the sat channel to the local atsc. But this one is saying a conflict for a show that has nothing: Tue 06.07.2010 23:08:17: timer 'The Mentalist' (Thu 15.07. 20:59, channel KOLD) failed That is the only timer set for thu 15th for the whole day and is the last one in the list and I haven't even changed it to the atsc channel yet. Tue 06.07.2010 23:08:17: check for timer conflicts Tue 06.07.2010 23:08:17: add timer 'Crusoe' (Thu 08.07. 10:59, channel THIS) for conflict check Tue 06.07.2010 23:08:17: add timer 'Scoundrels' (Sun 11.07. 19:59, channel KGUN-DT) for conflict check Tue 06.07.2010 23:08:17: add timer 'The Gates' (Sun 11.07. 20:59, channel KGUN-DT) for conflict check Tue 06.07.2010 23:08:17: add timer 'The Good Guys' (Mon 12.07. 19:59, channel KMSB) for conflict check Tue 06.07.2010 23:08:17: add timer 'Bones' (Fri 09.07. 18:59, channel KMSB) for conflict check Tue 06.07.2010 23:08:17: add timer 'Legend of the Seeker' (Sat 10.07. 15:58, channel KTTU-DT) for conflict check Tue 06.07.2010 23:08:17: add timer 'The Mentalist' (Thu 08.07. 20:59, channel KOLD-DT) for conflict check Tue 06.07.2010 23:08:17: add timer 'The Mentalist' (Thu 15.07. 20:59, channel KOLD) for conflict check Tue 06.07.2010 23:08:17: create check time list Tue 06.07.2010 23:08:17: create check time list - done Tue 06.07.2010 23:08:17: create conflict list Tue 06.07.2010 23:08:17: check time Thu 08.07. 10:59 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: recording timer 'Crusoe' (Thu 08.07. 10:59, channel THIS) at Thu 08.07. 10:59 on device 2 Tue 06.07.2010 23:08:17: check time Thu 08.07. 10:59 - done Tue 06.07.2010 23:08:17: check time Thu 08.07. 13:01 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: detach device 2 from timer 'Crusoe' (Thu 08.07. 10:59, channel THIS) at Thu 08.07. 13:01 Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: check time Thu 08.07. 13:01 - done Tue 06.07.2010 23:08:17: check time Thu 08.07. 20:59 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: recording timer 'The Mentalist' (Thu 08.07. 20:59, channel KOLD-DT) at Thu 08.07. 20:59 on device 2 Tue 06.07.2010 23:08:17: check time Thu 08.07. 20:59 - done Tue 06.07.2010 23:08:17: check time Thu 08.07. 22:01 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: detach device 2 from timer 'The Mentalist' (Thu 08.07. 20:59, channel KOLD-DT) at Thu 08.07. 22:01 Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: check time Thu 08.07. 22:01 - done Tue 06.07.2010 23:08:17: check time Fri 09.07. 18:59 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: recording timer 'Bones' (Fri 09.07. 18:59, channel KMSB) at Fri 09.07. 18:59 on device 2 Tue 06.07.2010 23:08:17: check time Fri 09.07. 18:59 - done Tue 06.07.2010 23:08:17: check time Fri 09.07. 20:01 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: detach device 2 from timer 'Bones' (Fri 09.07. 18:59, channel KMSB) at Fri 09.07. 20:01 Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: check time Fri 09.07. 20:01 - done Tue 06.07.2010 23:08:17: check time Sat 10.07. 15:58 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: recording timer 'Legend of the Seeker' (Sat 10.07. 15:58, channel KTTU-DT) at Sat 10.07. 15:58 on device 2 Tue 06.07.2010 23:08:17: check time Sat 10.07. 15:58 - done Tue 06.07.2010 23:08:17: check time Sat 10.07. 17:02 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: detach device 2 from timer 'Legend of the Seeker' (Sat 10.07. 15:58, channel KTTU-DT) at Sat 10.07. 17:02 Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: check time Sat 10.07. 17:02 - done Tue 06.07.2010 23:08:17: check time Sun 11.07. 19:59 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: recording timer 'Scoundrels' (Sun 11.07. 19:59, channel KGUN-DT) at Sun 11.07. 19:59 on device 2 Tue 06.07.2010 23:08:17: check time Sun 11.07. 19:59 - done Tue 06.07.2010 23:08:17: check time Sun 11.07. 20:59 Tue 06.07.2010 23:08:17: deta
Re: [vdr] Edit timer/Timer conflict problem vdradmin/epgsearch
Hi, Am 07.07.2010 08:21, schrieb Timothy D. Lenz: This is not what I thought I was seeing. I thought it was saying conflicts when 2 shows are back to back on the same channel after I changed them from the sat channel to the local atsc. But this one is saying a conflict for a show that has nothing: Tue 06.07.2010 23:08:17: timer 'The Mentalist' (Thu 15.07. 20:59, channel KOLD) failed That is the only timer set for thu 15th for the whole day and is the last one in the list and I haven't even changed it to the atsc channel yet. hmm, for any reason epgsearch thinks, that VDR cannont record anything on channel 'KOLD', atleast at the moment of the conflict check. Anything special about this channel? Try switching to this channel, when the conflict pops up. Regards, Christian Tue 06.07.2010 23:08:17: check for timer conflicts Tue 06.07.2010 23:08:17: add timer 'Crusoe' (Thu 08.07. 10:59, channel THIS) for conflict check Tue 06.07.2010 23:08:17: add timer 'Scoundrels' (Sun 11.07. 19:59, channel KGUN-DT) for conflict check Tue 06.07.2010 23:08:17: add timer 'The Gates' (Sun 11.07. 20:59, channel KGUN-DT) for conflict check Tue 06.07.2010 23:08:17: add timer 'The Good Guys' (Mon 12.07. 19:59, channel KMSB) for conflict check Tue 06.07.2010 23:08:17: add timer 'Bones' (Fri 09.07. 18:59, channel KMSB) for conflict check Tue 06.07.2010 23:08:17: add timer 'Legend of the Seeker' (Sat 10.07. 15:58, channel KTTU-DT) for conflict check Tue 06.07.2010 23:08:17: add timer 'The Mentalist' (Thu 08.07. 20:59, channel KOLD-DT) for conflict check Tue 06.07.2010 23:08:17: add timer 'The Mentalist' (Thu 15.07. 20:59, channel KOLD) for conflict check Tue 06.07.2010 23:08:17: create check time list Tue 06.07.2010 23:08:17: create check time list - done Tue 06.07.2010 23:08:17: create conflict list Tue 06.07.2010 23:08:17: check time Thu 08.07. 10:59 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: recording timer 'Crusoe' (Thu 08.07. 10:59, channel THIS) at Thu 08.07. 10:59 on device 2 Tue 06.07.2010 23:08:17: check time Thu 08.07. 10:59 - done Tue 06.07.2010 23:08:17: check time Thu 08.07. 13:01 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: detach device 2 from timer 'Crusoe' (Thu 08.07. 10:59, channel THIS) at Thu 08.07. 13:01 Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: check time Thu 08.07. 13:01 - done Tue 06.07.2010 23:08:17: check time Thu 08.07. 20:59 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: recording timer 'The Mentalist' (Thu 08.07. 20:59, channel KOLD-DT) at Thu 08.07. 20:59 on device 2 Tue 06.07.2010 23:08:17: check time Thu 08.07. 20:59 - done Tue 06.07.2010 23:08:17: check time Thu 08.07. 22:01 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: detach device 2 from timer 'The Mentalist' (Thu 08.07. 20:59, channel KOLD-DT) at Thu 08.07. 22:01 Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: check time Thu 08.07. 22:01 - done Tue 06.07.2010 23:08:17: check time Fri 09.07. 18:59 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: recording timer 'Bones' (Fri 09.07. 18:59, channel KMSB) at Fri 09.07. 18:59 on device 2 Tue 06.07.2010 23:08:17: check time Fri 09.07. 18:59 - done Tue 06.07.2010 23:08:17: check time Fri 09.07. 20:01 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: detach device 2 from timer 'Bones' (Fri 09.07. 18:59, channel KMSB) at Fri 09.07. 20:01 Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: check time Fri 09.07. 20:01 - done Tue 06.07.2010 23:08:17: check time Sat 10.07. 15:58 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: recording timer 'Legend of the Seeker' (Sat 10.07. 15:58, channel KTTU-DT) at Sat 10.07. 15:58 on device 2 Tue 06.07.2010 23:08:17: check time Sat 10.07. 15:58 - done Tue 06.07.2010 23:08:17: check time Sat 10.07. 17:02 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: detach device 2 from timer 'Legend of the Seeker' (Sat 10.07. 15:58, channel KTTU-DT) at Sat 10.07. 17:02 Tue 06.07.2010 23:08:17: add pending timers Tue 06.07.2010 23:08:17: attach starting timers Tue 06.07.2010 23:08:17: check time Sat 10.07. 17:02 - done Tue 06.07.2010 23:08:17: check time Sun 11.07. 19:59 Tue 06.07.2010 23:08:17: detach stopping timers Tue 06.07.2010 23:08:17: add pending timers Tue
Re: [vdr] Edit timer/Timer conflict problem vdradmin/epgsearch
On Sun, 04 Jul 2010 15:09:31 -0700 "Timothy D. Lenz" wrote: > adding the -v 3 doesn't show any more in the logs that I have seen, > but another example of how changing the channel on the timer is > messing something up: > > It picked up a show and set a timer > > I changed the channel to the local channel > > Now the local epg data has arrived and in vdradmin timeline it show > the show in red showing it has a timer set. If I do a search, list > the shows for both sat and local and gives the option to setup a > timer for the sat channel only because the local is set. BUT, if you > go to the timers page and click on the altered entry, it says "can't > find epg". What ever is off that causes that is likely also what is > causing the OSD notices of timer conflict when there is none. Also, > when in an OSD menu, the timers are listed on the right with > text2skin/engima and below that it also says timer conflict. Hmm ... not really solution to the problem you try to debug, but could be a solution for you. Have you ever tried: a) using epgsync to get the EPG from the Sat you can not watch but has good EPG and copy it to your local station b) limit the search timer with a channels group to only the stations you can receive. Like that you should be able to use searchtimer you not need to adjust and no timers on channels you can receive. HTH Steffen ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr