Nope... it didn't... although putting in the +1300's into the TV.xml did
fix it... (leave the date_format thing as it originally was)
So I whipped up the following shell script to fetch and modify the xml...
(note that i changed my local_conf to store TV.XML in /etc/freevo instead
of /tmp since it takes a minute or two to run so I like to keep it between
reboots)
#!/bin/sh
/usr/bin/tv_grab_nz > /tmp/TV.xml.tmp
cat /tmp/TV.xml.tmp | sed 's/\" stop/ \+1300\" stop/g' > /tmp/TV.xml.tmp2
cat /tmp/TV.xml.tmp2 | sed 's/\" channel/ \+1300\" channel/g' > /etc/freevo/TV.xml
On Sat, 11 Oct 2003, Dave Smylie wrote:
> doh - the freevo docs didn't talk about nz listings being available so I
> assumed there weren't any.
> Still, its going now, but I'm havng the same problem - I've changed:
> secs = time.mktime(strptime.strptime(str, xmltv.date_format))
> to
> secs = time.mktime(strptime.strptime(str, xmltv.date_format_notz))
>
> but it didn't make a difference.
> Did it have any effect for you?
>
> Cheers
> Dave
>
> On Sat, 2003-10-11 at 11:35, Matt Camp wrote:
> > apt-get install xmltv on Debian/Sid.
> >
> > :)
> >
> >
> > On Fri, 10 Oct 2003, Dave Smylie wrote:
> >
> > > more importantly, where can I find tv_grab_nz? I can't find it in the
> > > 1.4r1 install. Is it just in cvs?
> > >
> > > Cheers
> > > Dave
> > >
> > > On Sat, 2003-10-11 at 01:42, Matt Camp wrote:
> > > > Hi,
> > > >
> > > > I'm attempting to get the program guide working in Freevo 1.4rc1, and am
> > > > having a problem... that is, the guide always shows "This channel has no
> > > > data loaded".
> > > >
> > > > I have used tv_grab_nz to generate /tmp/TV.xml, which contains the
> > > > following: (excerpt)
> > > >
> > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > <!DOCTYPE tv SYSTEM "xmltv.dtd">
> > > >
> > > > <tv generator-info-name="NZ python generator">
> > > > <channel id="tv2.nzoom.com">
> > > > <display-name>TV2</display-name>
> > > > </channel>
> > > > <channel id="primetv.co.nz">
> > > > <display-name>Prime</display-name>
> > > > </channel>
> > > >
> > > > ....
> > > >
> > > > <programme start="200310100110" stop="200310100310" channel="tv2.nzoom.com">
> > > > <title>A Thousand Acres</title>
> > > > <desc>A bitter-sweet drama about best friends and sisters who are
> > > > the worst rivals.</desc>
> > > > <date>1997</date>
> > > > <category>movie</category>
> > > > </programme>
> > > > <programme start="200310100310" stop="200310100440" channel="tv2.nzoom.com">
> > > > <title>Bad As I Wanna Be</title>
> > > > <sub-title>Rodman</sub-title>
> > > > <desc>A controversial documentary that puts Chicago Bulls' basketballstar
> > > > Dennis Rodman, who is well-known for his antics on and off
> > > > thecourt, in the hot spotlight. Starring: Dwayne Adway John Terry and Dee
> > > > Wallace-Stone. D...</desc>
> > > > </programme>
> > > > [...etc...]
> > > >
> > > > and my local_conf.py contains:
> > > >
> > > > TV_CHANNELS = [('tv2.nzoom.com', 'tv2.nzoom.com', '1'),
> > > > ('primetv.co.nz', 'primetv.co.nz', '2'),
> > > > ('tvone.nzoom.com', 'tvone.nzoom.com', '3'),
> > > > ('tv3.co.nz', 'tv3.co.nz', '4'),
> > > > ('tv4.co.nz', 'tv4.co.nz', '5')]
> > > >
> > > >
> > > > Any ideas?
> > > >
> > > > --- Matt Camp
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.net email is sponsored by: SF.net Giveback Program.
> > > > SourceForge.net hosts over 70,000 Open Source Projects.
> > > > See the people who have HELPED US provide better services:
> > > > Click here: http://sourceforge.net/supporters.php
> > > > _______________________________________________
> > > > Freevo-users mailing list
> > > > [EMAIL PROTECTED]
> > > > https://lists.sourceforge.net/lists/listinfo/freevo-users
> > > >
> > > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: SF.net Giveback Program.
> > > SourceForge.net hosts over 70,000 Open Source Projects.
> > > See the people who have HELPED US provide better services:
> > > Click here: http://sourceforge.net/supporters.php
> > > _______________________________________________
> > > Freevo-users mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/freevo-users
> > >
> >
> > ---
> > Matt Camp
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program.
> > SourceForge.net hosts over 70,000 Open Source Projects.
> > See the people who have HELPED US provide better services:
> > Click here: http://sourceforge.net/supporters.php
> > _______________________________________________
> > Freevo-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/freevo-users
> >
> >
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> SourceForge.net hosts over 70,000 Open Source Projects.
> See the people who have HELPED US provide better services:
> Click here: http://sourceforge.net/supporters.php
> _______________________________________________
> Freevo-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
---
Matt Camp
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users