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
Development
Improvement Suggestions
Scanning for new/updated channels results in a mess
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="riksmith" data-source="post: 703755" data-attributes="member: 90854"><p>I do not know where you get from that the three id's are stored in two locations. They are not. They are only stored in the tuningdetails.</p><p></p><p>A channel has no three id's assigned from the network. The channel ID is a generated unique number (1, 2 , 3 etc).</p><p>I think your are confusing the concept of channels and tuningdetails here.</p><p></p><p>What you have on your network is a tuningdetail.</p><p>On the other hand you have channels. When you only have one source for your channels you will end up with one tuningdetail belonging to one channel.</p><p>So you would get:</p><p></p><p>[CODE]</p><p>Tuningdetail</p><p>ID: 1</p><p>ONID: 500</p><p>TSID: 6</p><p>SID: 5091</p><p>NAME: ITV 1+1</p><p>TYPE: DVB-T</p><p>CHANNEL: 1</p><p>[/CODE]</p><p></p><p>Which results in a channel:</p><p>[CODE]</p><p>ID: 1</p><p>NAME: ITV 1+1</p><p>[/CODE]</p><p></p><p>If you have multiple sources you would (not automatically) end up with the same channel but it will have an extra tuningdetail:</p><p></p><p>[CODE]</p><p>Tuningdetail</p><p>ID: 2</p><p>ONID: 6120</p><p>TSID: 4</p><p>SID: 124</p><p>NAME: ITV 1-1</p><p>TYPE: DVB-S</p><p>CHANNEL: 1</p><p>[/CODE]</p><p></p><p>What used to happen when we scanned for channels was that we tried to locate an existing tuningdetail and channel in order to update it. That was name based. I am not entirely sure which two of the names it used, but i think the one of channel.</p><p></p><p>What we do now is try to find a tuningdetail with the same ONID +SID + Type. Note that we do not use the TSID here because this will allow us to detect when a channel moves between transponders. If we find such a tuningdetail we know which tuningdetail we need to update. The reason was already explained.</p><p></p><p>If we do not find such a tuningdetail we assume this is a new channel. So we make a new tuningdetail and a new channel.</p><p>This could mean (and we have the example from jameson_uk) that we update the wrong tuningdetail. In that case it currently is up to the user to solve this. We can not think of a fool proof automatic way to handle this (and you have also not found that). It is not for nothing that the DVB specs have put in that advice i quoted earlier. That is meant to prevent having the problems you are now facing.</p><p></p><p>On other places where we need to find the current tuningdetail that belongs to the info we have from tuning we use the ONID +TSID + SID + Type.</p><p></p><p>Why are you referring to the schedules? Is there some problem with that? Schedules are couple to the channel on its ID.</p><p></p><p>In our country we the concept of the LCN. So the channels with the same name have a different LCN. 401, 402, 404, 405 or something like that.</p><p></p><p>I hope i cleared up how the concept is working.</p></blockquote><p></p>
[QUOTE="riksmith, post: 703755, member: 90854"] I do not know where you get from that the three id's are stored in two locations. They are not. They are only stored in the tuningdetails. A channel has no three id's assigned from the network. The channel ID is a generated unique number (1, 2 , 3 etc). I think your are confusing the concept of channels and tuningdetails here. What you have on your network is a tuningdetail. On the other hand you have channels. When you only have one source for your channels you will end up with one tuningdetail belonging to one channel. So you would get: [CODE] Tuningdetail ID: 1 ONID: 500 TSID: 6 SID: 5091 NAME: ITV 1+1 TYPE: DVB-T CHANNEL: 1 [/CODE] Which results in a channel: [CODE] ID: 1 NAME: ITV 1+1 [/CODE] If you have multiple sources you would (not automatically) end up with the same channel but it will have an extra tuningdetail: [CODE] Tuningdetail ID: 2 ONID: 6120 TSID: 4 SID: 124 NAME: ITV 1-1 TYPE: DVB-S CHANNEL: 1 [/CODE] What used to happen when we scanned for channels was that we tried to locate an existing tuningdetail and channel in order to update it. That was name based. I am not entirely sure which two of the names it used, but i think the one of channel. What we do now is try to find a tuningdetail with the same ONID +SID + Type. Note that we do not use the TSID here because this will allow us to detect when a channel moves between transponders. If we find such a tuningdetail we know which tuningdetail we need to update. The reason was already explained. If we do not find such a tuningdetail we assume this is a new channel. So we make a new tuningdetail and a new channel. This could mean (and we have the example from jameson_uk) that we update the wrong tuningdetail. In that case it currently is up to the user to solve this. We can not think of a fool proof automatic way to handle this (and you have also not found that). It is not for nothing that the DVB specs have put in that advice i quoted earlier. That is meant to prevent having the problems you are now facing. On other places where we need to find the current tuningdetail that belongs to the info we have from tuning we use the ONID +TSID + SID + Type. Why are you referring to the schedules? Is there some problem with that? Schedules are couple to the channel on its ID. In our country we the concept of the LCN. So the channels with the same name have a different LCN. 401, 402, 404, 405 or something like that. I hope i cleared up how the concept is working. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
Scanning for new/updated channels results in a mess
Contact us
RSS
Top
Bottom