- Thread starter
- #41
opusnut said:How is it that the plugin matches up existing channels against the ones from Zap2It to create the mappings??
Good question, thanks for helping test this plugin
MediaPortal keeps an internal table for EPG mapping that maps your channels to the "XMLid" which is the internal ID that the guide is using. Once this mapping is established all imports simply use that to do their lookup (this applies to traditional XMLTV imports too).
Of course, the problem is, how do we establish that mapping for a new channel from Zap2it that we've not seen before? The XMLTV import does a channel number + name match but because Zap2it provides more information about your lineup, I can do different tests:
- 1. I check for an existing map, if there is one, I use it. This means if your mappings are screwed up, rerunning the import isn't going to fix it. You need to start from scratch.
2. I check for a callsign match so if you name your channel identically to the Zap2it name (e.g. SCIFI), it will find a match.
3. If this is an ATSC channel, I look for a major/minor channel match (e.g. 4-1) only against any channels that haven't been mapped to anything yet.
4. If this is a broadcast channel (either over the air or analog cable) I try to match the channel number only to a channel that has been autotuned (I check it has a frequency found) and that hasn't been mapped yet (this was added in 1.1)
Easy right
If you are having issues, please post your epg.log to http://pastebin.com and post a link to it and I'll take a look
United States of America