- February 21, 2012
- 75
- 22
- 58
- Home Country
- United Kingdom
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 http://atlas.metabroadcast.com/
Once you have it you need to activate the PA feed with your key at http://atlas.metabroadcast.com/admin#/applications/hngc
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 - https://github.com/honir/tv_grab_uk_atlas
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>xmltv tv_grab_uk_atlas --configure
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] This is my default, change this if you wish
tv_grab_uk_atlas requires an API key which you must obtain from MetaBroadcast.com
Enter your Atlas API key: paste your API key here
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: left blank to get list
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)] 2 (choose your own)
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)] 8 (choose your own)
Fetching channels
Select the channels that you want to receive data for.
BBC One East Midlands [yes,no,all,none (default=no)] all
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>xmltv tv_grab_uk_atlas --days 14 --output tvguide.xml
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!
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 http://atlas.metabroadcast.com/
Once you have it you need to activate the PA feed with your key at http://atlas.metabroadcast.com/admin#/applications/hngc
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 - https://github.com/honir/tv_grab_uk_atlas
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>xmltv tv_grab_uk_atlas --configure
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] This is my default, change this if you wish
tv_grab_uk_atlas requires an API key which you must obtain from MetaBroadcast.com
Enter your Atlas API key: paste your API key here
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: left blank to get list
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)] 2 (choose your own)
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)] 8 (choose your own)
Fetching channels
Select the channels that you want to receive data for.
BBC One East Midlands [yes,no,all,none (default=no)] all
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>xmltv tv_grab_uk_atlas --days 14 --output tvguide.xml
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!
Last edited: