[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2004-05-05 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 82.68.234.108:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

--
@@ -91,7 +91,26 @@
 
 === UK listings ===
 
-Use tv_grab_uk_rt from the XMLTV package for UK listings.
+The tv_grab_uk_rt script from the XMLTV package for UK listings is no longer working. 
 I found the following from the mailing lists worked:
+ {{{
+#!/bin/bash
+# Get yesterday's, today's and tomorrow's listings in XMLTV format
+#
+BASE_URL='http://bleb.org/tv/data/listings'
+DAYS=-1,0,1,2,3,4,5,6
+FORMAT=XMLTV
+FILE=BZIP2
+CHANNELS=bbc1,bbc2,itv1,ch4,five
+#,sky_one,uk_history,uk_horizons,e4,itv2,cartoon_network,uk_gold,bbc_radio4,bbc3,bbc4,bbc7
+wget -U 'Freevo Listing' \
+ -O '/tmp/listings.xml.bz2' \
+ $BASE_URL?days=$DAYSformat=$FORMATfile=$FILEchannels=$CHANNELS
+rm -f /tmp/listings.xml
+bunzip2 /tmp/listings.xml.bz2
+cat /tmp/listings.xml | perl -pi -e 's/(\d{14,})/$1 +/g' /tmp/TV.xml
+cd /usr/lib/python2.3/site-packages/freevo/
+su -c freevo execute tv/epg_xmltv.py freevo
+}}}
 
 === North American listings ===
 


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2004-05-05 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 82.68.234.108:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

--
@@ -91,23 +91,23 @@
 
 === UK listings ===
 
-The tv_grab_uk_rt script from the XMLTV package for UK listings is no longer working. 
 I found the following from the mailing lists worked:
+The tv_grab_uk_rt script from the XMLTV package for UK listings is no longer working. 
 I found the following from the [[http://www.mail-archive.com/[EMAIL 
PROTECTED]/msg05710.html][mailing lists]] worked:
  {{{
 #!/bin/bash
-# Get yesterday's, today's and tomorrow's listings in XMLTV format
+# Get yesterday's, and the following weeks' listings in XMLTV format
 #
 BASE_URL='http://bleb.org/tv/data/listings'
 DAYS=-1,0,1,2,3,4,5,6
 FORMAT=XMLTV
 FILE=BZIP2
-CHANNELS=bbc1,bbc2,itv1,ch4,five
-#,sky_one,uk_history,uk_horizons,e4,itv2,cartoon_network,uk_gold,bbc_radio4,bbc3,bbc4,bbc7
+TIME_OFFSET=+0060
+CHANNELS=bbc1,bbc2,itv1,ch4,five,sky_one,uk_history,uk_horizons,e4,itv2,cartoon_network,uk_gold,bbc_radio4,bbc3,bbc4,bbc7
 wget -U 'Freevo Listing' \
  -O '/tmp/listings.xml.bz2' \
  $BASE_URL?days=$DAYSformat=$FORMATfile=$FILEchannels=$CHANNELS
 rm -f /tmp/listings.xml
 bunzip2 /tmp/listings.xml.bz2
-cat /tmp/listings.xml | perl -pi -e 's/(\d{14,})/$1 +/g' /tmp/TV.xml
+cat /tmp/listings.xml | perl -pi -e 's/(\d{14,})/$1 ${TIME_OFFSET}/g' /tmp/TV.xml
 cd /usr/lib/python2.3/site-packages/freevo/
 su -c freevo execute tv/epg_xmltv.py freevo
 }}}


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2004-05-05 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 82.68.234.108:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

--
@@ -91,7 +91,7 @@
 
 === UK listings ===
 
