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
RadioTimes and MyDigiGuide XML updater
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="yourmumquake" data-source="post: 549846" data-attributes="member: 52002"><p>I hope this is not considered a double post (<a href="https://forum.team-mediaportal.com/webepg-136/uk-radiotimes-tv-grabber-channels-dat-update-script-73338/" target="_blank">https://forum.team-mediaportal.com/webepg-136/uk-radiotimes-tv-grabber-channels-dat-update-script-73338/</a>) but felt the original Title does not reflect this new program which updates both the RadioTimes and MyDigiGuides xml files.</p><p></p><p>New GB\2-www_mydigiguide_com and GB\1-xmltv_radiotimes_com xml files are built using the existing files and either adding or removing any changes found on both web sites or replacing all channels with a name format reflecting the web sites channel names. </p><p></p><p>The replaced grabber files will be built referencing the existing xml files and copies over data prior and after the channel list. Therefore, if any of the header data or footer (listings etc.) requires amending, these can be easily incorporated to the current XML file before running this program.</p><p></p><p>A new channels xml file is created adding all newly named channels to top of channel list, the idea is to make the ‘auto-mapping’ find the channels with a better hit rate but will still require an amount of due diligence after because neither web site nor channel providers appear to work to a naming standard. The original channels.xml file (renamed as channels_xml.org) is referenced to build the new channels file. It is worth noting, this does NOT follow the rules here: <a href="http://wiki.team-mediaportal.com/MediaPortal_Setup_Customising_WebEPG" target="_blank">MediaPortal_Setup_Customising_WebEPG - MediaPortal Manual Documentation</a></p><p></p><p>To help with selecting any mismatched or not found channel data whilst auto-mapping, the program moves all but the GB directory and your native dir if different from UK dialling code 44, to a sub dir ‘original’ off WebEPG dir.</p><p></p><p>If there are any changes to either grabber files, a text file is saved on the desktop showing which channels have been added or removed. You can then decide if you want to map or remove these channels in the WebEPG tool. (Note: the removed channels are also removed from the WebEPG xml to stop the WebEPGImpoter from grabbing these channels – if you don’t remove these channels using the WebEPG tool prior to using save button, they will be added back to the WebEPG xml file).The text file will be removed from the desktop on first occurrence of a channel found to be mapped.</p><p></p><p>There are a few switches if required and running the following (you’ll need to add path) should display more details in a notepad window: "RadioTimes_MyDigiGuide.exe" /h </p><p></p><p>If the MediaPortal’s ‘Power Scheduler’ plugin is enabled, the program can be run as part of the EPG ‘Run command before....’ line or add a MS scheduled task to run daily.</p><p></p><p>If there is any interest in the text script file to generate the exe shout and I can post here, it is a ‘autohotkey’ ahk script.</p><p></p><p>Whilst looking into the grabber files there are potentially two very slight changes which may (or may not) improve grabbing:</p><p></p><p>GB\2-www_mydigiguide_com – in the ‘SectionTemplate tags’, add a P, so it should =“TP”</p><p></p><p>GB\1-xmltv_radiotimes_com – at the end of the Data rowDelimitor there is a character between the last ~ and </Data>, I replace with a space although it does not appear to make a difference.</p><p></p><p>Finally, it may be possible to automatically add as well as remove to the WebEPG xml file, this automate completely all the channel changes rather than manually mapping with the WebEPG tool but requires more time than I have currently...</p></blockquote><p></p>
[QUOTE="yourmumquake, post: 549846, member: 52002"] I hope this is not considered a double post ([url]https://forum.team-mediaportal.com/webepg-136/uk-radiotimes-tv-grabber-channels-dat-update-script-73338/[/url]) but felt the original Title does not reflect this new program which updates both the RadioTimes and MyDigiGuides xml files. New GB\2-www_mydigiguide_com and GB\1-xmltv_radiotimes_com xml files are built using the existing files and either adding or removing any changes found on both web sites or replacing all channels with a name format reflecting the web sites channel names. The replaced grabber files will be built referencing the existing xml files and copies over data prior and after the channel list. Therefore, if any of the header data or footer (listings etc.) requires amending, these can be easily incorporated to the current XML file before running this program. A new channels xml file is created adding all newly named channels to top of channel list, the idea is to make the ‘auto-mapping’ find the channels with a better hit rate but will still require an amount of due diligence after because neither web site nor channel providers appear to work to a naming standard. The original channels.xml file (renamed as channels_xml.org) is referenced to build the new channels file. It is worth noting, this does NOT follow the rules here: [url=http://wiki.team-mediaportal.com/MediaPortal_Setup_Customising_WebEPG]MediaPortal_Setup_Customising_WebEPG - MediaPortal Manual Documentation[/url] To help with selecting any mismatched or not found channel data whilst auto-mapping, the program moves all but the GB directory and your native dir if different from UK dialling code 44, to a sub dir ‘original’ off WebEPG dir. If there are any changes to either grabber files, a text file is saved on the desktop showing which channels have been added or removed. You can then decide if you want to map or remove these channels in the WebEPG tool. (Note: the removed channels are also removed from the WebEPG xml to stop the WebEPGImpoter from grabbing these channels – if you don’t remove these channels using the WebEPG tool prior to using save button, they will be added back to the WebEPG xml file).The text file will be removed from the desktop on first occurrence of a channel found to be mapped. There are a few switches if required and running the following (you’ll need to add path) should display more details in a notepad window: "RadioTimes_MyDigiGuide.exe" /h If the MediaPortal’s ‘Power Scheduler’ plugin is enabled, the program can be run as part of the EPG ‘Run command before....’ line or add a MS scheduled task to run daily. If there is any interest in the text script file to generate the exe shout and I can post here, it is a ‘autohotkey’ ahk script. Whilst looking into the grabber files there are potentially two very slight changes which may (or may not) improve grabbing: GB\2-www_mydigiguide_com – in the ‘SectionTemplate tags’, add a P, so it should =“TP” GB\1-xmltv_radiotimes_com – at the end of the Data rowDelimitor there is a character between the last ~ and </Data>, I replace with a space although it does not appear to make a difference. Finally, it may be possible to automatically add as well as remove to the WebEPG xml file, this automate completely all the channel changes rather than manually mapping with the WebEPG tool but requires more time than I have currently... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
RadioTimes and MyDigiGuide XML updater
Contact us
RSS
Top
Bottom