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


    Write your reply...

    Similar threads

    It is present, but not with that name. It is called Scheduler, viz: Interesting. I had never noticed that when the "command" is "ACTION", the "cmdproperty" is the actual window id, but it makes sense that it is. Try this for yourself. First backup your working profile for the remote, then in the "Mapping" panel make a change to...
    It is present, but not with that name. It is called Scheduler, viz: Interesting. I had never noticed that when the "command" is...
    I would like to be able to go directly to the Scheduled recordings window without having to first go to the home menu. I saw this...
    Replies
    1
    Views
    243
    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
    857
    How do you add a new selection to the TV Guide Rows option in the BasicHome Editor in DWHD? Id like to add an option for 8 Rows. Which xmls should I be looking at to change.? Thanks!
    How do you add a new selection to the TV Guide Rows option in the BasicHome Editor in DWHD? Id like to add an option for 8 Rows...
    How do you add a new selection to the TV Guide Rows option in the BasicHome Editor in DWHD? Id like to add an option for 8 Rows...
    Replies
    0
    Views
    343
    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
    2K
    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
    2K
    Top Bottom