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: 1202786" data-attributes="member: 151666"><p>I'm using a ceton eth6 so I have 6 available tuners.</p><p>Double checked to make sure I had the correct user structure at the time of the tune call.</p><p>Wouldn't surprise me if I'm not setting something up correctly.</p><p></p><p>Started up the mediaportal client and tuned to 746 TNT HD, left the client screen on the titan tv screen (buttons on left livetv on right)</p><p></p><p>on my tablet ran my program and selected 741 FX HD saw the mpclient change guide information and video</p><p>selected 734 fox news saw the mpclient change guide information but video from fx hd was still playing</p><p>selected 744 tvland saw the mpclient change guide information but the video locked</p><p></p><p>used my remote to exit the mediaportal client and collected the log information</p><p>waited about two minutes before making any channel changes... (right with time dilation I hoped I waited long enough; didn't really time it)</p><p></p><p>I did see an error noting a possible race condition in the mediaportal server error log.</p><p></p><p>OMG... they were there before I did my first edit.... The id10T error will be fixed in a minute. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>There's an issue with the forum upload file procedure and windows 10 edge.... switched back to IE and it worked they way it should.</p><p></p><p>[code]</p><p> Dim MyChannels = AllChannels.Where(Function(ach) ach.GroupNames.Contains("GuysChannels"))</p><p> For Each channel In MyChannels</p><p> Dim programInfo As String = String.Empty</p><p> Dim it As ListViewItem = New ListViewItem("")</p><p> it.Tag = channel</p><p></p><p>[/code]</p><p></p><p>[code]</p><p> </p><p> Dim selectChannel As TvDatabase.Channel = myitem.Tag</p><p> Dim tuningDetail As TvDatabase.TuningDetail = selectChannel.ReferringTuningDetail(0)</p><p> Dim myChannel As TvLibrary.Channels.ATSCChannel = New TvLibrary.Channels.ATSCChannel()</p><p> myChannel.FreeToAir = tuningDetail.FreeToAir</p><p> myChannel.Frequency = tuningDetail.Frequency</p><p> myChannel.IsRadio = tuningDetail.IsRadio</p><p> myChannel.IsTv = tuningDetail.IsTv</p><p> myChannel.MajorChannel = tuningDetail.MajorChannel</p><p> myChannel.MinorChannel = tuningDetail.MinorChannel</p><p> myChannel.Name = tuningDetail.Name</p><p> myChannel.NetworkId = tuningDetail.NetworkId</p><p> myChannel.PmtPid = tuningDetail.PmtPid</p><p> myChannel.Provider = tuningDetail.Provider</p><p> myChannel.ServiceId = tuningDetail.ServiceId</p><p> myChannel.TransportId = tuningDetail.TransportId</p><p> Dim TuneUser As IUser = myTvUser</p><p> Dim myResult As TvResult = _TvControl.Tune(TuneUser, myChannel, selectChannel.IdChannel)</p><p></p><p>[/code]</p></blockquote><p></p>
[QUOTE="gpnash, post: 1202786, member: 151666"] I'm using a ceton eth6 so I have 6 available tuners. Double checked to make sure I had the correct user structure at the time of the tune call. Wouldn't surprise me if I'm not setting something up correctly. Started up the mediaportal client and tuned to 746 TNT HD, left the client screen on the titan tv screen (buttons on left livetv on right) on my tablet ran my program and selected 741 FX HD saw the mpclient change guide information and video selected 734 fox news saw the mpclient change guide information but video from fx hd was still playing selected 744 tvland saw the mpclient change guide information but the video locked used my remote to exit the mediaportal client and collected the log information waited about two minutes before making any channel changes... (right with time dilation I hoped I waited long enough; didn't really time it) I did see an error noting a possible race condition in the mediaportal server error log. OMG... they were there before I did my first edit.... The id10T error will be fixed in a minute. :) There's an issue with the forum upload file procedure and windows 10 edge.... switched back to IE and it worked they way it should. [code] Dim MyChannels = AllChannels.Where(Function(ach) ach.GroupNames.Contains("GuysChannels")) For Each channel In MyChannels Dim programInfo As String = String.Empty Dim it As ListViewItem = New ListViewItem("") it.Tag = channel [/code] [code] Dim selectChannel As TvDatabase.Channel = myitem.Tag Dim tuningDetail As TvDatabase.TuningDetail = selectChannel.ReferringTuningDetail(0) Dim myChannel As TvLibrary.Channels.ATSCChannel = New TvLibrary.Channels.ATSCChannel() myChannel.FreeToAir = tuningDetail.FreeToAir myChannel.Frequency = tuningDetail.Frequency myChannel.IsRadio = tuningDetail.IsRadio myChannel.IsTv = tuningDetail.IsTv myChannel.MajorChannel = tuningDetail.MajorChannel myChannel.MinorChannel = tuningDetail.MinorChannel myChannel.Name = tuningDetail.Name myChannel.NetworkId = tuningDetail.NetworkId myChannel.PmtPid = tuningDetail.PmtPid myChannel.Provider = tuningDetail.Provider myChannel.ServiceId = tuningDetail.ServiceId myChannel.TransportId = tuningDetail.TransportId Dim TuneUser As IUser = myTvUser Dim myResult As TvResult = _TvControl.Tune(TuneUser, myChannel, selectChannel.IdChannel) [/code] [/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