USING MC2XML TO MAKE YOUR OWN EPG - tuturial with open discussion

I cant get anything from Rovi
Connecting .. : rovicorp.com
,,Forbidden ... : Invalid keys? Excess requests per second? Bad template?

I made an account, and got my keys from the Entitlement section, but still nothing. Copy and pasted multiple times.

Don't know what to tell you other than it sounds like you are not inputting exactly what is expected; maybe an extra space or character somewhere IDK since I don't use the service. Did you check on the rovi.com site and see if they can help you?

From the description at awardspace.info:

This service targets real time interaction rather than bulk downloads. There is a limit on the number of requests one can make per day (10,000 on trial), and most program detail (aside from the title and airing time) must be requested individually per program. This adds up very quickly if you have a lot of channels or hours of schedule data, therefore this service (on trial) is not appropriate for daily collecting of 14 days of schedule data for a full lineup of channels with complete detail.

Sounds a bit like a PITA to me.

SD also has a free trial. That is what I use, so I could potentially help if you had questions with that.

Alternatively, use viper's xml.

Sorry, that's all I got.
 
Don't know what to tell you other than it sounds like you are not inputting exactly what is expected; maybe an extra space or character somewhere IDK since I don't use the service. Did you check on the rovi.com site and see if they can help you?

From the description at awardspace.info:

This service targets real time interaction rather than bulk downloads. There is a limit on the number of requests one can make per day (10,000 on trial), and most program detail (aside from the title and airing time) must be requested individually per program. This adds up very quickly if you have a lot of channels or hours of schedule data, therefore this service (on trial) is not appropriate for daily collecting of 14 days of schedule data for a full lineup of channels with complete detail.

Sounds a bit like a PITA to me.

SD also has a free trial. That is what I use, so I could potentially help if you had questions with that.

Alternatively, use viper's xml.

Sorry, that's all I got.

I've tried Vipers, but apparently my provider is different so alot of the channels dont pick up, thats why I'm trying to figure out how to do my own now.
Does it matter if I use the SD JSON or regular?
 
The channel/program listings in Viper's EPG are mapped specifically to the channels here. The only way the guide would work with another service would be if that service used the exact same channel names as the services here. There will be the occasional overlap, but certainly nowhere near what you'd want.
 
Last edited:
The channel/program listings in Viper's EPG are mapped specifically to the channels here. The only way the guide would work with another service would be if that service used the exact same channel names as the services here. There will be the occasional overlap, but certainly nowhere near what you'd want.

Yea i figured that out. I thought this was the service I signed up for, but ended up being something different. The quality is great, just pissing me off that the EPG for it is broken. But I'm figuring it out, so hopefully I can build my own EPG. What is used to pull the channel number? I found a program that reads the TV29.db and gives info, is that where you're pulling channel numbers?
 
Yea i figured that out. I thought this was the service I signed up for, but ended up being something different. The quality is great, just pissing me off that the EPG for it is broken. But I'm figuring it out, so hopefully I can build my own EPG. What is used to pull the channel number? I found a program that reads the TV29.db and gives info, is that where you're pulling channel numbers?

It's the channel name, not number, that makes the epg data populate. If they don't match EXACTLY the guide will be blank for that particular channel.

Are you using an m3u file and KODI pvr? If so, you can always change the channel name within the pvr channel manager. Using the ???.ren and ???.chl works very well though, with mc2xml. If it is another addon entirely then this isn't any easy solution. Several other IPTV addons do have epg addons tailored to their use.
 
It's the channel name, not number, that makes the epg data populate. If they don't match EXACTLY the guide will be blank for that particular channel.

Are you using an m3u file and KODI pvr? If so, you can always change the channel name within the pvr channel manager. Using the ???.ren and ???.chl works very well though, with mc2xml. If it is another addon entirely then this isn't any easy solution. Several other IPTV addons do have epg addons tailored to their use.

No, I just have a stalker portal to input.
Interesting that its only channel name that populates it. That *should* make this significantly easier.
Are the .chl inclusions/exclusions case sensitve? NVMD. Answered my own question.
Do you just copy/paste the xmls into 1 text file, or is there a command to merge them together?

Sorry that I kinda hijacked this thread. Is there a better place for me to ask questions regarding help from you since you seem the most knowledgable regarding this.
 
No, I just have a stalker portal to input.
Interesting that its only channel name that populates it. That *should* make this significantly easier.
Are the .chl inclusions/exclusions case sensitve? NVMD. Answered my own question.
Do you just copy/paste the xmls into 1 text file, or is there a command to merge them together?

Sorry that I kinda hijacked this thread. Is there a better place for me to ask questions regarding help from you since you seem the most knowledgable regarding this.


You can do it either way but the easiest is to let mc2xml do the merge for you. If you have file1.xml already and you want to include it in your final output (let's use epg.xml for sake of ease) it would be mc2xml (then your .dat .chl .ren #days, etc) -I file1.xml -o epg.xml

Check the other tutorial thread that has no discussion. It's all spelled out how to do it and only a handful of posts to keep it easy to follow.
 
You can do it either way but the easiest is to let mc2xml do the merge for you. If you have file1.xml already and you want to include it in your final output (let's use epg.xml for sake of ease) it would be mc2xml (then your .dat .chl .ren #days, etc) -I file1.xml -o epg.xml

Check the other tutorial thread that has no discussion. It's all spelled out how to do it and only a handful of posts to keep it easy to follow.

Inside the channel manager, do you have to change where it says Guide Source is Client?
 
Does anyone have a list of the English channel names that the service uses? I broke down and bought a SD sub for a year. I didn't want to have to edit my channels lists and pull them from the tv29.db. I asked a few folks but no answer. If Viper's guide pulls a ninja move, I would be SOL so I'm getting it going locally.
 
Does anyone have a list of the English channel names that the service uses? I broke down and bought a SD sub for a year. I didn't want to have to edit my channels lists and pull them from the tv29.db. I asked a few folks but no answer. If Viper's guide pulls a ninja move, I would be SOL so I'm getting it going locally.

Why don't you ask Viper for his list? If he doesn't answer then download his guide or open it in a browser and copy the names, since he has all of them and nothing else.
 
Hi Ex, I asked but I think he is busy. I went ahead and pulled it myself, if anyone is interested here is the list, I think I got them all. whew! Can anyone confirm if the NFL Sunday Ticket channels work on Sundays?


itv ENCORE +1
Yesterday
Yes Network
Watch
WWE Network
WGN News
WGN America
WE TV
Universal Channel
Ultimate Events & Sports 2
Ultimate Events & Sports
USA Network HD
USA Network
UFC Network HD
UFC Network
True Movies 2
True Movies 1
True Drama
Tru TV East
Travel Channel UK
ThrillerMax East
The Weather Channel
The Movie Channel Xtra East
The Movie Channel East
Tennis Channel HD
Tennis Channel
TV Land
TSN 5
TSN 4
TSN 3
TSN 2
TSN 1
TNT
TLC
TG 4
TCM US
TBS East
Syfy
Starz West
Starz Kids & Family East
Starz In Black East
Starz Edge East
Starz East HD
Starz East
Starz Comedy East
Starz Cinema East HD
Starz Cinema East
Sportsnet World
Sportsnet West
Sportsnet Pacific
Sportsnet Ontario
Sportsnet One
Sportsnet Lakers
Sportsnet East
Sportsnet Dodgers
Sportsnet 360
SportsNet New York
Spike TV
Sony Movie Channel USA
Slice
Showtime West
Showtime Showcase East
Showtime Next
Showtime Extreme East
Showtime East HD
Showtime East
Showtime Beyond East
Showtime 2 East
Science Channel HD
Science Channel
SKY Sports News
SKY Select
SKY Scifi & Horror
SKY Premiere
SKY One
SKY Movies Drama
SKY Modern Greats
SKY Living
SKY Family
SKY Disney
SKY Crime & Thriller
SKY Comedy
SKY Atlantic
SKY Action & Adventure
Reelz Channel
Really
RTE TWO
RTE ONE
Poker Central
Pick
Oxygen
Ovation
Outdoor Channel
Nickelodeon East
National Geographic Channel HD
National Geographic Channel
Nat Geo Wild
NHL Network USA
NHK World
NFL Sunday Ticket 6
NFL Sunday Ticket 5
NFL Sunday Ticket 4
NFL Sunday Ticket 3
NFL Sunday Ticket 2
NFL Sunday Ticket 1
NFL Network
NBC Sport Network
NBC New York
NBC Miami
NBA TV HD
NBA TV
NASA TV
Movies 24
More 4
MTV Live
MSNBC
MLB Network HD
MLB Network
MAV tv
Love Nature
Lifetime Movie Network East HD
Lifetime Movie Network
Lifetime East
Investigation Discovery HD
Investigation Discovery
ITV Be
ITV 4
ITV 3
ITV 2
ITV
ION Television East
IFC East
History
Headline News
Hallmark Movies & Mysteries
HGTV East
HBO Zone
HBO West
HBO Signature East
HBO Family East
HBO East HD
HBO East
HBO Comedy East
HBO 2 West
HBO 2 East HD
HBO 2 East
H2
Good Food
Golf Channel
Gold
Global BC
Global
Fox Sports Sun
Fox Sports Southwest
Fox Sports South
Fox Sports Prime Ticket
Fox Sports 2 US
Fox Sports 1 US
Fox News Channel HD
Fox News Channel
Fox Business
Food Network East
Film 4
FXX East
FX East
FREEFORM
FOX Sports West
FOX New York
FOX Miami
FOX
Encore Westerns
Encore East HD
Encore East
Encore Action East
Eden
ESPNews US HD
ESPNews US
ESPNU
ESPN US HD
ESPN US
ESPN 2 US
E4
E! HD
E!
Drama
Dmax
Disney Channel East
Discovery Turbo
Discovery Life Channel
Discovery Family
Discovery Channel USA HD
Discovery Channel USA
Destination America
Dave
DIY Network USA
Crime & investigation Network HD
Crime & Investigation Network
Cooking Channel HD
Cooking Channel
Comedy Central East HD
Comedy Central East
Comcast Sports Net Bay Area
CityTV
Cinemax West HD
Cinemax West
Cinemax East HD
Cinemax East
Chiller TV
Channel 5
Channel 4
Challenge
CP24
CNN US HD
CNN US
CNN International
CNBC US
CBS Sports Network
CBS Reality
CBS New York
CBS Drama
CBS Action
C-Span American History TV
C-Span Book TV
C-Span
ByuTV
Bravo East
Boomerang USA
BOXnation
BBC World News
BBC TWO
BBC ONE
BBC Four
BBC America
At The Races
Animal Planet HD
Animal Planet
American Heroes Channel
Alibi
ActionMax East
ASTRO SuperSport 4
ASTRO SuperSport 3
ASTRO SuperSport 2
ASTRO SuperSport 1
AMC East
ABC News
ABC New York
ABC Miami
A&E East
5 USA
5 StarMax
5 Star
4 Seven
 
I'm starting to do this myself now as well. Somewhat successful. I got DS JSON, used mc2xml, updated setting in KODI. I can't figure out how does KODI know which channel info belongs to which channel on the KODI guide? Does that make sense? For example, I see Comedy Central info in my xml file, but no guide data in KODI. I think it's because channel name is different? How do I manually make the connection? Or am I missing something?
 
You have to create a REN file. (The REN file is just a text file with a .ren extension.) It maps channels that were pulled to channels in the PVR. Thus, if you pulled ESPNEWS, the REN file would map it to the PVR's ESPNews US by using this convention in the REN file.

ESPNEWS:ESPNews US

Upper and lower case matter. You follow that convention for all the channels that you have pulled.

PulledName:pVRName

Case in point, Comedy Central is pulled as COMEDY (one of its Display names), but the PVR uses Comedy Central East. The REN file would need to reflect this

COMEDY:Comedy Central East
 
Last edited:
So contents of ren file will be nothing but...

ESPNEWS:ESPNews US
ComedyCentral:ComedyCetralEast
blah blah blah

No tags or anything? Is there a template file I can use from someone that already has all PVR channel names, so all i have to do is replace the channel names from my pulls? (Just found post #21)
 
No tags. It is just a simple text file, reflecting names as you have suggested. Expatter had one somewhat fleshed out in a post earlier in this thread.

The name before the colon cannot have spaces, so pick a display name that fits that restriction. The channel ID can also be used. The name after the colon can have spaces, reflecting exactly what the PVR displays.
 
Last edited: