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

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Here is 2 videos attached :

    Screen 11-22-2015 18-31-27_LMH_Disable.7z -> It's fast and LastMediaHandler is disable in MP config.
    Screen 11-22-2015 18-34-45_LMH_Enable.7z -> It's slow (arround 5s) and LastMediaHandler is enable in MP config.

    Now you can see what i'm talking about.

    Ps : I have a SSD as drive and i7 CPU, so it should my HTPC is fast enough lol.
     

    Attachments

    • Screen 11-22-2015 18-31-27_LMH_Disable.7z
      5.4 MB
    • Screen 11-22-2015 18-34-45_LMH_Enable.7z
      6.9 MB

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    @ajs I have reverted :

    internal LatestsCollection GetLatestMusic(bool _onStartUp, string type) -> result is a little faster.

    Reverting :
    private LatestsCollection GetLatestTVSeries(Types type, bool onlyNew)
    private LatestsCollection GetLatestTVSeriesSeries(Types type, bool onlyNew)
    private LatestsCollection GetLatestTVSeriesEpisodes(Types type, bool onlyNew)

    Doesn't seems to give faster refresh. But i will compare again.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Ok :) now it's super fast because i comment out the refresh on : (for TVS / Music / Picture)
    case GUIMessage.MessageType.GUI_MSG_PLAYBACK_STOPPED:

    I will re-enable one by one.

    So maybe the thing to do is to start the refresh in delayed like we do for lastfm song.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    @ajs, the more i test and the more i think that even in async, when sqlite db is returning value, it seems that it old MP GUI.
    So maybe we can do the refresh only for the current plugin (on playback stop) ?

    So if we are on Music, we apply thr refresh for music, if picture only refresh the picture and tvs on series etc. ?

    What do you think ?

    I don't know if we can detect the current used plugin to parse the information to LMH, but i think it will be only a workaround, like i said before, changing the query for music part reduce the freeze.
     

    Users who are viewing this thread

    Top Bottom