Re: [vdr] VPS fallback patch
On 18.07.2011 13:53, Dave wrote: For some time (at least since 2008) Mandriva Linux have been including the attached patch in the version of vdr shipped with their distribution. It allows timers to be triggered directly by the Now/Next data in the EIT provided that a new parameter is set in the config file. Looking back in the mailing list archives I see the question of including this feature in vdr is an old one; see for example: http://www.linuxtv.org/pipermail/vdr/2005-August/003975.html However I wonder if the time is now right to reconsider? In the UK an accurate Now Next EIT is provided on DVB-T as part of the Freeview Plus (aka TV- Anytime) service, with the data being directly derived from the broadcasters' playout systems. I have been running vdr with this patch for two years and have never missed a recording due to incorrect information. It was really useful during the recent Wimbledon tournament when many programmes ran late due to live coverage of the tennis. VDR interprets the PDC (Programme Delivery Control) descriptor in order to correctly record broadcasts that run longer or are shifted. If a channel doesn't provide a PDC descriptor, it's usually not reliable to use the running status as an indicator for the beginning/end of a broadcast. So, if a station actually wants to provide correct information on when a broadcast begins/ends, the PDC descriptor is the way to go. Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] VPS fallback patch
For some time (at least since 2008) Mandriva Linux have been including the attached patch in the version of vdr shipped with their distribution. It allows timers to be triggered directly by the Now/Next data in the EIT provided that a new parameter is set in the config file. Looking back in the mailing list archives I see the question of including this feature in vdr is an old one; see for example: http://www.linuxtv.org/pipermail/vdr/2005-August/003975.html However I wonder if the time is now right to reconsider? In the UK an accurate Now Next EIT is provided on DVB-T as part of the Freeview Plus (aka TV- Anytime) service, with the data being directly derived from the broadcasters' playout systems. I have been running vdr with this patch for two years and have never missed a recording due to incorrect information. It was really useful during the recent Wimbledon tournament when many programmes ran late due to live coverage of the tennis. Dave Index: vdr-1.6.0/config.c === --- vdr-1.6.0/config.c +++ vdr-1.6.0/config.c 2008-04-15 14:48:30.0 +0300 @@ -255,6 +255,7 @@ UseSubtitle = 1; UseVps = 0; VpsMargin = 120; + RsVpsFallback = 0; RecordingDirs = 1; VideoDisplayFormat = 1; VideoFormat = 0; Index: vdr-1.6.0/config.h === --- vdr-1.6.0/config.h +++ vdr-1.6.0/config.h 2008-04-15 14:48:30.0 +0300 @@ -237,6 +237,7 @@ int UseSubtitle; int UseVps; int VpsMargin; + int RsVpsFallback; int RecordingDirs; int VideoDisplayFormat; int VideoFormat; Index: vdr-1.6.0/menu.c === --- vdr-1.6.0/menu.c +++ vdr-1.6.0/menu.c 2008-04-15 14:48:30.0 +0300 @@ -2753,6 +2753,7 @@ Add(new cMenuEditBoolItem(tr(Setup.Recording$Use episode name), data.UseSubtitle)); Add(new cMenuEditBoolItem(tr(Setup.Recording$Use VPS), data.UseVps)); Add(new cMenuEditIntItem( tr(Setup.Recording$VPS margin (s)),data.VpsMargin, 0)); + Add(new cMenuEditBoolItem(tr(Setup.Recording$Use running status as VPS fallback), data.RsVpsFallback)); Add(new cMenuEditBoolItem(tr(Setup.Recording$Mark instant recording),data.MarkInstantRecord)); Add(new cMenuEditStrItem( tr(Setup.Recording$Name instant recording), data.NameInstantRecord, sizeof(data.NameInstantRecord))); Add(new cMenuEditIntItem( tr(Setup.Recording$Instant rec. time (min)), data.InstantRecordTime, 1, MAXINSTANTRECTIME)); Index: vdr-1.6.0/timers.c === --- vdr-1.6.0/timers.c +++ vdr-1.6.0/timers.c 2008-04-15 14:48:30.0 +0300 @@ -412,7 +412,7 @@ } if (HasFlags(tfActive)) { - if (HasFlags(tfVps) event event-Vps()) { + if (HasFlags(tfVps) event (Setup.RsVpsFallback || event-Vps())) { if (Margin || !Directly) { startTime = event-StartTime(); stopTime = event-EndTime(); ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] VPS fallback patch
On Mon, 18 Jul 2011 12:53:45 +0100 Dave v...@pickles.me.uk wrote: However I wonder if the time is now right to reconsider? In the UK an accurate Now Next EIT is provided on DVB-T as part of the Freeview Plus (aka TV- Anytime) service, with the data being directly derived from the broadcasters' playout systems. I have been running vdr with this patch for two years and have never missed a recording due to incorrect information. It was really useful during the recent Wimbledon tournament when many programmes ran late due to live coverage of the tennis. Does the standard EIT now reflect the actual times? I was under the impression that the EIT still reflected the original schedule and the actual times were somewhere in the TVAnytime extensions. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] VPS fallback patch
On Monday 18 July 2011 13:58:55 Tony Houghton wrote: Does the standard EIT now reflect the actual times? I was under the impression that the EIT still reflected the original schedule and the actual times were somewhere in the TVAnytime extensions. For the UK Freeview+ service, the EIT p/f table is used as the accurate recording information, and the start of a programme is signalled by the event_id appearing in the 'present' event. The alternative (preferred by ETSI TS 102 323) is a TVA_id descriptor (0x75) in the p/f table, but these don't seem to be broadcast in the UK. Dave ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] VPS fallback patch
On Monday 18 July 2011 13:09:19 Laz wrote: I will have to give your patch a go becuase I've recently missed a few recordings due to tennis and football over-running!! I presume I need to set timers with no margin at the start and with vps enabled for all for this to work? In your setup.conf you should have: UseVps = 1 VpsFallback = 1 VpsMargin = 120 The last one sets the number of seconds before the scheduled start time that VDR begins monitoring the p/f table for the event start. Also whenever you set a new timer you need to set the 'flag' field to 5 - if using vdradmin-am tick the 'use VPS' box in the New Timer window - as well as setting the start time with no margin. Do I also need your tvanytime patch for this to work? I did try it a few days back with vdr-1.7.19 but I kept on gettign seg faults from calls to strcpyrealloc! I was, however, in the process of sorting out some other issues at the time so will have to try it again now that I've fixed the other problems! The TVAnytime patch includes this VPS Fallback patch, but you don't need the rest of it just to do accurate recording. Dave ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr