How to call GUITVGuide inside a plugin (1 Viewer)

STSC

Portal Pro
December 4, 2004
139
0
Germany
Hi,

I'm just wondering how the GUITVGuide gets called inside the GUITVHome.
There is just a BTN_TVGuide inside an ENUM.

I would like to call an extra window like the GUITVGuide in my plugin. How can I do this?
 

STSC

Portal Pro
December 4, 2004
139
0
Germany
Ok, I know now how this works. You can use the hyperlink tag inside the xml skin file to call another window by its ID.

frodo
The thing is that I want to create a slightly modified EPG. So I put everything of GUITVGuide.cs into my own plugin and changed the ID to 560, which isn't used yet. But that doesn't work. Do you know why?
 

Mr.Mitchell

Retired Team Member
  • Premium Supporter
  • May 13, 2004
    227
    0
    the Netherlands
    Did you also make the required changes to the skin file?
    Your version should load a different skin file and the window ID in the skin file should match the ID you are using in the code
     

    STSC

    Portal Pro
    December 4, 2004
    139
    0
    Germany
    This is what I did. The strange thing is when I use the original ID (=600), it works, but it replaces the original EPG of MP.

    So there must be something that needs to be initialised before you can start your EPG??????
     

    mPod

    Portal Pro
    January 26, 2005
    2,084
    3
    Berlin
    Home Country
    Germany Germany
    Why don't you use this one?

    Code:
    GUIMessage msgtv = new GUIMessage(GUIMessage.MessageType.GUI_MSG_GOTO_WINDOW,0,0,0,(int)GUIWindow.Window.WINDOW_TVGUIDE,0,null);
    GUIGraphicsContext.SendMessage(msgtv);
     

    Users who are viewing this thread

    Similar threads

    MP2 uses the same TV engine as MP1, so it must work also with MP2, you just need to select TVE3 and not TVE3.5 in the installer. MP2 also supports a 3rd TV engine TVMosaic, but this is configured web-based and I can not tell you, if this works with your hardware.
    MP2 uses the same TV engine as MP1, so it must work also with MP2, you just need to select TVE3 and not TVE3.5 in the installer...
    My computer is running Windows 10 Pro. I have installed MP2. Not sure what version. I have a Hauppauge WinTV 1850 TV card...
    Replies
    5
    Views
    138
    Thanks guys for your help so far, I'll check out the info.
    Thanks guys for your help so far, I'll check out the info.
    Hi, I've been using MP2 for a couple of years now. And I was wondering how easy would it be (for me) to add extra features to the...
    Replies
    14
    Views
    2K
    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and check.
    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and...
    I don't have a TV card in my HTPC setup, so I really only use plugins that browse and show media files, like MP TV-Series, Moving...
    Replies
    5
    Views
    371
    done: Loading...
    done: Loading...
    Hi. I have a problem with a WebEPG grabber I'm trying to do. The problem is that the site returns a json-file and I cant get my...
    Replies
    25
    Views
    4K
    Due to the recent update in FanartHandler and using dynamic paths for the ClearArt, ClearLogo and CDArt this is resolved without the need to update MovingPictures Cornerstone.MP.Extensions as FH no longer uses #selecteditem and instead uses #MovingPictures.SelectedMovie.title. At the moment MePo theme has these values but I plan to...
    Due to the recent update in FanartHandler and using dynamic paths for the ClearArt, ClearLogo and CDArt this is resolved without...
    There is an issue with missing #fanarthandler.movie.clearart.selected path value when MovingPictures loads a list of movies. When...
    Replies
    1
    Views
    233
    Top Bottom