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
General Forums
Newcomers Forum
EPG Data - Schedules Direct
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="southpaw" data-source="post: 1164922" data-attributes="member: 156526"><p>Indeed. It took a bit of work to figure this out but the end result for one particular episode of the TV Show "Coach" is as follows...</p><p></p><p><strong>XML</strong></p><p> <episode-num system="onscreen">66618</episode-num></p><p> <episode-num system="dd_progid">EP00000976.0003</episode-num></p><p></p><p><strong>JSON</strong></p><p> <episode-num system="dd_progid">EP00000976.0003</episode-num></p><p> <episode-num system="xmltv_ns">2.12.</episode-num></p><p></p><p>I'm not sure how this difference will affect the guide. More testing required. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>For any other users that happen upon this thread, I hope the following will save you the headaches I just went through.</p><p></p><p>There is an issue with using the -J option or selecting the Schedules Direct JSON option from the UI when running mc2xml for the first time. The program runs and exits without creating any data. Running mc2xml from a command prompt reveals the following error.</p><p><em>Error: Did not receive User-Agent in header. See <a href="https://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201#tasks-your-client-must-perform" target="_blank">https://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201#tasks-your-client-must-perform</a></em></p><p></p><p>To solve this .............</p><p>Delete mc2xml.dat from your xmltv folder if it already exists</p><p>run mc2xml from a command prompt as follows.</p><p></p><p>Open command prompt and change to the directory where mc2xml is located (for example "CD\ProgramData\Team MediaPortal\MediaPortal TV Server\xmltv")</p><p>Enter the following commands ....</p><p>set USERAGENT=email</p><p>mc2xml</p><p></p><p>Select your options from the mx2xml UI and click the OK button.</p><p>Your guide data will be downloaded and a new mc2xml.dat file will be created.</p><p></p><p>I am not sure if the environment variable "USERAGENT" will need to be set each time you run mc2xml to update the guide data but I plan on doing so just in case.</p></blockquote><p></p>
[QUOTE="southpaw, post: 1164922, member: 156526"] Indeed. It took a bit of work to figure this out but the end result for one particular episode of the TV Show "Coach" is as follows... [B]XML[/B] <episode-num system="onscreen">66618</episode-num> <episode-num system="dd_progid">EP00000976.0003</episode-num> [B]JSON[/B] <episode-num system="dd_progid">EP00000976.0003</episode-num> <episode-num system="xmltv_ns">2.12.</episode-num> I'm not sure how this difference will affect the guide. More testing required. :) For any other users that happen upon this thread, I hope the following will save you the headaches I just went through. There is an issue with using the -J option or selecting the Schedules Direct JSON option from the UI when running mc2xml for the first time. The program runs and exits without creating any data. Running mc2xml from a command prompt reveals the following error. [I]Error: Did not receive User-Agent in header. See [URL]https://github.com/SchedulesDirect/JSON-Service/wiki/API-20141201#tasks-your-client-must-perform[/URL][/I] To solve this ............. Delete mc2xml.dat from your xmltv folder if it already exists run mc2xml from a command prompt as follows. Open command prompt and change to the directory where mc2xml is located (for example "CD\ProgramData\Team MediaPortal\MediaPortal TV Server\xmltv") Enter the following commands .... set USERAGENT=email mc2xml Select your options from the mx2xml UI and click the OK button. Your guide data will be downloaded and a new mc2xml.dat file will be created. I am not sure if the environment variable "USERAGENT" will need to be set each time you run mc2xml to update the guide data but I plan on doing so just in case. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
General Forums
Newcomers Forum
EPG Data - Schedules Direct
Contact us
RSS
Top
Bottom