NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 29 30 31 32 33 … 93 Next »
Change channel programmatically?

 
  • 0 Vote(s) - 0 Average
Change channel programmatically?
MaidenQuebec
Offline

Junior Member

Posts: 46
Threads: 18
Joined: Aug 2008
#1
2008-09-07, 03:24 PM
Hi,

I am writing a small tray program to Alert me a few minutes before a show starts (reminders set using EWA) and so far it works fine.

I would like to add an option so it automatically change the channel on my set top box when I click the balloon that popped up. Everything is well configured within GB-PVR but I would like to change the channel in my software so I suppose there is a way to call a channel change using the API. So far I have only worked with ScheduleHelper object and I would like to know if this can be done.

I see all those different ExeChannelChanger, GirderTunerController and others but since GB-PVR already knows how to change channel, I suppose I should be able to work whit an higher level object which will call the right Channel changer object.

Any chance I can get some code to get me started?

Thanks!
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#2
2008-09-07, 04:03 PM
You might try something along the lines of
Code:
[SIZE=2]
[/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]PluginHelperFactory[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].getPluginHelper().StartLiveTV([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].ChannelInfo);[/SIZE][SIZE=2]
[/SIZE]

Where this.ChannelInfo is a Channel object.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#3
2008-09-07, 04:15 PM
Sorry, but the call above, and the various other GB-PVR api arent callable outside of the PVRX2.exe and GBPVRRecordingService.exe processes. They depend on functionality in those modules.
MaidenQuebec
Offline

Junior Member

Posts: 46
Threads: 18
Joined: Aug 2008
#4
2008-09-07, 04:49 PM
So I suppose I can't really access any of the IRBlaster API configured in GB-PVR to blast my set top box using a GB-PVR API?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#5
2008-09-07, 04:52 PM
Sorry no. There is a few reasons why, but the most critical is what I mentioned above about the GB-PVR api only being usable inside the GB-PVR processes.
MaidenQuebec
Offline

Junior Member

Posts: 46
Threads: 18
Joined: Aug 2008
#6
2008-09-07, 04:59 PM
Ok. It is only a problem because I wanted to make my small app available here.

For my need, I can just call IRServer suite and send it the channel number using Shell.

Do you plan to add Reminders in GB-PVR in the future? I mean there is a reminder feature in the API but something that would popup in the GBPVR Tray would be nice. In fact that is why I've made one, maybe only usefull for me who knows?

Thanks again for this great piece of software!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#7
2008-09-07, 05:05 PM
The reminder API exists because there use to be functionality to this in the old GBPVR.exe user interface. It was never a popular feature though, so when I replaced GBPVR.exe with PVXR2.exe I didnt bother to try replicating this behaviour.

It didnt use to popup tray reminders from the tray icon, but it would automatically start live tv on that channel, or switch the running live tv to that channel.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  API channel.stream.start mvallevand 2 1,239 2023-05-07, 09:40 PM
Last Post: mvallevand
  Way to tell programmatically if channel load in from NPVR has finished... gdogg371 3 2,320 2021-03-11, 03:59 PM
Last Post: mvallevand
  What is being sent when using /live?channel=3.1 scJohn 2 1,860 2020-01-30, 04:51 PM
Last Post: sub
  Web command to create recurring any channel mvallevand 2 2,546 2019-02-04, 03:09 PM
Last Post: mvallevand
  XMLTV Channel Number Option gdogg371 12 6,598 2018-07-18, 04:32 PM
Last Post: sub
  Channels List by Channel Group Name scJohn 1 2,729 2018-01-05, 10:45 PM
Last Post: mvallevand
  Channel List (native controller) psycik 2 3,021 2017-06-19, 09:14 AM
Last Post: psycik
  Getting all channel listings - decimal channel numbers psycik 11 8,100 2015-12-13, 02:17 AM
Last Post: seejaydee
  Change recording filename programmatically immediately before recording starts? craigrs84 5 5,973 2015-07-13, 09:28 PM
Last Post: patco444
  Channel/ChannelMapping whurlston 4 2,829 2014-04-14, 06:26 PM
Last Post: whurlston

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode