home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
TV Guide for Aussies
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="BKCH" data-source="post: 25590" data-attributes="member: 13992"><p>Hi all - not sure how many people are interested in tvguide.org.au especially with voxmortis' great work getting around the ninemsn issue - but just in case there are some changes to the method for using the tvguide.org.au grabber - the author the grabber very kindly put in a test for tzset and changed a couple of this so the following is the new recipe:</p><p></p><p>1. Download the grabber from: <a href="http://www.cse.unsw.edu.au/~willu/xmltv/tv_grab_au_tuhs" target="_blank">http://www.cse.unsw.edu.au/~willu/xmltv/tv_grab_au_tuhs</a>. </p><p></p><p>2. Download and install a python interpreter - I used the free ActiveState distribution found at: <a href="http://www.activestate.com/Products/ActivePythonFamily/?tn=1" target="_blank">http://www.activestate.com/Products/ActivePythonFamily/?tn=1</a>. </p><p></p><p>3. Run tv_grab_au_tuhs.py --configure - I recommend using -c to override the config file location so the command would be:</p><p></p><p>tv_grab_au_tuhs.py --configure -c <config file path\name></p><p></p><p>4. Edit the file that was created in the above step - In the obvious spot put your username and password for tvguide.org.au. </p><p></p><p>You'll also need to add a line for each channel you want to grab - it should be pretty obvious but the *new* format is: </p><p><channel display="<MP channel name>" tuhs="<TVGuide.org.au channel name" /></p><p></p><p>An interesting note here is that for the +2 channels you'll need to substitute "%2B" for the "+" in the <tvguide.org.au> - but then after the grab we need to search and replace those %2B's back to +'s.</p><p></p><p>I have a config file for Sydney FTA + full Foxtel so PM me if you want a copy!</p><p></p><p>5. Run: tv_grab_au_tuhs.py -c <config file path\name> -o rawguide.xml</p><p></p><p>6. Download something like SED - I used <a href="http://www.cornerstonemag.com/sed/" target="_blank">http://www.cornerstonemag.com/sed/</a> - just download and unzip into the directory that has you grabber in it.</p><p></p><p>7. After you've grabbed the data into rawguide.xml in step 5 run the following to subsitute the +'s back in:</p><p></p><p>sed-3.59.exe s/"%2B"/+/ rawguide.xml > tvguide.xml</p><p></p><p>8. Point MP at your new tvguide.xml, change your timezone offset (mine was 11 hours) </p><p></p><p>9. Enjoy </p><p></p><p>I found that every so often the grab times out (not very often but occasionally) so I use the following windows batch file to check for that and bring it all together and upload to my 2 media portals:</p><p></p><p>echo off</p><p>set E0=0</p><p></p><p>:grab</p><p></p><p>if %E0%==4 goto end</p><p>if %E0%==3 set E0=4</p><p>if %E0%==2 set E0=3</p><p>if %E0%==1 set E0=2</p><p>if %E0%==0 set E0=1</p><p></p><p>tv_grab_au_tuhs.py -c config.baby -o rawguide.xml</p><p></p><p>if %errorlevel% EQU 1 goto grab</p><p></p><p>sed-3.59.exe s/"%2B"/+/ rawguide.xml > tvguide.xml</p><p></p><p>:copy</p><p>copy tvguide.xml z:\</p><p>copy tvguide.xml y:\</p><p></p><p>:end</p><p>if %E0% EQU 4 echo The grab failed.</p></blockquote><p></p>
[QUOTE="BKCH, post: 25590, member: 13992"] Hi all - not sure how many people are interested in tvguide.org.au especially with voxmortis' great work getting around the ninemsn issue - but just in case there are some changes to the method for using the tvguide.org.au grabber - the author the grabber very kindly put in a test for tzset and changed a couple of this so the following is the new recipe: 1. Download the grabber from: [url]http://www.cse.unsw.edu.au/~willu/xmltv/tv_grab_au_tuhs[/url]. 2. Download and install a python interpreter - I used the free ActiveState distribution found at: [url]http://www.activestate.com/Products/ActivePythonFamily/?tn=1[/url]. 3. Run tv_grab_au_tuhs.py --configure - I recommend using -c to override the config file location so the command would be: tv_grab_au_tuhs.py --configure -c <config file path\name> 4. Edit the file that was created in the above step - In the obvious spot put your username and password for tvguide.org.au. You'll also need to add a line for each channel you want to grab - it should be pretty obvious but the *new* format is: <channel display="<MP channel name>" tuhs="<TVGuide.org.au channel name" /> An interesting note here is that for the +2 channels you'll need to substitute "%2B" for the "+" in the <tvguide.org.au> - but then after the grab we need to search and replace those %2B's back to +'s. I have a config file for Sydney FTA + full Foxtel so PM me if you want a copy! 5. Run: tv_grab_au_tuhs.py -c <config file path\name> -o rawguide.xml 6. Download something like SED - I used [url]http://www.cornerstonemag.com/sed/[/url] - just download and unzip into the directory that has you grabber in it. 7. After you've grabbed the data into rawguide.xml in step 5 run the following to subsitute the +'s back in: sed-3.59.exe s/"%2B"/+/ rawguide.xml > tvguide.xml 8. Point MP at your new tvguide.xml, change your timezone offset (mine was 11 hours) 9. Enjoy I found that every so often the grab times out (not very often but occasionally) so I use the following windows batch file to check for that and bring it all together and upload to my 2 media portals: echo off set E0=0 :grab if %E0%==4 goto end if %E0%==3 set E0=4 if %E0%==2 set E0=3 if %E0%==1 set E0=2 if %E0%==0 set E0=1 tv_grab_au_tuhs.py -c config.baby -o rawguide.xml if %errorlevel% EQU 1 goto grab sed-3.59.exe s/"%2B"/+/ rawguide.xml > tvguide.xml :copy copy tvguide.xml z:\ copy tvguide.xml y:\ :end if %E0% EQU 4 echo The grab failed. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
TV Guide for Aussies
Contact us
RSS
Top
Bottom