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

    Yes, it has an own input manager. Have you tired in inbuild input manager? I need a clear step by step failure description inside MP2. Please also set your logs to debug and upload the logs with the failure description. Both is described in forum and Wiki.
    Yes, it has an own input manager. Have you tired in inbuild input manager? I need a clear step by step failure description inside...
    HI users of MP2, so I have big problems to get Harmony 650 running with MP2. There is no problem running it with MP1 & WMC and...
    Replies
    1
    Views
    444
    I found the answer. The files were downloaded, and must have had some sort of corruption in them that passed the other players I tried them in, but produced the green bar in the TVSeries plugin. After downloading the files again, the problem went away. Thanks for your help.
    I found the answer. The files were downloaded, and must have had some sort of corruption in them that passed the other players I...
    Hi, A problem has just started when I use the TV Series plugin in MP1. The videos play, but with a broad green band at the very...
    Replies
    7
    Views
    515
    I was able to get everything working using mc2xml and xmltv. I still use SchedulesDirect as a source, but have turned off the Schedules Direct plugin.
    I was able to get everything working using mc2xml and xmltv. I still use SchedulesDirect as a source, but have turned off the...
    I don't know if anyone is still supporting SchedulesDirect at this point, but I'm about to toss my HTPC in the garbage because I...
    Replies
    9
    Views
    518
    in MP config goto plugins -> MovingPictures and open the config. There you can delete the wanted movies ;)
    in MP config goto plugins -> MovingPictures and open the config. There you can delete the wanted movies ;)
    I am using MediaPortal 1.30 and Moving Pictures. In fact, I have been using them for so long that my movie list is now... a mess...
    Replies
    1
    Views
    217
    Database Scrapers don't index my TV Series single files in the following containers MP4, MOV, AVI, ASF, WMV, MKV, FLV, TS, MTS, M2TS, DAT, MPG, MPEG, DIV, DIVX, VOB, ISO, TRP I use the following simple format for container ISO (ISO's are full copies of DVD with all warnings, info, even encription intact) TV Series Name 00x00-00...
    Database Scrapers don't index my TV Series single files in the following containers MP4, MOV, AVI, ASF, WMV, MKV, FLV, TS, MTS...
    My Tv Series are in the Format. TV Series Name 00x00 Episode Name The First 00 is the Series Number The Second 00 is the Episode...
    Replies
    1
    Views
    158
    Top Bottom