Sorry for not posting in thread, I copypasted this old message from archives. Klaus Schmidinger wrote: > Lauri Tischler wrote: >> >> Klaus Schmidinger wrote: >> > Lauri Tischler wrote: >> > >> >>VPS uses running status. Unfortunately Finnish Digita does not >> >>use VPS, but, they do send 'running status', sort of... >> >>They appear allways to send 'running' (status 4) but never any >> >>other type. >> >>This could be used with Timers, like... >> >>- switch to appropiate channel using Timer Info >> >>- start recording when running status goes running >> >>- stop recording when next running status on this channel goes active. >> > >> > >> > VDR sets the running status accordingly, so that at any given time there >> > is only one event with running status 4. >> > >> > Are you sure that the stations you are talking about actually switch >> > the running status when the broadcast begins or ends, respectively? >> > RTL, for instance, switches the RS at times that are only loosely >> > related to the actual begin or end of a broadcast. >> >> some log from 9th Apr. [...] >> -- starts 1:08 late >> Apr 9 18:31:08 vdr vdr[2596]: channel 8 (YLE24) event 18:30 'MOT' status 4 >> Apr 9 18:32:01 vdr vdr[2596]: channel 2 (YLE TV2) event 18:30 'Pisara' status 4 >> Apr 9 18:35:11 vdr vdr[2596]: channel 1 (YLE TV1) event 18:35 'Top40' status 4 >> Apr 9 18:36:01 vdr vdr[2596]: channel 9 (YLE FST) event 18:35 'Kulttuuriprofiili: Jan-Erik Sl?tis' status 4 >> -- starts 2:15 late >> Apr 9 18:37:15 vdr vdr[2596]: channel 2 (YLE TV2) event 18:35 'FST: Kulttuuriprofiili: Jan-Erik Sl?tis' status 4 >> >> yep, should work > > Have you verified that these broadcasts actually started at the exact moment when > the status has switched? I mean, by watching what was actually visible on the tv > screen at that time. I verified this. > > You could make VDR use the event's running status (even if there is no VPS > time provided by the event) by changing the line > > if (HasFlags(tfVps) && !Directly && event && event->Vps()) { > > in VDR/timers.c into > > if (HasFlags(tfVps) && !Directly && event) { > > You would still have to set the VPS flag for the event, though. > I haven't tested this, but I would expect it to work. I modified VDR 1.3.27 according to attached patch, and the running status works as expected. Klaus, could this be included in the next version of VDR? -- Anssi Hannula -------------- next part -------------- A non-text attachment was scrubbed... Name: runningstatus-without-vps.diff Type: text/x-patch Size: 615 bytes Desc: not available Url : http://www.linuxtv.org/pipermail/vdr/attachments/20050713/41f30818/runningstatus-without-vps.bin