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
Clean up Swedish grabbers
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="arion_p" data-source="post: 498697" data-attributes="member: 45945"><p>ChannelId should be a globally unique id for each channel. In order to avoid name collisions the <a href="mailto:channel@provider.countr">channel@provider.countr</a>y form has been adopted (there may a <a href="mailto:comedy@canalplus.se">comedy@canalplus.se</a> and a <a href="mailto:comedy@canalplus.fr">comedy@canalplus.fr</a> -- not necessarily the same). Channels.xml maps channelIds to channel names. This is done because there may be multiple grabbers for the same channel and you don't want to repeat the channel name in each grabber.</p><p></p><p>The automap feature needs improvement but it is not top priority at the moment.</p><p>What it does is that it looks for the first channel whose full name is the same as, of fully contains, or is fairly similar to the display name of the channel being mapped. The problem is that each test should be run separately, i.e. first search the entire channel list for an exact match, then try substring match then by similarity (and pick the most similar one). Right now, instead it stops searching the list as soon as one of these conditions are met, that is why you get TV3 mapped to MTV3 (it comes earlier in the list).</p><p></p><p>So in short, don't dump the channel ids. As for channels.xml I hope to find a better solution for that.</p></blockquote><p></p>
[QUOTE="arion_p, post: 498697, member: 45945"] ChannelId should be a globally unique id for each channel. In order to avoid name collisions the [email]channel@provider.countr[/email]y form has been adopted (there may a [email]comedy@canalplus.se[/email] and a [email]comedy@canalplus.fr[/email] -- not necessarily the same). Channels.xml maps channelIds to channel names. This is done because there may be multiple grabbers for the same channel and you don't want to repeat the channel name in each grabber. The automap feature needs improvement but it is not top priority at the moment. What it does is that it looks for the first channel whose full name is the same as, of fully contains, or is fairly similar to the display name of the channel being mapped. The problem is that each test should be run separately, i.e. first search the entire channel list for an exact match, then try substring match then by similarity (and pick the most similar one). Right now, instead it stops searching the list as soon as one of these conditions are met, that is why you get TV3 mapped to MTV3 (it comes earlier in the list). So in short, don't dump the channel ids. As for channels.xml I hope to find a better solution for that. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
Clean up Swedish grabbers
Contact us
RSS
Top
Bottom