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
Area 51 - Testing Area
Changing channel using numbers does not work across group
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="Stéphane Lenclud" data-source="post: 1198358" data-attributes="member: 140174"><p>Thanks for the feedback mate.</p><p></p><p>As far as the end result goes and once we make sure the current group is scanned first we don't need any special treatment for the 'all channels' group.</p><p>However we could end up checking each channel twice. Once through normal groups and once through 'all channels' group.</p><p>Therefore I would still try to either scan the 'all channels' group or scan the other groups but not both if it can be avoid.</p><p>The algorithm should go like that:</p><ul> <li data-xf-list-type="ul">Scan current group and stop there if it's the 'all channels' group.</li> <li data-xf-list-type="ul">Scan all groups excluding 'all channels' and current group.</li> <li data-xf-list-type="ul">Scan 'all channels' group if it's not the current one.</li> </ul><p>Then again we could decide performance is not a concern here and we can afford the overhead.</p><p>That whole channel to number mapping is largely unoptimized to start with anyway.</p><p>For best performance we ought to have a dictionary of channels indexed by number really.</p><p>However this is totally outside the scope of those changes.</p><p></p><p>I'll try and see what I can do with 'set current group'.</p></blockquote><p></p>
[QUOTE="Stéphane Lenclud, post: 1198358, member: 140174"] Thanks for the feedback mate. As far as the end result goes and once we make sure the current group is scanned first we don't need any special treatment for the 'all channels' group. However we could end up checking each channel twice. Once through normal groups and once through 'all channels' group. Therefore I would still try to either scan the 'all channels' group or scan the other groups but not both if it can be avoid. The algorithm should go like that: [LIST] [*]Scan current group and stop there if it's the 'all channels' group. [*]Scan all groups excluding 'all channels' and current group. [*]Scan 'all channels' group if it's not the current one. [/LIST] Then again we could decide performance is not a concern here and we can afford the overhead. That whole channel to number mapping is largely unoptimized to start with anyway. For best performance we ought to have a dictionary of channels indexed by number really. However this is totally outside the scope of those changes. I'll try and see what I can do with 'set current group'. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
Changing channel using numbers does not work across group
Contact us
RSS
Top
Bottom