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 2
Plugin Development
xmltv install / configure for ATSC / OTA U.S.A
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="breese" data-source="post: 1166099" data-attributes="member: 114299"><p><span style="color: #ff0080"><em>EDIT: I am working on a new setup of this and will post here when completed. The new setup will allow the addition of Series info by means of TVGuide.com. As an added bonus, the channel mappings produce a greater number of Auto-Mappings.</em></span></p><p><em><span style="color: #8000ff"><u>Thanks goes out to zap2xml for the recent updates allowing all this to be possible!</u></span></em></p><p></p><p>This is an effort to ease the install and configuration of the xmltv plugin included with MP1 and MP2.</p><p>While Schedules Direct and others require the use of a paid service, the following uses a free service, as such I have documented and moved over to it.</p><p></p><p>Any and all comments or recomendations are welcome. Once this has been tested by others, I will ask it becomes a Sticky.</p><p></p><p><strong>Info Source:</strong></p><p>Create an account on <a href="http://tvschedule.zap2it.com/" target="_blank"><u><span style="color: rgb(0, 102, 204)">tvschedule.zap2it.com</span></u></a> </p><p>Edit your account for the area code and service (Cable Company, OTA, Etc. )</p><p>Close your browser.</p><p></p><p><a href="http://zap2xml.awardspace.info" target="_blank"><u>Download zap2xml</u> </a>( <a href="http://zap2xml.awardspace.info" target="_blank">http://zap2xml.awardspace.info</a>/ ) <span style="color: #ff0000">EDIT: Author requested download from his site only... My Bad...</span></p><p><strong>NOTE</strong>: <span style="color: rgb(0, 128, 255)">Think of the best place to install zap2xml. </span></p><p><span style="color: rgb(0, 128, 255)">I choose to install it on the root of my <strong>F:\TVGuide</strong> drive and directory in order to make it easier to locate and configure the scheduling.</span></p><p><span style="color: rgb(0, 128, 255)">This allows the application to continue to get updates even while I am doing Clean Installs for testing and, at any given time this folder can take up 12Plus megs of space depending on the number of channels.</span></p><p></p><p><u>Once zap2xml is installed</u>:</p><p>Download from this thread the xmltv.zip file, unpack it, and copy the xmltv.dtd file to:</p><p>C:\ProgramData\Team MediaPortal\MP2-Server\SlimTVCore\v3.0\xmltv\</p><p></p><p>Open the folder where you installed the zap2xml.exe and create a file called zap2xmlrc.txt</p><p>Add the following lines within this new text file</p><p><strong>NOTE:</strong><span style="color: rgb(0, 128, 255)"> Do not include the Quote Marks after the Equal Sign</span></p><p></p><p>days="put the # of days you want downloaded every day"</p><p>user="UserName used on zap2it.com"</p><p>pass="Password used on zap2it.com"</p><p>outfile="F:\TVGuide\tvguide.xml" ---- <span style="color: rgb(0, 128, 255)">As I said above - This is My Location and File Name Used</span></p><p>Save and Close the file.</p><p></p><p>From the same location, run the zap2xml.exe with the following command line</p><p>zap2xml -u <a href="mailto:tvguideuser@email.xx">tvguideuser@email.xx</a> -p password -o myfile.xml</p><p><a href="mailto:tvguideuser@email.xx">tvguideuser@email.xx</a> == Your zap2it username</p><p>password ==Your zap2it password</p><p>myfile.xml == tvguide.xml</p><p></p><p>Once started you should see a new tvguide.xml file in this folder.</p><p><strong>NOTE:</strong><span style="color: rgb(0, 128, 255)"> This can take a few minutes to complete... F5 within the folder and monitor the size of the file.</span></p><p>Once completed, you can open the tvguide.xml</p><p>There should be channel and guide within it.</p><p></p><p><strong>Example:</strong></p><p><tv source-info-url="<a href="http://tvschedule.zap2it.com/" target="_blank">http://tvschedule.zap2it.com/</a>" source-info-name="zap2it.com" generator-info-name="zap2xml" generator-info-url="<a href="mailto:zap2xml@gmail.com">zap2xml@gmail.com</a>"></p><p><channel id="I91649.labs.zap2it.com"></p><p><display-name>2.2 WBBMDT2</display-name></p><p><display-name>2.2</display-name></p><p><display-name>WBBMDT2</display-name></p><p></channel></p><p></p><p></p><p><strong><span style="color: rgb(255, 0, 0)">MediaPortal TV Configuration</span></strong></p><p></p><p>Open the MediaPortal 2 TV Configuration</p><p>[ATTACH=full]173258[/ATTACH]</p><p></p><p>Configure your TV Tuner</p><p>[ATTACH=full]173259[/ATTACH]</p><p></p><p>Complete a channel scan</p><p><span style="color: rgb(0, 128, 255)">[ATTACH=full]173262[/ATTACH] </span></p><p><span style="color: rgb(0, 128, 255)"></span></p><p><strong>NOTE:</strong> <span style="color: rgb(0, 128, 255)">You can view the channels found while the scan is running and you can go back to the scan to monitor its completion.</span></p><p><span style="color: rgb(0, 128, 255)">[ATTACH=full]173261[/ATTACH] </span></p><p></p><p>Click on Plugin's</p><p>Put a check mark next to xmltv</p><p>Click on xmltv under Plugin's</p><p>Under the General Tab, change the location of the TVGuide.xml to where your file is</p><p><strong>NOTE:</strong><span style="color: rgb(0, 128, 255)"> You Must Uncheck the box Import files in the new tvguide.lst</span></p><p>[ATTACH=full]173263[/ATTACH]</p><p></p><p>Click on Import</p><p><strong>NOTE:</strong> <span style="color: rgb(0, 128, 255)">If all goes as planned, this may take some time to complete and will populate</span></p><p>Last import run at:</p><p>Total channels imported:</p><p>Total programs imported:<span style="color: rgb(0, 128, 255)"> This will get populated after we map the channels</span>.</p><p></p><p>Click on Mappings<span style="color: rgb(0, 128, 255)"> (If it does not change to Mappings, the Importer is Still running, Once the importer is done the Mappings tab will open)</span></p><p>Place a Check Mark on Partial match</p><p>Pull down the Group and choose All Channels</p><p>Click on Load/Refresh</p><p>[ATTACH=full]173264[/ATTACH]</p><p></p><p>Once Loaded, Click Save</p><p><strong>NOTE:</strong> <span style="color: rgb(0, 128, 255)">The MediaPortal TV Configure window can be dragged to make larger making it easier to configure.</span></p><p></p><p>The channel mappings might not locate some or all your channels.</p><p>To resolve this, locate the MP2 Server Log file and open it <span style="color: rgb(0, 128, 255)">(Leave the TV Configure Open)</span></p><p></p><p>The channels will be in the same order within both the Server Log and TV Configure.</p><p>Do a find for your first channel (mine is CBS2-HD)</p><p>Use the maj:# and the min:# to now locate (thru the pull down) the correct channel mappings.</p><p>[ATTACH=full]173265[/ATTACH]</p><p></p><p><span style="color: rgb(0, 128, 255)">Example From Server Log:</span></p><p>[2015-12-13 14:00:20,632] [9340335] [80 ] [DEBUG] - atsc:Found: ATSC:tv:Terrestrial CBS2-HD Freq:-1 ONID:1 TSID:999 SID:1 PMT:0x0 FTA:True LCN:2001 phys:12 maj:2 min:1 mod:Mod8Vsb</p><p></p><p></p><p>Repeate the steps for all the other channels</p><p>Click on the General Tab and then Click the Import Button again.</p><p><strong>NOTE:</strong><span style="color: rgb(0, 128, 255)"> Because we have now completed the mappings of all channels, this will take some time and should fill in all the imported info</span></p><p>[ATTACH=full]173266[/ATTACH]</p><p></p><p><span style="color: rgb(255, 0, 0)">Task Scheduler:</span></p><p>To automate the download and install of the TVGuide, create a Task Schedule</p><p>Here are the setting I currently Use</p><p>[ATTACH]173267[/ATTACH] [ATTACH]173268[/ATTACH] [ATTACH]173269[/ATTACH] [ATTACH]173270[/ATTACH]</p></blockquote><p></p>
[QUOTE="breese, post: 1166099, member: 114299"] [COLOR=#ff0080][I]EDIT: I am working on a new setup of this and will post here when completed. The new setup will allow the addition of Series info by means of TVGuide.com. As an added bonus, the channel mappings produce a greater number of Auto-Mappings.[/I][/COLOR] [I][COLOR=#8000ff][U]Thanks goes out to zap2xml for the recent updates allowing all this to be possible![/U][/COLOR][/I] This is an effort to ease the install and configuration of the xmltv plugin included with MP1 and MP2. While Schedules Direct and others require the use of a paid service, the following uses a free service, as such I have documented and moved over to it. Any and all comments or recomendations are welcome. Once this has been tested by others, I will ask it becomes a Sticky. [B]Info Source:[/B] Create an account on [URL='http://tvschedule.zap2it.com/'][U][COLOR=rgb(0, 102, 204)]tvschedule.zap2it.com[/COLOR][/U][/URL] Edit your account for the area code and service (Cable Company, OTA, Etc. ) Close your browser. [URL='http://zap2xml.awardspace.info'][U]Download zap2xml[/U] [/URL]( [URL]http://zap2xml.awardspace.info[/URL]/ ) [COLOR=#ff0000]EDIT: Author requested download from his site only... My Bad...[/COLOR] [B]NOTE[/B]: [COLOR=rgb(0, 128, 255)]Think of the best place to install zap2xml. I choose to install it on the root of my [B]F:\TVGuide[/B] drive and directory in order to make it easier to locate and configure the scheduling. This allows the application to continue to get updates even while I am doing Clean Installs for testing and, at any given time this folder can take up 12Plus megs of space depending on the number of channels.[/COLOR] [U]Once zap2xml is installed[/U]: Download from this thread the xmltv.zip file, unpack it, and copy the xmltv.dtd file to: C:\ProgramData\Team MediaPortal\MP2-Server\SlimTVCore\v3.0\xmltv\ Open the folder where you installed the zap2xml.exe and create a file called zap2xmlrc.txt Add the following lines within this new text file [B]NOTE:[/B][COLOR=rgb(0, 128, 255)] Do not include the Quote Marks after the Equal Sign[/COLOR] days="put the # of days you want downloaded every day" user="UserName used on zap2it.com" pass="Password used on zap2it.com" outfile="F:\TVGuide\tvguide.xml" ---- [COLOR=rgb(0, 128, 255)]As I said above - This is My Location and File Name Used[/COLOR] Save and Close the file. From the same location, run the zap2xml.exe with the following command line zap2xml -u [EMAIL]tvguideuser@email.xx[/EMAIL] -p password -o myfile.xml [EMAIL]tvguideuser@email.xx[/EMAIL] == Your zap2it username password ==Your zap2it password myfile.xml == tvguide.xml Once started you should see a new tvguide.xml file in this folder. [B]NOTE:[/B][COLOR=rgb(0, 128, 255)] This can take a few minutes to complete... F5 within the folder and monitor the size of the file.[/COLOR] Once completed, you can open the tvguide.xml There should be channel and guide within it. [B]Example:[/B] <tv source-info-url="[URL]http://tvschedule.zap2it.com/[/URL]" source-info-name="zap2it.com" generator-info-name="zap2xml" generator-info-url="[EMAIL]zap2xml@gmail.com[/EMAIL]"> <channel id="I91649.labs.zap2it.com"> <display-name>2.2 WBBMDT2</display-name> <display-name>2.2</display-name> <display-name>WBBMDT2</display-name> </channel> [B][COLOR=rgb(255, 0, 0)]MediaPortal TV Configuration[/COLOR][/B] Open the MediaPortal 2 TV Configuration [ATTACH=full]173258[/ATTACH] Configure your TV Tuner [ATTACH=full]173259[/ATTACH] Complete a channel scan [COLOR=rgb(0, 128, 255)][ATTACH=full]173262[/ATTACH] [/COLOR] [B]NOTE:[/B] [COLOR=rgb(0, 128, 255)]You can view the channels found while the scan is running and you can go back to the scan to monitor its completion. [ATTACH=full]173261[/ATTACH] [/COLOR] Click on Plugin's Put a check mark next to xmltv Click on xmltv under Plugin's Under the General Tab, change the location of the TVGuide.xml to where your file is [B]NOTE:[/B][COLOR=rgb(0, 128, 255)] You Must Uncheck the box Import files in the new tvguide.lst[/COLOR] [ATTACH=full]173263[/ATTACH] Click on Import [B]NOTE:[/B] [COLOR=rgb(0, 128, 255)]If all goes as planned, this may take some time to complete and will populate[/COLOR] Last import run at: Total channels imported: Total programs imported:[COLOR=rgb(0, 128, 255)] This will get populated after we map the channels[/COLOR]. Click on Mappings[COLOR=rgb(0, 128, 255)] (If it does not change to Mappings, the Importer is Still running, Once the importer is done the Mappings tab will open)[/COLOR] Place a Check Mark on Partial match Pull down the Group and choose All Channels Click on Load/Refresh [ATTACH=full]173264[/ATTACH] Once Loaded, Click Save [B]NOTE:[/B] [COLOR=rgb(0, 128, 255)]The MediaPortal TV Configure window can be dragged to make larger making it easier to configure.[/COLOR] The channel mappings might not locate some or all your channels. To resolve this, locate the MP2 Server Log file and open it [COLOR=rgb(0, 128, 255)](Leave the TV Configure Open)[/COLOR] The channels will be in the same order within both the Server Log and TV Configure. Do a find for your first channel (mine is CBS2-HD) Use the maj:# and the min:# to now locate (thru the pull down) the correct channel mappings. [ATTACH=full]173265[/ATTACH] [COLOR=rgb(0, 128, 255)]Example From Server Log:[/COLOR] [2015-12-13 14:00:20,632] [9340335] [80 ] [DEBUG] - atsc:Found: ATSC:tv:Terrestrial CBS2-HD Freq:-1 ONID:1 TSID:999 SID:1 PMT:0x0 FTA:True LCN:2001 phys:12 maj:2 min:1 mod:Mod8Vsb Repeate the steps for all the other channels Click on the General Tab and then Click the Import Button again. [B]NOTE:[/B][COLOR=rgb(0, 128, 255)] Because we have now completed the mappings of all channels, this will take some time and should fill in all the imported info[/COLOR] [ATTACH=full]173266[/ATTACH] [COLOR=rgb(255, 0, 0)]Task Scheduler:[/COLOR] To automate the download and install of the TVGuide, create a Task Schedule Here are the setting I currently Use [ATTACH]173267[/ATTACH] [ATTACH]173268[/ATTACH] [ATTACH]173269[/ATTACH] [ATTACH]173270[/ATTACH] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
xmltv install / configure for ATSC / OTA U.S.A
Contact us
RSS
Top
Bottom