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

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Yep something hold the GUI when LMH thread is running but only on playback stop, no clue why and yes putting a delay 5s permit to solve it, really strange.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,678
    10,639
    Kyiv
    Home Country
    Ukraine Ukraine
    Yep something hold the GUI when LMH thread is running but only on playback stop, no clue why and yes putting a delay 5s permit to solve it, really strange.
    With that, it is observed not at all.

    Add setting in config file:
    XML:
        <entry name="ScanDelay">5</entry>
    Scan delay in sec ... Try ... :)
     

    Attachments

    • LatestMediaHandler.dll.zip
      231 KB

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Yep something hold the GUI when LMH thread is running but only on playback stop, no clue why and yes putting a delay 5s permit to solve it, really strange.
    With that, it is observed not at all.

    Add setting in config file:
    XML:
        <entry name="ScanDelay">5</entry>
    Scan delay in sec ... Try ... :)

    Working :) thanks.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,956
    5,629
    France - IDF
    Home Country
    France France
    hello, yesterday take this error : ( from official LMH release ) on resume
    Code:
    [2015-11-24 07:04:39,730] [Error  ] [RefreshWorker-LatestMediaHandler.LatestMyVideosHandler] [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)
       à LatestMediaHandler.Utils.GetLatestsFacade(Int32 ControlID)
       à LatestMediaHandler.LatestMyVideosHandler.InitFacade(Boolean OnActivate)
       à LatestMediaHandler.LatestMyVideosHandler.MyVideosUpdateLatest()
       à LatestMediaHandler.RefreshWorker.OnDoWork(DoWorkEventArgs e)
       à System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
       à System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
       à System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
       à System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
       à System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
       à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       à System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       à System.Threading.ThreadPoolWorkQueue.Dispatch()
       à System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()'

    same Log than Fanart thread. but the file : MediaPortal-Error.log
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I understand This error does not from LMH? @catavolt I'm right?
    Yup, you´re right, Anfrew - comes from MP itself, not LMH ;)

    Yes and No :)

    The error comes from plugins that doesn't send the loadskin in sync with main MP thread and the error is logged from MP.
    But in final, that should be fix on plugin side.

    I will try to created the branch i'm talking about provide information to a public method to know where use and send in sync with main MP thread, like this we shouldn't get the error :)
     

    Users who are viewing this thread

    Top Bottom