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
Products
TV-Server
xmltv & Atlas Metabroadcast - replacing UK Radio Times
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="hucknallred" data-source="post: 1122288" data-attributes="member: 119508"><p>I read somewhere that the RT feed which Atlas provide is going at the end of Jan 15, this may or may not be true.</p><p>Seeing as the RT feed doesn't get new channels I decided to have a go with Atlas.</p><p></p><p>At present there is no grabber for xmltvgui AFAIAA, so this has to be done by the cli client, but it's not that difficult.</p><p></p><p>First off, you need an API key from Atlas, you can have up to 10 for free, get this from <a href="http://atlas.metabroadcast.com/" target="_blank">http://atlas.metabroadcast.com/</a></p><p></p><p>Once you have it you need to activate the PA feed with your key at <a href="http://atlas.metabroadcast.com/admin#/applications/hngc" target="_blank">http://atlas.metabroadcast.com/admin#/applications/hngc</a></p><p></p><p>The Atlas site is a bit quirky in how you set it all up, but you'll get there.</p><p></p><p>Install the cli xmltv if you haven't already (not xmltvgui)</p><p>Get the atlas grabber - <a href="https://github.com/honir/tv_grab_uk_atlas" target="_blank">https://github.com/honir/tv_grab_uk_atlas</a></p><p></p><p>Unzip the file tv_grab_uk_atlas into your xmltv directory.</p><p></p><p>Now the fun stuff.. text in red is what you do...</p><p></p><p>Open a command prompt in your XMLTV directory & do the following, this is for my setup, yours may vary.</p><p></p><p>C:\Program Files (x86)\xmltv><span style="color: #ff0000">xmltv tv_grab_uk_atlas --configure</span></p><p>Timezone is +0000</p><p>tv_grab_uk_atlas uses a cache with files that it has already downloaded. Please specify a location for this cache.</p><p>Directory to store the cache: [C:\Users\ASUSUS/.xmltv/cache] <span style="color: #ff0000">This is my default, change this if you wish</span></p><p></p><p>tv_grab_uk_atlas requires an API key which you must obtain from MetaBroadcast.com</p><p>Enter your Atlas API key: <span style="color: #ff0000">paste your API key here</span></p><p></p><p>tv_grab_uk_atlas normally outputs an episode-num tag with brand.series.episode ids from the Atlas database.</p><p>Output brand/series/summary ids? (yes/no): [yes]</p><p></p><p>Enter the region code you want or leave blank to select from a list</p><p>Enter your viewing region: <span style="color: #ff0000">left blank to get list</span></p><p></p><p>Fetching platforms</p><p>tv_grab_uk_atlas selects channels to download based on your viewing platform.</p><p>Choose your viewing platform:</p><p>0: Sky HD (GB)(IE)</p><p>1: Sky SD (GB)(IE)</p><p>2: Freeview (GB)</p><p>3: Freesat (GB)</p><p>4: Virgin (GB)</p><p>5: Top Up TV (GB)</p><p>6: YouView (GB)</p><p>7: Saorsat (IE)</p><p>8: BT TV (GB)</p><p>9: TalkTalk YouView (GB)</p><p>Select one: [0,1,2,3,4,5,6,7,8,9 (default=0)] <span style="color: #ff0000">2 (choose your own)</span></p><p>tv_grab_uk_atlas selects channels to download based on your TV region.</p><p>Choose your viewing region:</p><p>0: Channel Islands</p><p>1: West Midlands</p><p>2: Cumbria</p><p>3: Yorkshire</p><p>4: Cambridgeshire</p><p>5: Oxfordshire</p><p>6: Scotland (Borders)</p><p>7: Scotland (Central)</p><p>8: East Midlands</p><p>9: Wales</p><p>10: North West</p><p>11: Northern Ireland</p><p>12: East</p><p>13: North East</p><p>14: South West</p><p>15: South</p><p>16: Scotland (North)</p><p>17: Yorkshire & Lincolnshire</p><p>18: West</p><p>19: London</p><p>20: South East</p><p>Select one: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 (default=0)] <span style="color: #ff0000">8 (choose your own)</span></p><p>Fetching channels</p><p>Select the channels that you want to receive data for.</p><p>BBC One East Midlands [yes,no,all,none (default=no)] <span style="color: #ff0000">all</span></p><p>ITV3 yes</p><p>BBC One HD yes</p><p>BBC Two HD yes</p><p>ITVHD Central yes</p><p>Channel 4 HD yes</p><p>BBC Three HD yes</p><p>BBC Four HD yes</p><p>BBC News Channel HD yes</p><p>Al Jazeera English HD yes</p><p>Community Channel HD yes</p><p>Pick yes</p><p>Channel 4 +1 HD yes</p><p>4seven HD yes</p><p>Dave yes</p><p>CBBC yes</p><p>CBeebies yes</p><p>CITV yes</p><p>CBBC HD yes</p><p>CBeebies HD yes</p><p>Pop yes</p><p>Channel 4 +1 yes</p><p>BBC News Channel yes</p><p>BBC Parliament yes</p><p>Sky News yes</p><p>Al Jazeera English yes</p><p>Al Jazeera Arabic yes</p><p>RT yes</p><p>More4 yes</p><p>Film4 yes</p><p>QVC yes</p><p>Really yes</p><p>Television X yes</p><p>4Music yes</p><p>Yesterday yes</p><p>BBC Two England yes</p><p>Drama yes</p><p>Viva yes</p><p>Ideal World Freeview yes</p><p>Shop at Bid yes</p><p>ITV4 yes</p><p>Motors TV yes</p><p>TVPlayer yes</p><p>Vintage TV yes</p><p>Dave ja vu yes</p><p>ITVBe yes</p><p>ITV2+1 yes</p><p>E4 yes</p><p>E4 +1 yes</p><p>ITV Central yes</p><p>5* yes</p><p>5USA yes</p><p>Movie Mix yes</p><p>ITV Central+1 yes</p><p>ITV3+1 Freeview yes</p><p>Create and Craft yes</p><p>Quest yes</p><p>Quest +1 yes</p><p>Channel 4 yes</p><p>Food Network yes</p><p>Travel Channel Freeview yes</p><p>Gems TV yes</p><p>Channel 5 +1 yes</p><p>Film4 +1 yes</p><p>Challenge yes</p><p>4seven yes</p><p>Movies4Men yes</p><p>Channel 5 yes</p><p>Channel 5+24 Freeview yes</p><p>ITV2 yes</p><p>BBC Red Button 1 yes</p><p>True Entertainment yes</p><p>Community Channel yes</p><p>CBS Reality yes</p><p>truTV yes</p><p>BBC Three yes</p><p>CBS Action yes</p><p>BBC Radio 1 yes</p><p>BBC Radio 1Xtra yes</p><p>BBC Radio 2 yes</p><p>BBC Radio 3 yes</p><p>BBC Radio 4 FM yes</p><p>BBC Radio 5 live yes</p><p>BBC Radio 5 live sports extra yes</p><p>BBC Radio 6 Music yes</p><p>BBC Radio 4 Extra yes</p><p>BBC Asian Network yes</p><p>Motors TV yes</p><p>BBC World Service yes</p><p>The Hits yes</p><p>Smash Hits yes</p><p>Kiss 100 yes</p><p>Magic 105.4 yes</p><p>Heat yes</p><p>Kerrang! yes</p><p>102.2 Smooth Radio yes</p><p>talkSPORT DAB yes</p><p>96-106 Capital FM yes</p><p>Premier Christian Radio yes</p><p>Absolute Radio yes</p><p>Heart London yes</p><p>Notts TV yes</p><p>BBC Four yes</p><p></p><p>That's it configured, now you need to grab. I use Argus for tuning & scheduling, but it uses an identical tvguide.xml file to the MP one.</p><p></p><p>C:\Program Files (x86)\xmltv><span style="color: #ff0000">xmltv tv_grab_uk_atlas --days 14 --output tvguide.xml</span></p><p>Timezone is +0000</p><p>Fetching listings</p><p>Filtering duplicates</p><p></p><p>That's it, all done, the xml file was pulled in by Argus with no problems.</p><p></p><p>If you want to edit the channels that are grabbed you can do this with the help of a spreadsheet.</p><p></p><p>in the xmltv\.xmltv folder you will find the config file called tv_grab_uk_atlas.conf, open it in a text editor & it will be like this:</p><p></p><p>cachedir=C:\Users\ASUSUS/.xmltv/cache</p><p>api-key=************************</p><p>writeids=yes</p><p>lineupcode=</p><p>platform=cbg2</p><p>region=cbhh</p><p>channel=cbbq</p><p>channel=cbWw</p><p>& so on with all your channels.</p><p></p><p>But what code relates to what channel?? Easy, copy all the channel codes & paste into a spreadsheet, then scroll back to your list of grabbed channels from when you did the config, copy & paste these into the next column, so you end up with a list like this:</p><p></p><p>cbbp BBC One East Midlands</p><p>cbd2 ITV3</p><p>cbbq BBC One HD</p><p>cbWw BBC Two HD</p><p>cbDG ITVHD Central</p><p>cbfg Channel 4 HD</p><p>cbZc BBC Three HD</p><p>cbZd BBC Four HD</p><p>cbZh BBC News Channel HD</p><p>cbZm Al Jazeera English HD</p><p></p><p></p><p>Cut the ones you don't want to grab, copy the edited list of codes & paste back into the conf file.</p><p>This would be useful if you have a mix of Freeview & Freesat channels like I do.</p><p></p><p>Hope this helps & I'll try to answer any queries!</p></blockquote><p></p>
[QUOTE="hucknallred, post: 1122288, member: 119508"] I read somewhere that the RT feed which Atlas provide is going at the end of Jan 15, this may or may not be true. Seeing as the RT feed doesn't get new channels I decided to have a go with Atlas. At present there is no grabber for xmltvgui AFAIAA, so this has to be done by the cli client, but it's not that difficult. First off, you need an API key from Atlas, you can have up to 10 for free, get this from [url]http://atlas.metabroadcast.com/[/url] Once you have it you need to activate the PA feed with your key at [url]http://atlas.metabroadcast.com/admin#/applications/hngc[/url] The Atlas site is a bit quirky in how you set it all up, but you'll get there. Install the cli xmltv if you haven't already (not xmltvgui) Get the atlas grabber - [url]https://github.com/honir/tv_grab_uk_atlas[/url] Unzip the file tv_grab_uk_atlas into your xmltv directory. Now the fun stuff.. text in red is what you do... Open a command prompt in your XMLTV directory & do the following, this is for my setup, yours may vary. C:\Program Files (x86)\xmltv>[COLOR=#ff0000]xmltv tv_grab_uk_atlas --configure[/COLOR] Timezone is +0000 tv_grab_uk_atlas uses a cache with files that it has already downloaded. Please specify a location for this cache. Directory to store the cache: [C:\Users\ASUSUS/.xmltv/cache] [COLOR=#ff0000]This is my default, change this if you wish[/COLOR] tv_grab_uk_atlas requires an API key which you must obtain from MetaBroadcast.com Enter your Atlas API key: [COLOR=#ff0000]paste your API key here[/COLOR] tv_grab_uk_atlas normally outputs an episode-num tag with brand.series.episode ids from the Atlas database. Output brand/series/summary ids? (yes/no): [yes] Enter the region code you want or leave blank to select from a list Enter your viewing region: [COLOR=#ff0000]left blank to get list[/COLOR] Fetching platforms tv_grab_uk_atlas selects channels to download based on your viewing platform. Choose your viewing platform: 0: Sky HD (GB)(IE) 1: Sky SD (GB)(IE) 2: Freeview (GB) 3: Freesat (GB) 4: Virgin (GB) 5: Top Up TV (GB) 6: YouView (GB) 7: Saorsat (IE) 8: BT TV (GB) 9: TalkTalk YouView (GB) Select one: [0,1,2,3,4,5,6,7,8,9 (default=0)] [COLOR=#ff0000]2 (choose your own)[/COLOR] tv_grab_uk_atlas selects channels to download based on your TV region. Choose your viewing region: 0: Channel Islands 1: West Midlands 2: Cumbria 3: Yorkshire 4: Cambridgeshire 5: Oxfordshire 6: Scotland (Borders) 7: Scotland (Central) 8: East Midlands 9: Wales 10: North West 11: Northern Ireland 12: East 13: North East 14: South West 15: South 16: Scotland (North) 17: Yorkshire & Lincolnshire 18: West 19: London 20: South East Select one: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 (default=0)] [COLOR=#ff0000]8 (choose your own)[/COLOR] Fetching channels Select the channels that you want to receive data for. BBC One East Midlands [yes,no,all,none (default=no)] [COLOR=#ff0000]all[/COLOR] ITV3 yes BBC One HD yes BBC Two HD yes ITVHD Central yes Channel 4 HD yes BBC Three HD yes BBC Four HD yes BBC News Channel HD yes Al Jazeera English HD yes Community Channel HD yes Pick yes Channel 4 +1 HD yes 4seven HD yes Dave yes CBBC yes CBeebies yes CITV yes CBBC HD yes CBeebies HD yes Pop yes Channel 4 +1 yes BBC News Channel yes BBC Parliament yes Sky News yes Al Jazeera English yes Al Jazeera Arabic yes RT yes More4 yes Film4 yes QVC yes Really yes Television X yes 4Music yes Yesterday yes BBC Two England yes Drama yes Viva yes Ideal World Freeview yes Shop at Bid yes ITV4 yes Motors TV yes TVPlayer yes Vintage TV yes Dave ja vu yes ITVBe yes ITV2+1 yes E4 yes E4 +1 yes ITV Central yes 5* yes 5USA yes Movie Mix yes ITV Central+1 yes ITV3+1 Freeview yes Create and Craft yes Quest yes Quest +1 yes Channel 4 yes Food Network yes Travel Channel Freeview yes Gems TV yes Channel 5 +1 yes Film4 +1 yes Challenge yes 4seven yes Movies4Men yes Channel 5 yes Channel 5+24 Freeview yes ITV2 yes BBC Red Button 1 yes True Entertainment yes Community Channel yes CBS Reality yes truTV yes BBC Three yes CBS Action yes BBC Radio 1 yes BBC Radio 1Xtra yes BBC Radio 2 yes BBC Radio 3 yes BBC Radio 4 FM yes BBC Radio 5 live yes BBC Radio 5 live sports extra yes BBC Radio 6 Music yes BBC Radio 4 Extra yes BBC Asian Network yes Motors TV yes BBC World Service yes The Hits yes Smash Hits yes Kiss 100 yes Magic 105.4 yes Heat yes Kerrang! yes 102.2 Smooth Radio yes talkSPORT DAB yes 96-106 Capital FM yes Premier Christian Radio yes Absolute Radio yes Heart London yes Notts TV yes BBC Four yes That's it configured, now you need to grab. I use Argus for tuning & scheduling, but it uses an identical tvguide.xml file to the MP one. C:\Program Files (x86)\xmltv>[COLOR=#ff0000]xmltv tv_grab_uk_atlas --days 14 --output tvguide.xml[/COLOR] Timezone is +0000 Fetching listings Filtering duplicates That's it, all done, the xml file was pulled in by Argus with no problems. If you want to edit the channels that are grabbed you can do this with the help of a spreadsheet. in the xmltv\.xmltv folder you will find the config file called tv_grab_uk_atlas.conf, open it in a text editor & it will be like this: cachedir=C:\Users\ASUSUS/.xmltv/cache api-key=************************ writeids=yes lineupcode= platform=cbg2 region=cbhh channel=cbbq channel=cbWw & so on with all your channels. But what code relates to what channel?? Easy, copy all the channel codes & paste into a spreadsheet, then scroll back to your list of grabbed channels from when you did the config, copy & paste these into the next column, so you end up with a list like this: cbbp BBC One East Midlands cbd2 ITV3 cbbq BBC One HD cbWw BBC Two HD cbDG ITVHD Central cbfg Channel 4 HD cbZc BBC Three HD cbZd BBC Four HD cbZh BBC News Channel HD cbZm Al Jazeera English HD Cut the ones you don't want to grab, copy the edited list of codes & paste back into the conf file. This would be useful if you have a mix of Freeview & Freesat channels like I do. Hope this helps & I'll try to answer any queries! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
TV-Server
xmltv & Atlas Metabroadcast - replacing UK Radio Times
Contact us
RSS
Top
Bottom