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
US EPG using zap2xml with 2 sources
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="kmitch" data-source="post: 1238417" data-attributes="member: 162458"><p>I wanted to share my setup and configuration for grabbing guide data using zap2xml (<a href="http://zap2xml.awardspace.info" target="_blank">zap2xml</a>). My setup includes over the air in the US, and a DirecTV STB. Since I needed two sets of guide data, I created 2 separate accounts on zap2it (<a href="https://tvlistings.zap2it.com" target="_blank">TV Listings- Find Local TV Listings and Watch Full Episodes - Zap2it.com</a>).</p><p></p><p>I've created the following directories (with included files):</p><p>C:\TVGuide</p><p>TVGuideCombine.exe</p><p>Create.bat</p><p>[code] Contents:</p><p> cd\TVGuide\Antenna</p><p> C:\TVGuide\zap2xml -C C:\TVGuide\Antenna\Antenna.txt</p><p> cd\TVGuide\Satellite</p><p> C:\TVGuide\zap2xml -C C:\TVGuide\Satellite\Satellite.txt</p><p> cd\TVGuide</p><p> C:\TVGuide\TVGuideCombine.exe c:\TVGuide\tvguide.xml c:\TVGuide\Antenna\tvguide.xml c:\TVGuide\Satellite\tvguide.xml</p><p> cd\TVGuide</p><p> copy "C:\TVGuide\tvguide.xml" "C:\ProgramData\Team MediaPortal\MediaPortal TV Server\xmltv\tvguide.xml"[/code]</p><p>zap2xml.exe</p><p>zap2xml.htm</p><p>zap2xml.pl</p><p>zap2xmlrc.txt</p><p></p><p>C:\TVGuide\Antenna</p><p>Antenna.txt</p><p>[code] Contents:</p><p> days=13</p><p> user=[email1@server.com]</p><p> pass=[password1]</p><p> outfile=C:\TVGuide\Antenna\tvguide.xml</p><p> cache=C:\TVGuide\Antenna\cache[/code] </p><p></p><p>C:\TVGuide\Satellite</p><p>Satellite.txt</p><p>[code] Contents:</p><p> days=13</p><p> user=[email2@server.com]</p><p> pass=[password2]</p><p> outfile=C:\TVGuide\Satellite\tvguide.xml</p><p> cache=C:\TVGuide\Satellite\cache[/code] </p><p></p><p></p><p>When you run Create.bat, here's what will happen:</p><ul> <li data-xf-list-type="ul">zap2xml will run and grab my OTA channels and programs</li> <li data-xf-list-type="ul">the cache directory will be created under the Antenna directory</li> <li data-xf-list-type="ul">a tvguide.xml file will be created in the Antenna directory</li> <li data-xf-list-type="ul">zap2xml will run and grab my DirecTV channels and programs</li> <li data-xf-list-type="ul">the cache directory will be created under the Satellite directory</li> <li data-xf-list-type="ul">a tvguide.xml file will be created in the Satellite directory</li> <li data-xf-list-type="ul">the guides are combined into 1 tvguide.xml in the main directory</li> <li data-xf-list-type="ul">the new guide file is copied to the XmlTv plugin folder for processing into MediaPortal</li> </ul><p></p><p>TVGuideCombine is a simple C# program I wrote to pull the channel and programme data from 2 files and combine them. I also noticed that MediaPortal wasn't picking up the Season/Episode information from the tvguide.xml, based on the way it was presented in the file. MediaPortal expects the episode-num node with a system="xmltv_ns" as the first episode_num node, in the files using zap2xml, it was the last such node. The program also moves this node up in the programme node so it is the first episode-num node. I've attached a zip file with the binary and the source for this program.</p></blockquote><p></p>
[QUOTE="kmitch, post: 1238417, member: 162458"] I wanted to share my setup and configuration for grabbing guide data using zap2xml ([URL="http://zap2xml.awardspace.info"]zap2xml[/URL]). My setup includes over the air in the US, and a DirecTV STB. Since I needed two sets of guide data, I created 2 separate accounts on zap2it ([URL="https://tvlistings.zap2it.com"]TV Listings- Find Local TV Listings and Watch Full Episodes - Zap2it.com[/URL]). I've created the following directories (with included files): C:\TVGuide TVGuideCombine.exe Create.bat [code] Contents: cd\TVGuide\Antenna C:\TVGuide\zap2xml -C C:\TVGuide\Antenna\Antenna.txt cd\TVGuide\Satellite C:\TVGuide\zap2xml -C C:\TVGuide\Satellite\Satellite.txt cd\TVGuide C:\TVGuide\TVGuideCombine.exe c:\TVGuide\tvguide.xml c:\TVGuide\Antenna\tvguide.xml c:\TVGuide\Satellite\tvguide.xml cd\TVGuide copy "C:\TVGuide\tvguide.xml" "C:\ProgramData\Team MediaPortal\MediaPortal TV Server\xmltv\tvguide.xml"[/code] zap2xml.exe zap2xml.htm zap2xml.pl zap2xmlrc.txt C:\TVGuide\Antenna Antenna.txt [code] Contents: days=13 user=[email1@server.com] pass=[password1] outfile=C:\TVGuide\Antenna\tvguide.xml cache=C:\TVGuide\Antenna\cache[/code] C:\TVGuide\Satellite Satellite.txt [code] Contents: days=13 user=[email2@server.com] pass=[password2] outfile=C:\TVGuide\Satellite\tvguide.xml cache=C:\TVGuide\Satellite\cache[/code] When you run Create.bat, here's what will happen: [LIST] [*]zap2xml will run and grab my OTA channels and programs [*]the cache directory will be created under the Antenna directory [*]a tvguide.xml file will be created in the Antenna directory [*]zap2xml will run and grab my DirecTV channels and programs [*]the cache directory will be created under the Satellite directory [*]a tvguide.xml file will be created in the Satellite directory [*]the guides are combined into 1 tvguide.xml in the main directory [*]the new guide file is copied to the XmlTv plugin folder for processing into MediaPortal [/LIST] TVGuideCombine is a simple C# program I wrote to pull the channel and programme data from 2 files and combine them. I also noticed that MediaPortal wasn't picking up the Season/Episode information from the tvguide.xml, based on the way it was presented in the file. MediaPortal expects the episode-num node with a system="xmltv_ns" as the first episode_num node, in the files using zap2xml, it was the last such node. The program also moves this node up in the programme node so it is the first episode-num node. I've attached a zip file with the binary and the source for this program. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
xmlTV
US EPG using zap2xml with 2 sources
Contact us
RSS
Top
Bottom