Mailing List archive

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

[vdr] Re: /video/epg.data: illegal channel ID problem



On Mon, 2003-08-25 at 17:09, Robert Sturrock wrote:
> Hello Malcolm et. al.,
> 
> On Mon, Aug 25, 2003 at 01:43:05PM +0930, Malcolm Caldwell wrote:
> > How are you populating the epg.data?  Just putting things in the file? 
> > It is better to use svdrp.  There is an example in the vdr distribution.
> > (src/PLUGINS/sky/getsky.pl.  I use a similar script for my epg grabs.
> 
> I have actually begun using your script as the basis for my own -
> thanks for your efforts on this! :-)

I assume you mean the getsky.pl script which is actually Klaus's
script.  (I don't think I released mine...)

I would be willing to release my scripts if someone wants them.  I have
generalized my scripts so I have configurable front end web
grabbers/parser for each channel and a general purpose backend for
sending it to vdr.  

(The idea is that I can write another backend to make simple webpages I
can download to a PDA)

> 
> I have tried a combination of populating epg.data by hand (shutdown
> vdr, populate epg.data, restart vdr), as well as entering a single
> entry using svdrp, such as:
> 
>     root@tivo# telnet localhost 2001
>     Trying 127.0.0.1...
>     Connected to localhost.
>     Escape character is '^]'.
>     220 tivo SVDRP VideoDiskRecorder 1.2.2; Mon Aug 25 16:06:18 2003
>     pute
>     354 Enter EPG data, end with "." on a line by itself
>     C T-0-191-0 NINE
>     E Id 1061859600 3600 0

I don't *think* you need the word "Id" here.

>     T National Nine Morning News
>     D Local and International news presented by Kim Watkins.
>     e
>     c
>     .
>     451 Error while processing EPG data
>     quit
>     221 tivo closing connection
> 
> .. logfile reads:
> 
>     Aug 25 16:06:18 tivo vdr[823]: connect from 127.0.0.1, port 32777 - accepted
>     Aug 25 16:06:22 tivo vdr[823]: ERROR: illegal channel ID: T-0-191-0
> 
> > getsky.pl (and my scripts) use the svdrp command lstc to get a list of
> > channels and ids that you can then be sure are correct.
> 
> lstc gives me this:
> 
>     root@tivo# telnet localhost 2001
>     Trying 127.0.0.1...
>     Connected to localhost.
>     Escape character is '^]'.
>     220 tivo SVDRP VideoDiskRecorder 1.2.2; Mon Aug 25 16:08:21 2003
>     lstc
>     250-1 ABC:226500:I0B7G16:T:27500:512:650:0:0:0:0:0:0
>     250-2 SBS:536625:I0B7G8:T:27500:161:81:0:0:0:0:0:0
>     250-3 SEVEN:177500:I0B7G8:T:27500:769:770:0:0:0:0:0:0
>     250-4 NINE:191625:I0B7G8:T:27500:513:660:0:0:0:0:0:0
>     250 5 TEN:219500:I0B7G16:T:27500:512:650:0:0:0:0:0:0
>     quit
>     221 tivo closing connection
> 
> 
> Perhaps my channels.conf is not complete (although it seems to work
> ok).  Is there a way of deriving channel IDs from the above?
> 
> Thanks.
> 
> Robert.
> 



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index