Problem with epg PUTE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Simon Baxter wrote:
> I'm having problems processing epg into VDR.
> 
> I have the following channels:
> 
> LSTC
> 250-1 TV1-Cable:112250:C0:C:0:301:300:305:A1:1796:0:0:0
> 250-2 TV2-Cable:119250:C0:C:0:301:300:305:A1:1908:0:0:0
> 250-3 TV3-Cable:126250:C0:C:0:301:300:305:A1:2020:0:0:0
> 250-4 Prime-Cable:189250:C0:C:0:301:300:305:A1:3028:0:0:0
> 250-5 C4-Cable:203250:C0:C:0:301:300:305:A1:3252:0:0:0
> 250-6 Saturn Weather-Cable:147250:C0:C:0:301:300:305:A1:2356:0:0:0
> 250-7 Unknown-Cable:224250:C0:C:0:301:300:305:A1:3588:0:0:0
> 250-8 Sky Box Office-Cable:245250:C0:C:0:301:300:305:A1:3924:0:0:0
> 250-9 Sky Box Office Collage-Cable:252250:C0:C:0:301:300:305:A1:4036:0:0:0
> 250-10 Saturn Choose-Cable:259250:C0:C:0:301:300:305:A1:4148:0:0:0
> 250-99 S-Video 1;w_pvrscan:1:C12:C:0:301:300:305:A1:9001:0:0:0
> 250 100 Composite 1;w_pvrscan:1:C23:C:0:301:300:305:A1:9002:0:0:0
> 
> and the current date is:
> [vdruser@media xmltv2vdr-1.0.6]$ date +%s
> 1175557509
> 
> But when I try and input EPG it doesn't show up:
> 
> PUTE
> 354 Enter EPG data, end with "." on a line by itself
> C C-0-112250-1796 TV1-Cable
> E 0 0 1175578200 0

man 5 vdr:

   EPG DATA
       ...
       E   <event id> <start time> <duration> <table id> <version>

Try something like

 E 0 1175578200 3600 0

and make sure each event gets a unique event id (the first number).
In Perl, for instance, you could do

  $Id = $time / 60 % 0xFFFF; # this gives us unique ids for every minute of over 6 weeks

Klaus

> T Neighbours
> D Sandy's life lies in Lolly's hands. Boyd fears Janae has been driven to
> murder. Ringo's secret shame prevents him from kissing Rachel.
> e
> c
> .
> 250 EPG data processed
> LSTE
> 215 End of EPG data
> 
> 
> This epg data is being processed by xmltv2vdr-1.0.6.


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux