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="gpnash" data-source="post: 1203994" data-attributes="member: 151666"><p>I'm still in a "proof of concept" mode, I was amazed to get as far as I did.</p><p>I never expected my code to have to do the heavy lifting when it came to changing channels, but I couldn't find a tvcontrol.tuneTv(channel) command.</p><p>My only purpose here was to enable use of a windows10 tablet to browse tv listings and be able to select the program to watch on the MP1 instance across the room.</p><p>all of the existing efforts appear to be aimed at watching shows on the device, not making the device a more comprehensive remote.</p><p></p><p>I tried looking at the tvplugin navigate method but I couldn't find a way to create enough of an instance of it outside of MP1.</p><p>anyway I'm going back to the drawing board to try and collect the correct information to do tuning correctly. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> (physicalchannel and modulationtype).</p><p>?the only reason there'd be multiple tuning details is if there were more than one way to get to the channel?</p><p>I've never dealt with anything other than antenna or cable and from what I've seen, in my case all of my cable tuning will be the same (eth6 6 tuners in one box) or possibly multiple usb WinTV sticks (all attached to similar antennas) that should be the same as well. I'd only have an issue if both cable and OTA stations had the same channel number, then there would be two tuningdetail records and I'd have to choose.?</p><p></p><p>added in the two following lines and everything appears much more stable.</p><p>when I first looked at this I didn't connect PhysicalChannel with ChannelNumber nor ModulationType with Modulation so I wasn't sure what to put there. Things make more sense if there is one tuningdetail record for each channel available on each different tuner card. I might actually be starting to understand this.</p><p>[code]</p><p>myChannel.PhysicalChannel = tuningDetail.ChannelNumber</p><p>myChannel.ModulationType = tuningDetail.Modulation</p><p>[/code]</p><p></p><p>my best guess at this point Is the only errors I have left are the cable map errors.</p><p>Next step is creating a nicer user interface than I currently have and handling the multiple ways to get to a channel issue (more than one tuning record per channel).</p></blockquote><p></p>
[QUOTE="gpnash, post: 1203994, member: 151666"] I'm still in a "proof of concept" mode, I was amazed to get as far as I did. I never expected my code to have to do the heavy lifting when it came to changing channels, but I couldn't find a tvcontrol.tuneTv(channel) command. My only purpose here was to enable use of a windows10 tablet to browse tv listings and be able to select the program to watch on the MP1 instance across the room. all of the existing efforts appear to be aimed at watching shows on the device, not making the device a more comprehensive remote. I tried looking at the tvplugin navigate method but I couldn't find a way to create enough of an instance of it outside of MP1. anyway I'm going back to the drawing board to try and collect the correct information to do tuning correctly. :) (physicalchannel and modulationtype). ?the only reason there'd be multiple tuning details is if there were more than one way to get to the channel? I've never dealt with anything other than antenna or cable and from what I've seen, in my case all of my cable tuning will be the same (eth6 6 tuners in one box) or possibly multiple usb WinTV sticks (all attached to similar antennas) that should be the same as well. I'd only have an issue if both cable and OTA stations had the same channel number, then there would be two tuningdetail records and I'd have to choose.? added in the two following lines and everything appears much more stable. when I first looked at this I didn't connect PhysicalChannel with ChannelNumber nor ModulationType with Modulation so I wasn't sure what to put there. Things make more sense if there is one tuningdetail record for each channel available on each different tuner card. I might actually be starting to understand this. [code] myChannel.PhysicalChannel = tuningDetail.ChannelNumber myChannel.ModulationType = tuningDetail.Modulation [/code] my best guess at this point Is the only errors I have left are the cable map errors. Next step is creating a nicer user interface than I currently have and handling the multiple ways to get to a channel issue (more than one tuning record per channel). [/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