-The tv_grab_uk_rt script from the XMLTV package for UK listings is no longer working. 
 I found the following from the [[http://www.mail-archive.com/[EMAIL 
PROTECTED]/msg05710.html][mailing lists]] worked:
+The tv_grab_uk_rt script from the XMLTV package for UK listings is no longer working. 
 I found the following from the [http://www.mail-archive.com/[EMAIL 
PROTECTED]/msg05710.html mailing lists] worked:
  {{{
 #!/bin/bash
 # Get yesterday's, and the following weeks' listings in XMLTV format


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2004-04-22 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 68.43.247.26:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

--
@@ -96,7 +96,7 @@
 === North American listings ===
 
 XMLTV 0.5.32 is out tv_grab_na_dd from version 0.5.31 was a preview release 0.5.32 
has different arguments.
-Zap2It.com has notified XMLTV developers that changes to their site in mid may 2004 
will break tv_grab_na.
+[Zap2It.com] has notified XMLTV developers that changes to their site in mid may 2004 
will break tv_grab_na.
 XMLTV will discontinue tv_grab_na in further releases in favor of tv_grab_na_dd.
 
 UPDATE Apr 2/04 from XMLTV website: The latest version is 0.5.31. This fixes some 
grabber problems with the changeover from winter to summer time in many countries, and 
'''adds a new grabber tv_grab_na_dd for US and Canadian listings''' using the Zap2it 
Data Direct service. (Sign up using certificate code TGYM-ZKOC-BUTV). It also has some 
other fixes in various grabbers and tv_check


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2004-04-22 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 68.43.247.26:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

--
@@ -95,8 +95,7 @@
 
 === North American listings ===
 
-XMLTV 0.5.32 is out tv_grab_na_dd from version 0.5.31 was a preview release 0.5.32 
has different arguments.
-Zap2It has notified XMLTV developers that changes to their site in mid may 2004 will 
break tv_grab_na.
+XMLTV 0.5.32 is out tv_grab_na_dd from version 0.5.31 was a preview release 0.5.32 
has different arguments. zap2it has notified XMLTV developers that changes to their 
site in mid may 2004 will break tv_grab_na.
 XMLTV will discontinue tv_grab_na in further releases in favor of tv_grab_na_dd.
 
 UPDATE Apr 2/04 from XMLTV website: The latest version is 0.5.31. This fixes some 
grabber problems with the changeover from winter to summer time in many countries, and 
'''adds a new grabber tv_grab_na_dd for US and Canadian listings''' using the Zap2it 
Data Direct service. (Sign up using certificate code TGYM-ZKOC-BUTV). It also has some 
other fixes in various grabbers and tv_check


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2004-04-03 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 210.55.64.15:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

--
@@ -137,17 +137,7 @@
 
 === New Zealand listings ===
 
-tv_grab_nz appears to have some problems in the version tested at xmltv-0.5.19. The 
script doesn't correctly add a timezone to the start and stop times from each 
programme and freevo as of version 1.4rc1 doesn't handle that cleanly meaning you get 
no listings at all, despite a valid XML file. 
-A simple but nasty hack is to edit src/tv/epg_xmltv.py comment out the lines listed 
and add in the the two at the bottom. 
-{{{
-#try:
-#tval, tz = str.split()
-#except ValueError:
-# The time value couldn't be decoded
-# raise EPG_TIME_EXC
- tz = '+1300'
- tval = str
-}}}
+tv_grab_nz appears to have some problems in the version tested as of xmltv-0.5.31. 
Things appear to work ok, but TVTime doesn't interpret the lack of +1200 in the start 
and stop of channels so you end up with out of synch time. 
 
 
 == Use in Freevo ==


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2004-03-26 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 80.132.78.146:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

--
@@ -114,8 +114,9 @@
 After configuring your local_conf.py (see above) you need to edit the TV Settings
 to specify the Tuner Id's.
 
-It seems that tv_grab_de doesn't work anymore, use tv_grab_de_tvtoday instead:
-http://home.t-online.de/home/stefan-siegl/tvtoday.html
+It seems that tv_grab_de doesn't work anymore, use tv_grab_de_tvtoday instead,
+coming with official XMLTV package since Version 0.5.30.
+(http://sourceforge.net/project/showfiles.php?group_id=39046)
 
 === Swedish listings ===
 


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2004-03-12 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 217.215.6.164:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

--
@@ -119,6 +119,8 @@
 
 === Swedish listings ===
 
+The swedish listings grabber is now called tv_grab_se since tv_grab_sn broke.
+
 Seems like freevo 1.3.4 dosent handle the channelnames correctly, they will be named
 to something like 14.dagenstv.com in xmltv. But when you try to schedule it with 
freevo
 it get's renamed to 14.dagenscom. You have to change a line in the tv_grab_sn in order


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2004-02-19 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 62.235.20.21:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

--
@@ -51,7 +51,7 @@
 ln -s `date +'$HOME/freevo/xmltv/listings_%d%m%Y.xml'` /tmp/TV.xml
 }}}
 
-=== Belgian listings ===
+=== Belgian(Dutch) listings ===
 
 The old xml_tv_be.py script has been removed from the Freevo CVS repository. A new 
grabber was developped to replace it. The new tv grabber is part of the PyTVGrab 
package and can be found at the following adress : http://pytvgrab.sourceforge.net 
 


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2004-02-14 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 24.7.41.202:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

--
@@ -33,8 +33,10 @@
 
 For automatic downloading, you can add a line like this to your crontab:
  {{{
-0 3 * * * /usr/bin/tv_grab_na --days=2  /tmp/TV.xml
+0 3 * * * /usr/bin/tv_grab_na --days=2  /tmp/TV.xml 2/tmp/TV.xml.error 
 }}}
+
+The 2/tmp/TV.xml.error bit saves the grabber's stderr output to a file.  The  
backgrounds the grabbing process.  Without the , XMLTV will run in the foreground 
and if the process takes more than a minute, cron will kill it, leaving you with a 
partial XML file that Freevo can't use.
 
 The Freevo module epg_xmltv.py can be run standalone to generate a translated 
version of the TV guide that makes the first startup a lot quicker.
 ''NOTE'' Add better instructions


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2004-02-04 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 217.5.30.178:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

--
@@ -98,8 +98,8 @@
 After configuring your local_conf.py (see above) you need to edit the TV Settings
 to specify the Tuner Id's.
 
-It seems that tv_grab_de doesn't work anymore, use tv_grab_tvtoday_de instead.
-http://prdownloads.sourceforge.net/sourceforge/tvprg/tv_grab_tvtoday_de
+It seems that tv_grab_de doesn't work anymore, use tv_grab_de_tvtoday instead:
+http://home.t-online.de/home/stefan-siegl/tvtoday.html
 
 === Swedish listings ===
 


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2003-12-27 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 210.54.22.91:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

--
@@ -124,7 +124,7 @@
 #except ValueError:
 # The time value couldn't be decoded
 # raise EPG_TIME_EXC
- tz = '+1200'
+ tz = '+1300'
  tval = str
 }}}
 


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2003-11-20 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by Per Homer:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

