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

    MP1 MP2 EPGCleaner for x64 DE
    Thanks. Worked perfectly. The installer won’t work but dropping the DLL in worked.
    Thanks. Worked perfectly. The installer won’t work but dropping the DLL in worked.
    Hi there I've just made the switch from a working and stable 1.36 x86 installation (Standalone TVServer and a TVClient both...
    Replies
    3
    Views
    272
    I agree about the dash instead of colon on the LIVE thing. I did a little change to get the current program, just removed the D from the tags. Not that important, so I dont upload any new file. A little sad about the end time, but nothing to do about it.
    I agree about the dash instead of colon on the LIVE thing. I did a little change to get the current program, just removed the D...
    I'm trying to develop a new WebEPG grabber for sweden, but I got a few problem in parsing the html-file to get all programs. In...
    Replies
    9
    Views
    997
    Hi CyberSimian (and others) just a bit along the coast from me (near Exeter) - I know you are very long-standing! Not going to make this long winded or anything, but just to point out over the @15 years I've overall donated several hundred quid. And I begrduge NONE of it, not a penny - I do wish MP well - 100%. It is an awesome...
    Hi CyberSimian (and others) just a bit along the coast from me (near Exeter) - I know you are very long-standing! Not going to...
    ONGGGG term MP user (and donator - why wouldn't you?) and leaving somewhat reluctantly. Few reasons, some that just seem...
    Replies
    4
    Views
    259
    I'm getting old... no... I am old... "Once upon a time..." there was a tool to Export MovingPictures-Database to a Document (pdf). Does anybody remeber how it was called, where I can find it... Here are screenshot from the exported Files -->
    I'm getting old... no... I am old... "Once upon a time..." there was a tool to Export MovingPictures-Database to a Document (pdf)...
    I'm getting old... no... I am old... "Once upon a time..." there was a tool to Export MovingPictures-Database to a Document (pdf)...
    Replies
    0
    Views
    156
    I saw there is a plugin section, can be moved there?
    I saw there is a plugin section, can be moved there?
    Hello, for a few days I get an error within Mediaportal when I put the RSS link to trakt calendar. If I insert this link into...
    Replies
    1
    Views
    194
    Top Bottom