Go To Specific Channel (1 Viewer)

TrueBlue

Portal Member
March 6, 2008
21
3
Stockholm
Home Country
Sweden Sweden
I have some development questions...

How can i navigate to a specific TV channel by code ?

What is the best method to start TV or Music by code ?

I want to make a plugin that lets my wife to push a TV Channel icon on my pronto remote and start up my system, navigate to TV Dialog and start playing that channel.
 

Kyght Ryder

Portal Member
January 22, 2008
32
1
Home Country
United States of America United States of America
83 views and 0 replies. A forum is supposed to be a place to collectively help and share ideas. True Blue... I am not a programer or anything but your solution may be simple and not need a need a whole new plug-in

Here is a few ideas

1. Buy a cheap MCE (IR) Remote that is compatible with Media Portal. Have the Pronto learn the IR codes from the Remote. Enable the Remote in Media portal Advanced setings and use Mophat's Shorter cut plugin or rsenden Generic Keyboard/Remote Input Plugin. In Theory this should work and then you can set up whatever macro you want in conjuction.

2. Buy USB-UIRT (more flexible it can learn any IR code) Use this in conjuction with (and-81's) IR Server Suite plug-in and go to Remote Central and find someone that has a layout for MCE remote or Wireless keyboard and use those ir codes with Mophat's Shorter cut plugin or rsenden Generic Keyboard/Remote Input Plugin.

I think both ways you should be able to program a button on pronto to perform a macro which automatically turn on system, go to my tv and change channel.

This just an idea at least it's a reply and may have other ideas pop up as well.
 

TrueBlue

Portal Member
March 6, 2008
21
3
Stockholm
Home Country
Sweden Sweden
Thanks Kyght Ryder !

I looked at the sourcecode for MediaPortal and reversed engineered how to do the things i wanted.

Move to another part of MediaPortal:


GUIGraphicsContext.ResetLastActivity();
GUIMessage msg = new GUIMessage(GUIMessage.MessageType.GUI_MSG_GOTO_WINDOW, 0, 0, 0, (int)wnd, 0, null);
GUIWindowManager.SendThreadMessage(msg);

where wnd = id for desired function.


Move to a specific TV Channel:

TvPlugin.TVHome.Navigator.SetCurrentGroup(groupNr);
TvPlugin.TVHome.Navigator.ZapToChannel(channelnr, false);


Now i can be wherever i want in my house and control MediaPortal and all my HomeTheater equipment via WLan and TCP from my Pronto. Perfect :)
 

Users who are viewing this thread

Top Bottom