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

    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
    1K
    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
    2K
    THX for all informations, as you know, skin skills is not for me then, this could be (maybe) an improvment for the skin I use. - "the volume increases or decreases by 2 when I press the volume up or down button once." YES, same for me. "There is some weirdness relating to the maximum value displayed. This weirdness may or may not...
    THX for all informations, as you know, skin skills is not for me then, this could be (maybe) an improvment for the skin I use. -...
    Because I wanted to have value in volume OSD like in Windows 11 (without success) : I dig in MP configuration and, found a bug...
    Replies
    2
    Views
    2K
    Please check the wiki. I never take online sources but perform offline imports. You can use external tools for that and change all data including poster. Also the import speed is much faster + the local data are kept forever, even MP2 is removed. To overwrite only some movies you need to remove them once from the share, place an...
    Please check the wiki. I never take online sources but perform offline imports. You can use external tools for that and change all...
    Hi, I'm new here but have been gradually getting my head around setting everything up but one simple task is throwing me off - how...
    Replies
    1
    Views
    369
    https://support.microsoft.com/en-us/windows/ways-to-install-windows-11-e0edbbfb-cfc5-4011-868b-2ce77ac7c70e
    https://support.microsoft.com/en-us/windows/ways-to-install-windows-11-e0edbbfb-cfc5-4011-868b-2ce77ac7c70e
    Not sure if this is the correct section to post but is there any advantage in updating a Win 7 system to Win 10 I have run Win 7...
    Replies
    20
    Views
    2K
    Top Bottom