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

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    When MP goes back to TVS list, there is a delay introduce around 4 seconds before screen is refreshed.
    TVSeries?
    So MP act like freezed and background image etc are not displayed.
    Updating occurs in a separate thread, and does not affect the main thread which employs MP.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Watch a serie (in TVSeries plugin) -> hit 'B' key (stop playback) -> here there is a delay when jpg/list etc. are refreshed. I have try to screenshot it but didn't work.
    I have pinpoint where the delay occurs and dll version/commit.

    I know that it's seems running in a thread but i can see the delay between latest working dll and newer.

    So it happen with titan / apollo / smp and changing the sqlite.dll does the same result :(

    Will try defaulthd :)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    DefaultWideHD does the same.

    It seems that i succeed to get a screenshot :
    So TVS screen :
    17-17-25.png

    I start to play a serie and stop and i get freezed : (note that the background image is not the correct one but maybe because i use this dll 2.3.0.47 for the test but the latest one give the same delay)
    17-13-41.png

    The delay : 17:21:54 to 17:21:59

    Code:
    22-Nov-2015 17:21:54 Debug [LatestMyVideosHandle]: Updating Latest Media Info: MyVideo: Has new: false
    22-Nov-2015 17:21:57 Debug [  LatestMusicHandler]: GetLatestMusic: Mode: Latest Added Music - 10
    22-Nov-2015 17:21:58  Info [  LatestMusicHandler]: Updating Latest Media Info: Music: Latest Added Music Album 1: Various Artists - Now That's What I Call Music! 47 [2015-11-20/13/11/2015 22:28:22] -
    22-Nov-2015 17:21:58  Info [  LatestMusicHandler]: Updating Latest Media Info: Music: Latest Added Music Album 2: Various - Trance The Vocal Session 2011-2 (CD1) [2015-11-20/14/01/2015 22:09:47] -
    22-Nov-2015 17:21:58  Info [  LatestMusicHandler]: Updating Latest Media Info: Music: Latest Added Music Album 3: Various - Trance The Vocal Session 2011-2 (CD2) [2015-11-20/01/01/0001 00:00:00] -
    22-Nov-2015 17:21:58 Debug [  LatestMusicHandler]: Updating Latest Media Info: Music: Has new: false
    22-Nov-2015 17:21:58  Info [LatestTVSeriesHandle]: Updating Latest Media Info: TVSeries: Episode 1: The Vampire Diaries - Mommie Dearest
    22-Nov-2015 17:21:58  Info [LatestTVSeriesHandle]: Updating Latest Media Info: TVSeries: Episode 2: Grimm - Maiden Quest
    22-Nov-2015 17:21:58  Info [LatestTVSeriesHandle]: Updating Latest Media Info: TVSeries: Episode 3: Les Mystères de Haven - Close to Home
    22-Nov-2015 17:21:58 Debug [LatestTVSeriesHandle]: Updating Latest Media Info: TVSeries: Has new: false
    22-Nov-2015 17:21:59 Debug [LatestPictureHandler]: Playback End/Stop detected: Refreshing latest.
    22-Nov-2015 17:21:59 Debug [LatestMovingPictures]: Playback End/Stop detected: Refreshing latest.
    22-Nov-2015 17:21:59 Debug [       RefreshWorker]: RefreshWorker: Start: LatestMediaHandler.LatestPictureHandler
    22-Nov-2015 17:21:59 Debug [       RefreshWorker]: RefreshWorker: Start: LatestMediaHandler.LatestMovingPicturesHandler
    22-Nov-2015 17:21:59 Debug [       RefreshWorker]: RefreshWorker: Complete: LatestMediaHandler.LatestMyVideosHandler
    22-Nov-2015 17:21:59 Debug [       RefreshWorker]: RefreshWorker: Complete: LatestMediaHandler.LatestMusicHandler
    22-Nov-2015 17:21:59  Info [LatestMovingPictures]: Updating Latest Media Info: MovingPictures: Movie 1: No Escape 2015-11-22
    22-Nov-2015 17:21:59  Info [LatestMovingPictures]: Updating Latest Media Info: MovingPictures: Movie 2: Dragon Ball Z - Film 15 - La Résurrection de ‘F’ 2015-11-21
    22-Nov-2015 17:21:59  Info [LatestMovingPictures]: Updating Latest Media Info: MovingPictures: Movie 3: Infini 2015-11-21
    22-Nov-2015 17:21:59 Debug [LatestMovingPictures]: Updating Latest Media Info: MovingPictures: Has new: false
    22-Nov-2015 17:21:59 Debug [       RefreshWorker]: RefreshWorker: Complete: LatestMediaHandler.LatestMovingPicturesHandler
    22-Nov-2015 17:21:59  Info [LatestPictureHandler]: Updating Latest Media Info: Pictures: Picture 1: C:\Users\Homecinema\Pictures\MediaPortal Screenshots\2015-11-11\17-52-41.png
    22-Nov-2015 17:21:59  Info [LatestPictureHandler]: Updating Latest Media Info: Pictures: Picture 2: C:\Users\Homecinema\Pictures\MediaPortal Screenshots\2015-11-11\17-54-50.png
    22-Nov-2015 17:21:59  Info [LatestPictureHandler]: Updating Latest Media Info: Pictures: Picture 3: C:\Users\Homecinema\Pictures\MediaPortal Screenshots\2015-11-11\17-54-45.png
    22-Nov-2015 17:21:59 Debug [LatestPictureHandler]: Updating Latest Media Info: Pictures: Has new: false
    22-Nov-2015 17:21:59 Debug [       RefreshWorker]: RefreshWorker: Complete: LatestMediaHandler.LatestPictureHandler
    22-Nov-2015 17:21:59 Debug [       RefreshWorker]: RefreshWorker: Complete: LatestMediaHandler.LatestTVSeriesHandler

    Mp.log : The delay : 17:21:54 to 17:21:59

    Code:
    [2015-11-22 17:21:54,081] [Log    ] [MPMain   ] [DEBUG] - g_Player.doStop() - stop
    [2015-11-22 17:21:54,081] [Log    ] [MPMain   ] [INFO ] - VideoPlayer:ended Y:\-=- Serie TV 2 -=-\24 Saison5\24 S05E03-04.avi
    [2015-11-22 17:21:54,081] [Log    ] [MPMain   ] [INFO ] - VideoPlayer9: Cleanup DShow graph
    [2015-11-22 17:21:54,095] [Log    ] [MPMain   ] [INFO ] - VideoPlayer9: Cleanup Sub/PostProcess
    [2015-11-22 17:21:54,095] [Log    ] [MPMain   ] [INFO ] - VideoPlayer9: Cleanup VideoCodec
    [2015-11-22 17:21:54,096] [Log    ] [MPMain   ] [INFO ] - VideoPlayer9: Cleanup AudioCodec
    [2015-11-22 17:21:54,097] [Log    ] [MPMain   ] [INFO ] - Disconnecting all pins from filter MediaPortal - Audio Renderer
    [2015-11-22 17:21:54,097] [Log    ] [MPMain   ] [INFO ] - VideoPlayer9: Cleanup AudioRenderer
    [2015-11-22 17:21:54,098] [Log    ] [MPMain   ] [INFO ] - VideoPlayer9: Cleanup InterfaceSourceFilter
    [2015-11-22 17:21:54,098] [Log    ] [MPMain   ] [INFO ] - VideoPlayer9: Cleanup PostProcess
    [2015-11-22 17:21:54,098] [Log    ] [MPMain   ] [INFO ] - VideoPlayer9: Cleanup PostProcess MediaPortal AudioSwitcher
    [2015-11-22 17:21:54,099] [Log    ] [MPMain   ] [INFO ] - Disconnecting all pins from filter Enhanced Video Renderer
    [2015-11-22 17:21:54,100] [Log    ] [MPMain   ] [DEBUG] - Remove filter from graph: Enhanced Video Renderer 2
    [2015-11-22 17:21:54,100] [Log    ] [MPMain   ] [INFO ] - Disconnecting all pins from filter LAV Audio Decoder
    [2015-11-22 17:21:54,100] [Log    ] [MPMain   ] [INFO ] - Disconnecting pin Output
    [2015-11-22 17:21:54,101] [Log    ] [MPMain   ] [INFO ] -   Not connected
    [2015-11-22 17:21:54,104] [Log    ] [MPMain   ] [DEBUG] - Remove filter from graph: LAV Audio Decoder 1
    [2015-11-22 17:21:54,104] [Log    ] [MPMain   ] [INFO ] - Disconnecting all pins from filter LAV Video Decoder
    [2015-11-22 17:21:54,104] [Log    ] [MPMain   ] [INFO ] - Disconnecting pin Output
    [2015-11-22 17:21:54,104] [Log    ] [MPMain   ] [INFO ] -   Not connected
    [2015-11-22 17:21:54,114] [Log    ] [MPMain   ] [DEBUG] - Remove filter from graph: LAV Video Decoder 1
    [2015-11-22 17:21:54,114] [Log    ] [MPMain   ] [INFO ] - Disconnecting all pins from filter LAV Splitter Source
    [2015-11-22 17:21:54,115] [Log    ] [MPMain   ] [INFO ] - Disconnecting pin Video
    [2015-11-22 17:21:54,115] [Log    ] [MPMain   ] [INFO ] -   Not connected
    [2015-11-22 17:21:54,115] [Log    ] [MPMain   ] [INFO ] - Disconnecting pin Audio
    [2015-11-22 17:21:54,115] [Log    ] [MPMain   ] [INFO ] -   Not connected
    [2015-11-22 17:21:54,118] [Log    ] [MPMain   ] [DEBUG] - Remove filter from graph: LAV Splitter Source 3
    [2015-11-22 17:21:54,119] [Log    ] [MPMain   ] [INFO ] - VideoPlayer9: Cleanup Graphbuilder
    [2015-11-22 17:21:54,120] [Log    ] [MPMain   ] [DEBUG] - VMR9: Dispose
    [2015-11-22 17:21:54,123] [Log    ] [MPMain   ] [DEBUG] - SubtitleRenderer: starting cleanup
    [2015-11-22 17:21:54,123] [Log    ] [MPMain   ] [DEBUG] - SubtitleRenderer: cleanup done
    [2015-11-22 17:21:54,124] [Log    ] [MPMain   ] [DEBUG] - VMR9: Inactive
    [2015-11-22 17:21:54,135] [Log    ] [MPMain   ] [DEBUG] - PlaneScene: PresentImage() dispose surfaces
    [2015-11-22 17:21:54,477] [Log    ] [MPMain   ] [INFO ] - VideoPlayer9: Disabling DX9 exclusive mode
    [2015-11-22 17:21:54,477] [Log    ] [MPMain   ] [INFO ] - Main: GUI_MSG_SWITCH_FULL_WINDOWED message is obsolete.
    [2015-11-22 17:21:54,478] [Log    ] [MPMain   ] [INFO ] - RefreshRateChanger.AdaptRefreshRate: 'auto refreshrate changer' not going back to default refreshrate
    [2015-11-22 17:21:54,487] [Log    ] [MPMain   ] [INFO ] - GUIVideoFullscreen:stop
    [2015-11-22 17:21:54,488] [Log    ] [MPMain   ] [DEBUG] - Windowmanager: Goto previous window
    [2015-11-22 17:21:54,489] [Log    ] [MPMain   ] [DEBUG] - Window: MediaPortal.GUI.Video.GUIVideoFullscreen deinit
    [2015-11-22 17:21:54,490] [Log    ] [MPMain   ] [DEBUG] - TextureManager: CleanupThumbs()
    [2015-11-22 17:21:54,506] [Log    ] [MPMain   ] [WARN ] - GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\DefaultWideHD\TVSeries.xml' is missing control id 526 (window property: loadingImage)
    [2015-11-22 17:21:54,731] [Log    ] [MPMain   ] [DEBUG] - TextureManagerEx: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\TVSeriesDynLogoDivXsdwidescreenstereo.png]
    [2015-11-22 17:21:54,732] [Log    ] [MPMain   ] [DEBUG] - Window: WindowPlugins.GUITVSeries.TVSeriesPlugin init
    [2015-11-22 17:21:54,741] [Log    ] [MPMain   ] [DEBUG] - D3D: OnPaint()
    [2015-11-22 17:21:54,741] [Log    ] [MPMain   ] [DEBUG] - D3D: Force mouse cursor to false
    [2015-11-22 17:21:54,742] [Log    ] [MPMain   ] [DEBUG] - D3D: Cursor ShowMouseCursor state -1
    [2015-11-22 17:21:54,747] [Log    ] [RefreshWorker-LatestMediaHandler.LatestMusicHandler] [DEBUG] - MusicDatabase: GetSongsByFilter - SQL: SELECT strAlbumArtist, strAlbum, strFileType, dateAdded, iTimesPlayed, dateLastPlayed, strGenre, strPath, (SELECT strAMGBio FROM artistinfo WHERE LOWER(TRIM(T.strAlbumArtist,'| ')) = LOWER(TRIM(strArtist))) AS strLyrics FROM (SELECT strAlbumArtist, strAlbum, strFileType, MAX(dateAdded) AS dateAdded, CAST(ROUND(AVG(iTimesPlayed)) AS INTEGER) AS iTimesPlayed, MAX(dateLastPlayed) AS dateLastPlayed, GROUP_CONCAT(strGenre,'|') AS strGenre, GROUP_CONCAT(strPath,'|') AS strPath FROM tracks GROUP BY strAlbumArtist, strAlbum, strFileType ORDER BY dateAdded DESC LIMIT 10) AS T, Filter: tracks
    [2015-11-22 17:21:57,661] [Log    ] [RefreshWorker-LatestMediaHandler.LatestMusicHandler] [DEBUG] - MusicDatabase: GetSongsByFilter - SQL: select distinct strAlbumArtist, strAlbum, dateAdded, iTimesPlayed, strGenre, strPath from tracks order by dateAdded desc limit 1;, Filter: tracks
    [2015-11-22 17:21:59,852] [Log    ] [RefreshWorker-LatestMediaHandler.LatestPictureHandler] [INFO ] - SQLiteClient: Closing database: PictureDatabase.db3
    [2015-11-22 17:21:59,963] [Log    ] [MPMain   ] [DEBUG] - TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\TVSeriesDynLogoDivXsdwidescreenstereo.png]
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    I know that it's seems running in a thread but i can see the delay between latest working dll and newer.
    I have no such delay or 1.12 or 1.13 ... Can drive to the database goes to sleep?
    The delay : 17:21:54 to 17:21:59
    Each type is updated in parallel thread. And should have no effect on the primary.
    If i remove the FanartHandler.db3 (20Mb), it's a little faster.
    Very strange ... I do not know where to look ...
     

    Users who are viewing this thread

    Top Bottom