- Thread starter
- Moderator
- #631
@azzuro @Sebastiii
In not in FH, its in MP
FH call HideControl with windowId <> WINDOW_INVALID ... but:
GUIWindowManager.GetWindow - > DoRestoreSkin -> AllocResources -> LoadSkin -> Error
In not in FH, its in MP
Code:
public void FanartIsNotAvailable(int windowId)
{
if (windowId > (int)GUIWindow.Window.WINDOW_INVALID)
{
GUIControl.HideControl(windowId, 91919293);
}
}
Code:
[2015-11-25 23:48:52,977] [Error ] [RefreshWorker] [ERROR] - LoadSkin: Running on wrong thread - StackTrace: ' à System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
à System.Environment.get_StackTrace()
à MediaPortal.GUI.Library.GUIWindow.LoadSkin()
à MediaPortal.GUI.Library.GUIWindow.AllocResources()
à MediaPortal.GUI.Library.GUIWindow.DoRestoreSkin()
à MediaPortal.GUI.Library.GUIWindowManager.GetWindow(Int32 dwID, Boolean tryRestoreSkin)
à MediaPortal.GUI.Library.GUIControl.HideControl(Int32 iWindowId, Int32 iControlId)
à FanartHandler.FanartSelected.FanartIsNotAvailable(Int32 windowId)