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
xmlTV
Australian EPG
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="scoulter" data-source="post: 270627" data-attributes="member: 50009"><p>G'Day mickrock,</p><p></p><p>The comment about the "step-by-step guide" was a hangover from the initial few versions. When I found that MP1.0 was coming I stopped including it and put more info into the script itself, then into the .csv file. I should have removed the comment. Now that MP1.0 is here and I've been using it for a while I can write the guide - I just need the time. The original guide was written to be as "Idiot-proof" as possible and was quite detailed so took a long time - I prefer guides this way, too many guides are written by authors who assume way too much knowedge on behalf of users. I hope to get around to it soon. </p><p></p><p>The number of days it grabs is based purely on how many days the OzTivo community has entered at the time you grab it.</p><p></p><p>I normally just use windows scheduler to automatically run XMLTV grabber scripts every couple of days since programming may change.</p><p></p><p>I wasn't aware that "CloseWindowOnCompletion" didn't work, yours is the first complaint so I'll look into it. It's not a show-stopper so people probably haven't worried about it.</p><p></p><p></p><p></p><p>I have written a Python XMLTV scraper for the <a href="http://ourguide.com.au" target="_blank">OurGuide - Australia's Television Guide</a> website that I use instead of the GetOzTvGuide script which allows me to dictate how many days are retrieved.</p><p></p><p>Here is the "help" output from the script:</p><p></p><p>This script generates XMLTV guide files for Australian TV regions defined in</p><p><a href="http://ourguide.com.au" target="_blank">OurGuide - Australia's Television Guide</a>. </p><p></p><p>Usage: GenOzTvGuides.py <OPTIONS></p><p></p><p>where: <OPTIONS> are "-a" for ALL regions</p><p> "-d <NUMBER_OF_DAYS_TO_DOWNLOAD>" (range:1..7, Default:7)</p><p> "-i" to include programme metadata in its description</p><p> "-r <XMLTV_REGION>" for a specific region</p><p> "-z" generate ZIP archive and delete XMLTV files</p><p> Default: Keep XMLTV files</p><p> Multiple regions need to be specified individually.</p><p></p><p> Valid XMLTV regions are:</p><p> NSW_Albury NSW_Balranald NSW_CoffsHarbour NSW_Deniliquin NSW_Griffith</p><p> NSW_Newcastle NSW_Sydney NSW_Tamworth NSW_Taree NSW_WaggaWagga</p><p> NSW_Wentworth NSW_Wollongong NT_AliceSprings NT_Darwin QLD_Brisbane</p><p> QLD_Cairns QLD_GoldCoast QLD_Mackay QLD_Maryborough QLD_MtIsa</p><p> QLD_Rockhampton QLD_Toowoomba QLD_Townsville SA_Adelaide SA_CooberPedy</p><p> SA_MountGambier SA_PortAugusta SA_PortLincoln TAS_Hobart TAS_Launceston</p><p> VIC_Ballarat VIC_Bendigo VIC_Gippsland VIC_Melbourne VIC_Mildura</p><p> VIC_Shepparton VIC_WimmeraMallee WA_Albany WA_Broome WA_Kalgoorlie WA_Perth</p><p> WA_PortHeadland</p><p></p><p></p><p>The batch file I use to generate my required XMLTV guide is:</p><p></p><p> c:\python25\python genoztvguides.py -i -r qld_brisbane > genoztvguides.log</p><p></p><p>This batch file gets 7 days of programming (the max provided by <a href="http://ourguide.com.au" target="_blank">OurGuide - Australia's Television Guide</a>) for the Brisbane region and writes the tvguide.xml file to the MediaPortal XMLTV directory. The "-i" metadata data causes information such as casting to be included in the programme description text as well as XMLTV metadata. I like this because MediaPortal does not display casting metadata so at least I can see it in the description text.</p><p></p><p>I use this instead since I like the information from <a href="http://ourguide.com.au" target="_blank">OurGuide - Australia's Television Guide</a>. I have never published it due to copyright issues that may arise (even IceTV is still in trouble with Channel 9 because they scrape its data to generate their guides). The script was originally written when JRobbo XMLTV data was terminated. I hoped that someone with enough bandwidth would run the script nightly and generate zip files for each region which could be downloaded by users (ie. only one person would be accessing the <a href="http://ourguide.com.au" target="_blank">OurGuide - Australia's Television Guide</a> website instead of hundreds of people). Once again, due to copyright issues, no-one was game enough to do this. </p><p></p><p>Let me know if you would like a copy of the script - it's very easy to use but does require you to install Python on your machine. There shouldn't be any issues with your doing this since it's for personal use and I'm not charging for it.</p></blockquote><p></p>
[QUOTE="scoulter, post: 270627, member: 50009"] G'Day mickrock, The comment about the "step-by-step guide" was a hangover from the initial few versions. When I found that MP1.0 was coming I stopped including it and put more info into the script itself, then into the .csv file. I should have removed the comment. Now that MP1.0 is here and I've been using it for a while I can write the guide - I just need the time. The original guide was written to be as "Idiot-proof" as possible and was quite detailed so took a long time - I prefer guides this way, too many guides are written by authors who assume way too much knowedge on behalf of users. I hope to get around to it soon. The number of days it grabs is based purely on how many days the OzTivo community has entered at the time you grab it. I normally just use windows scheduler to automatically run XMLTV grabber scripts every couple of days since programming may change. I wasn't aware that "CloseWindowOnCompletion" didn't work, yours is the first complaint so I'll look into it. It's not a show-stopper so people probably haven't worried about it. I have written a Python XMLTV scraper for the [url=http://ourguide.com.au]OurGuide - Australia's Television Guide[/url] website that I use instead of the GetOzTvGuide script which allows me to dictate how many days are retrieved. Here is the "help" output from the script: This script generates XMLTV guide files for Australian TV regions defined in [url=http://ourguide.com.au]OurGuide - Australia's Television Guide[/url]. Usage: GenOzTvGuides.py <OPTIONS> where: <OPTIONS> are "-a" for ALL regions "-d <NUMBER_OF_DAYS_TO_DOWNLOAD>" (range:1..7, Default:7) "-i" to include programme metadata in its description "-r <XMLTV_REGION>" for a specific region "-z" generate ZIP archive and delete XMLTV files Default: Keep XMLTV files Multiple regions need to be specified individually. Valid XMLTV regions are: NSW_Albury NSW_Balranald NSW_CoffsHarbour NSW_Deniliquin NSW_Griffith NSW_Newcastle NSW_Sydney NSW_Tamworth NSW_Taree NSW_WaggaWagga NSW_Wentworth NSW_Wollongong NT_AliceSprings NT_Darwin QLD_Brisbane QLD_Cairns QLD_GoldCoast QLD_Mackay QLD_Maryborough QLD_MtIsa QLD_Rockhampton QLD_Toowoomba QLD_Townsville SA_Adelaide SA_CooberPedy SA_MountGambier SA_PortAugusta SA_PortLincoln TAS_Hobart TAS_Launceston VIC_Ballarat VIC_Bendigo VIC_Gippsland VIC_Melbourne VIC_Mildura VIC_Shepparton VIC_WimmeraMallee WA_Albany WA_Broome WA_Kalgoorlie WA_Perth WA_PortHeadland The batch file I use to generate my required XMLTV guide is: c:\python25\python genoztvguides.py -i -r qld_brisbane > genoztvguides.log This batch file gets 7 days of programming (the max provided by [url=http://ourguide.com.au]OurGuide - Australia's Television Guide[/url]) for the Brisbane region and writes the tvguide.xml file to the MediaPortal XMLTV directory. The "-i" metadata data causes information such as casting to be included in the programme description text as well as XMLTV metadata. I like this because MediaPortal does not display casting metadata so at least I can see it in the description text. I use this instead since I like the information from [url=http://ourguide.com.au]OurGuide - Australia's Television Guide[/url]. I have never published it due to copyright issues that may arise (even IceTV is still in trouble with Channel 9 because they scrape its data to generate their guides). The script was originally written when JRobbo XMLTV data was terminated. I hoped that someone with enough bandwidth would run the script nightly and generate zip files for each region which could be downloaded by users (ie. only one person would be accessing the [url=http://ourguide.com.au]OurGuide - Australia's Television Guide[/url] website instead of hundreds of people). Once again, due to copyright issues, no-one was game enough to do this. Let me know if you would like a copy of the script - it's very easy to use but does require you to install Python on your machine. There shouldn't be any issues with your doing this since it's for personal use and I'm not charging for it. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
xmlTV
Australian EPG
Contact us
RSS
Top
Bottom