The comment on the change is:
adds: recommend XMLTV 5.23 or higher for NorAm

--
@@ -81,6 +81,8 @@
 
 === North American listings ===
 
+TIP: Upgrade to XMLTV 5.23 or higher as earlier versions will now give you an error 
similar to check your postal code/zip code
+
 Because the provider of North American listings has recently stopped providing stop 
time data, an extra step is required to guess the stop times if you are a user of the 
''tv_grab_na'' tool. The simplest way to fix it is to re-process the guide with 
''tv_sort'', which will fix the broken listings. (''tv_sort'' is included with xmltv, 
so you shouldn't need to install anything)
 
  {{{


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2003-11-20 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 62.235.20.55:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

--
@@ -51,25 +51,23 @@
 
 === Belgian listings ===
 
-Use the program freevo/helpers/xml_tv_be.py which was contributed by Bart Heremans 
and den_RDC. Open helpers/xml_tv_be.config in your favorite text editor, and select 
wich channels you want the script to fetch, by setting a 0 after channels that 
shouldn't be fetched and a 1 for channels you want. You can also set the number of 
days to be fetched in the configuration file.
+The old xml_tv_be.py script has been removed from the Freevo CVS repository. A new 
grabber was developped to replace it. The new tv grabber is part of the PyTVGrab 
package and can be found at the following adress : http://pytvgrab.sourceforge.net 
 
-Usage :
+Usage is the same as the Perl XMLTV scripts. More documentation can be found on the 
PyTVGrab Site
 
  * download the guide for the next two days :
  {{{
-# cd /path_to_freevo/helpers
-# python xml_tv_be.py  /tmp/TV.xml
+# tv_grab_be_tvb -n2 -o /tmp/TV.xml
 }}}
  * download the guide for the next n days, example 7 days :
  {{{
-# cd /path_to_freevo/helpers
-# python xml_tv_be.py --days=7  /tmp/TV.xml
+# tv_grab_be_tvb -n7 -o /tmp/TV.xml
 }}}
 
 
 === Dutch listings ===
 
-Use tv_grab_nl from the XMLTV package for NL listings or use 
freevo/helpers/xml_tv_be.py (See above)
+Use tv_grab_nl from the XMLTV package for NL listings or use PyTVGrab (See above)
 
 === Danish listings ===
 


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2003-11-08 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 213.224.83.72:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

The comment on the change is:
Move TV_CHANNELS to a more logical section...

--
@@ -49,48 +49,6 @@
 ln -s `date +'$HOME/freevo/xmltv/listings_%d%m%Y.xml'` /tmp/TV.xml
 }}}
 
-If you're too lazy to edit local_conf.py manually, and you have a /tmp/TV.xml file 
downloaded, here's a small shell script which will generate the TV channels for you. 
You can then change the order or make corrections to the naming.
-
- {{{
-# cat /tmp/TV.xml | grep id= | awk '{FS=\; a=a+1; print (\x27 $2 \x27,  \
-\x27 $2 \x27, \x27 a \x27),}'
-}}}
-or, alternatively, to create a sorted list:
- {{{
-# grep channel id= /tmp/TV.xml | sed -e 's#^.*channel id=\([^]\+\)#\1#g' \
-| sort -n | awk '{a=a+1; printf((\x27%s\x27, \x27%s\x27, \x27%s\x27),\n, $0, $0, 
a)}'
-}}} 
-
-If the above script is not parsing your TV listing properly, and you TV listing looks 
like:
- {{{
-  channel id=C20tsn.zap2it.com
-display-name20 TSN/display-name
-display-name20/display-name
-icon src=http://tvlistings2.zap2it.com/tms_network_logos/tsn.jpg; /
-  /channel
-}}}
-Then try this script:
- {{{
-#!/usr/bin/perl
-
-while (STDIN) {
-chomp;
-if (/^\s+channel\sid=\(.*)\$/) {
-$last_id = $1;
-} elsif (/^\s+display-name(\d+)\/display-name$/) {
-$last_chan = $1;
-} elsif (/^\s+display-name\d+\s(.*)\/display-name$/) {
-$last_name = $1;
-} elsif (/^\s+\/channel$/) {
-print ('$last_id', '$last_name', '$last_chan'),\n;
-}
-}
-}}}
-Save it as 'xmltv2freevo.pl' or whatever, and execute it:
- {{{
-./xmltv2freevo.pl /tmp/TV.xml
-}}}
-
 === Belgian listings ===
 
 Use the program freevo/helpers/xml_tv_be.py which was contributed by Bart Heremans 
