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
MediaPortal 1 Talk
programatic way to change channels on MP 1.15 client?
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="mm1352000" data-source="post: 1204054" data-attributes="member: 82144"><p>Indeed. As far as I'm aware your attempt is fairly unique.</p><p></p><p></p><p>Again, I strongly recommend you use the function I pointed to in my previous reply to create a correctly populated, tunable, IChannel instance from a TuningDetail. This will automatically handle all channel types properly, not just the ATSCChannel type you currently [may] have [partially] working. You shouldn't have to know or care what each channel property is connected to.</p><p></p><p></p><p>That would be one reason. Another would be if you merged SD and HD versions of the same channel.</p><p></p><p></p><p>Don't feel like you have to do that if you're going to be the only person who ever uses your plugin. I was only trying to point out that your current approach has some limitations.</p><p></p><p></p><p>A question for you: when you say "...channel information on the tv changed to channel X and program information changed...", how exactly have you made that happen?</p><p>I ask because as far as I'm aware, the client normally wouldn't realise it if the app changed its channel. Yes, I'd expect you to be able to observe the video changing from one channel to another. However that's incidental; somewhat of a lucky co-incidence for you. There are situations in which that will not work. For example, if the channel change causes TV Server to switch to a new tuner for some reason (eg. switching between cable and antenna channels). In that case the client has to switch to a new time-shift file... but how can it know to do that if it doesn't know that it has changed channel in the first place (?). The server doesn't directly inform the client that it changed channel because it's assumed that the client requested the channel change. Obviously that doesn't apply for a channel change triggered from your app.</p><p></p><p>So yeah, you seem to be saying that the client recognises when your app has changed its channel, whereas I wonder if that is actually the case. In my opinion this question is critical for the viability of your current approach.</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1204054, member: 82144"] Indeed. As far as I'm aware your attempt is fairly unique. Again, I strongly recommend you use the function I pointed to in my previous reply to create a correctly populated, tunable, IChannel instance from a TuningDetail. This will automatically handle all channel types properly, not just the ATSCChannel type you currently [may] have [partially] working. You shouldn't have to know or care what each channel property is connected to. That would be one reason. Another would be if you merged SD and HD versions of the same channel. Don't feel like you have to do that if you're going to be the only person who ever uses your plugin. I was only trying to point out that your current approach has some limitations. A question for you: when you say "...channel information on the tv changed to channel X and program information changed...", how exactly have you made that happen? I ask because as far as I'm aware, the client normally wouldn't realise it if the app changed its channel. Yes, I'd expect you to be able to observe the video changing from one channel to another. However that's incidental; somewhat of a lucky co-incidence for you. There are situations in which that will not work. For example, if the channel change causes TV Server to switch to a new tuner for some reason (eg. switching between cable and antenna channels). In that case the client has to switch to a new time-shift file... but how can it know to do that if it doesn't know that it has changed channel in the first place (?). The server doesn't directly inform the client that it changed channel because it's assumed that the client requested the channel change. Obviously that doesn't apply for a channel change triggered from your app. So yeah, you seem to be saying that the client recognises when your app has changed its channel, whereas I wonder if that is actually the case. In my opinion this question is critical for the viability of your current approach. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
programatic way to change channels on MP 1.15 client?
Contact us
RSS
Top
Bottom