Latest Media Handler v2.4.X.000 (3 Viewers)

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,956
    5,629
    France - IDF
    Home Country
    France France
    hello,
    for now, on resume, none GUI freeze after resume. previously the GUI freeze few sec before to be usable. and i can see this one because i use the Xmas theme from @catavolt on the new DFWHD, and the snow background animation help to see when MP is freeze or not lol
    if i can explain the step :

    resume -> MP Gui displayed > i can see snow anim > snow "stop" > snow " play" > snow stop > ... after a while the snow working everytime.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I have open a thread for loadskin :
    https://forum.team-mediaportal.com/...-some-loadskin-error-from-plugin-side.132862/

    I'm talking about this post : https://forum.team-mediaportal.com/...andler-v2-3-x-000.132114/page-40#post-1162730
    we can see that here :

    1. LatestMediaHandler.Utils.GetLatestsFacade(Int32 ControlID)
    2. LatestMediaHandler.LatestMyVideosHandler.InitFacade(Boolean OnActivate)
    3. LatestMediaHandler.LatestMyVideosHandler.MyVideosUpdateLatest()
    Maybe this need to be send in sync with the new method added from Jira MP1-4720 :)

    Edit, this mean that maybe Utils.GetLatestsFacade(ControlID); need to be in sync but i'm not sure.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,749
    10,727
    Kyiv
    Home Country
    Ukraine Ukraine
    Edit, this mean that maybe Utils.GetLatestsFacade(ControlID); need to be in sync but i'm not sure.

    Now, this method looks like this, I do not think that it should be something else to add.
    Code:
        internal static GUIFacadeControl GetLatestsFacade(int ControlID)
        {
          try
          {
            if (GUIWindowManager.ActiveWindow > (int)GUIWindow.Window.WINDOW_INVALID)
            {
              GUIWindow gw = GUIWindowManager.GetWindow(GUIWindowManager.ActiveWindow);
              GUIControl gc = gw.GetControl(ControlID);
              return gc as GUIFacadeControl;
            }
          }
          catch (Exception ex)
          {
            logger.Debug("GetLatestsFacade: " + GUIWindowManager.ActiveWindow + " - " + ControlID);
            logger.Error("GetLatestsFacade: " + ex);
          }
          return null;
        }
     

    Users who are viewing this thread

    Top Bottom