and den_RDC. Open helpers/xml_tv_be.config in your favorite text editor, and select 
wich channels you want the script to fetch, by setting a 0 after channels that 
shouldn't be fetched and a 1 for channels you want. You can also set the number of 
days to be fetched in the configuration file.
@@ -175,6 +133,47 @@
 Update the TV_CHANNELS variable in local_conf.py. [[BR]]
 Please see that file for more detailed instructions!
 
+If you're too lazy to edit local_conf.py manually, and you have a /tmp/TV.xml file 
downloaded, here's a small shell script which will generate the TV channels for you. 
You can then change the order or make corrections to the naming.
+
+ {{{
+# cat /tmp/TV.xml | grep id= | awk '{FS=\; a=a+1; print (\x27 $2 \x27,  \
+\x27 $2 \x27, \x27 a \x27),}'
+}}}
+or, alternatively, to create a sorted list:
+ {{{
+# grep channel id= /tmp/TV.xml | sed -e 's#^.*channel id=\([^]\+\)#\1#g' \
+| sort -n | awk '{a=a+1; printf((\x27%s\x27, \x27%s\x27, \x27%s\x27),\n, $0, $0, 
a)}'
+}}} 
+
+If the above script is not parsing your TV listing properly, and you TV listing looks 
like:
+ {{{
+  channel id=C20tsn.zap2it.com
+display-name20 TSN/display-name
+display-name20/display-name
+icon src=http://tvlistings2.zap2it.com/tms_network_logos/tsn.jpg; /
+  /channel
+}}}
+Then try this script:
+ {{{
+#!/usr/bin/perl
+
+while (STDIN) {
+chomp;
+if (/^\s+channel\sid=\(.*)\$/) {
+$last_id = $1;
+} elsif (/^\s+display-name(\d+)\/display-name$/) {
+$last_chan = $1;
+} elsif (/^\s+display-name\d+\s(.*)\/display-name$/) {
+$last_name = $1;
+} elsif (/^\s+\/channel$/) {
+print ('$last_id', '$last_name', '$last_chan'),\n;
+}
+}
+}}}
+Save it as 'xmltv2freevo.pl' or whatever, and execute it:
+ {{{
+./xmltv2freevo.pl /tmp/TV.xml
+}}}
 
 == Thanks ==
 Much thanks to James Oakley of the openpvr project, who wrote the Python XMLTV 
parsing module which is used extensively for XMLTV support in Freevo.


---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2003-11-08 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 213.224.83.72:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

No differences found!


---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2003-10-26 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by shammah:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

--
@@ -162,7 +162,7 @@
 #except ValueError:
 # The time value couldn't be decoded
 # raise EPG_TIME_EXC
- tz = '+1'
+ tz = '+1200'
  tval = str
 }}}
 


---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog


[Freevo-wikilog] [Freevo Wiki] Update of DocumentationPage/XmlTv

2003-10-26 Thread freevo-wikilog
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Freevo Wiki for change 
notification.

The following page has been changed by 212.242.207.99:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv

The comment on the change is:
Added reference to tv_grab_dk for danish program listings.

--
@@ -113,6 +113,10 @@
 
 Use tv_grab_nl from the XMLTV package for NL listings or use 
freevo/helpers/xml_tv_be.py (See above)
 
+=== Danish listings ===
+
+Use tv_grab_dk from the XMLTV package for danish listings.
+
 === UK listings ===
 
 Use tv_grab_uk from the XMLTV package for UK listings.


---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog