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

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    # LatestMediaHandler 2.3.0.51
    * Fix for play music from latests where , in filenames
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    Add #latestMediaHandler.music.latest + z + .year plz test
     

    Attachments

    • LatestMediaHandler.dll.zip
      230.9 KB

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I have an issue and it lead to LMH (maybe also related to apollo skin).
    When MP goes back to TVS list, there is a delay introduce around 4 seconds before screen is refreshed.
    When i disable the LMH dll (i have try the very latest and little older one) the refresh is done quickly.

    22-Nov-2015 14:04:26 Info [LatestMovingPictures]: Updating Latest Media Info: MovingPictures: Movie 1: Dragon Ball Z - Film 15 - La Résurrection de ‘F’ 2015-11-21
    22-Nov-2015 14:04:26 Info [LatestMovingPictures]: Updating Latest Media Info: MovingPictures: Movie 2: Infini 2015-11-21
    22-Nov-2015 14:04:26 Info [LatestMovingPictures]: Updating Latest Media Info: MovingPictures: Movie 3: Pay the Ghost 2015-11-19
    22-Nov-2015 14:04:26 Info [LatestMovingPictures]: Updating Latest Media Info: MovingPictures: Movie 4: Hitman: Agent 47 2015-11-18
    22-Nov-2015 14:04:26 Debug [LatestMovingPictures]: Updating Latest Media Info: MovingPictures: Has new: false
    22-Nov-2015 14:04:27 Debug [ RefreshWorker]: RefreshWorker: Complete: LatestMediaHandler.LatestMovingPicturesHandler
    22-Nov-2015 14:04:39 Debug [ LatestMusicHandler]: Playback End/Stop detected: Refreshing latest.
    22-Nov-2015 14:04:39 Debug [LatestMyVideosHandle]: Playback End/Stop detected: Refreshing latest.
    22-Nov-2015 14:04:39 Debug [LatestTVSeriesHandle]: Playback End/Stop detected: Refreshing latest.
    22-Nov-2015 14:04:39 Debug [ RefreshWorker]: RefreshWorker: Start: LatestMediaHandler.LatestTVSeriesHandler
    22-Nov-2015 14:04:39 Debug [ RefreshWorker]: RefreshWorker: Start: LatestMediaHandler.LatestMusicHandler
    22-Nov-2015 14:04:39 Debug [ RefreshWorker]: RefreshWorker: Start: LatestMediaHandler.LatestMyVideosHandler
    22-Nov-2015 14:04:39 Debug [LatestMyVideosHandle]: Updating Latest Media Info: MyVideo: Has new: false
    22-Nov-2015 14:04:42 Debug [ LatestMusicHandler]: GetLatestMusic: Mode: Latest Added Music Received: 10 songs.
    22-Nov-2015 14:04:44 Debug [LatestPictureHandler]: Playback End/Stop detected: Refreshing latest.
    22-Nov-2015 14:04:44 Debug [LatestMovingPictures]: Playback End/Stop detected: Refreshing latest.
    22-Nov-2015 14:04:44 Debug [ RefreshWorker]: RefreshWorker: Start: LatestMediaHandler.LatestPictureHandler
    22-Nov-2015 14:04:44 Debug [ RefreshWorker]: RefreshWorker: Start: LatestMediaHandler.LatestMovingPicturesHandler
    22-Nov-2015 14:04:44 Debug [ RefreshWorker]: RefreshWorker: Complete: LatestMediaHandler.LatestMyVideosHandler
    22-Nov-2015 14:04:44 Info [LatestMovingPictures]: Updating Latest Media Info: MovingPictures: Movie 1: Dragon Ball Z - Film 15 - La Résurrection de ‘F’ 2015-11-21
    22-Nov-2015 14:04:44 Info [LatestMovingPictures]: Updating Latest Media Info: MovingPictures: Movie 2: Infini 2015-11-21
    22-Nov-2015 14:04:44 Info [LatestMovingPictures]: Updating Latest Media Info: MovingPictures: Movie 3: Pay the Ghost 2015-11-19
    22-Nov-2015 14:04:44 Info [LatestMovingPictures]: Updating Latest Media Info: MovingPictures: Movie 4: Hitman: Agent 47 2015-11-18
    22-Nov-2015 14:04:44 Debug [LatestMovingPictures]: Updating Latest Media Info: MovingPictures: Has new: false
    22-Nov-2015 14:04:44 Debug [ RefreshWorker]: RefreshWorker: Complete: LatestMediaHandler.LatestMovingPicturesHandler
    22-Nov-2015 14:04:44 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 14:04:44 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 14:04:44 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 14:04:44 Info [LatestPictureHandler]: Updating Latest Media Info: Pictures: Picture 4: C:\Users\Homecinema\Pictures\MediaPortal Screenshots\2015-11-11\17-54-30.png
    22-Nov-2015 14:04:44 Debug [LatestPictureHandler]: Updating Latest Media Info: Pictures: Has new: false
    22-Nov-2015 14:04:44 Debug [ RefreshWorker]: RefreshWorker: Complete: LatestMediaHandler.LatestPictureHandler
    22-Nov-2015 14:04:45 Info [LatestTVSeriesHandle]: Updating Latest Media Info: TVSeries: Episode 1: The Vampire Diaries - Mommie Dearest
    22-Nov-2015 14:04:45 Info [LatestTVSeriesHandle]: Updating Latest Media Info: TVSeries: Episode 2: Grimm - Maiden Quest
    22-Nov-2015 14:04:45 Info [LatestTVSeriesHandle]: Updating Latest Media Info: TVSeries: Episode 3: Les Mystères de Haven - Close to Home
    22-Nov-2015 14:04:45 Info [LatestTVSeriesHandle]: Updating Latest Media Info: TVSeries: Episode 4: Elementary - Tag, You're Me
    22-Nov-2015 14:04:45 Debug [LatestTVSeriesHandle]: Updating Latest Media Info: TVSeries: Has new: false
    22-Nov-2015 14:04:47 Debug [ RefreshWorker]: RefreshWorker: Complete: LatestMediaHandler.LatestTVSeriesHandler
    22-Nov-2015 14:04:54 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 14:04:54 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 14:04:54 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 14:04:54 Info [ LatestMusicHandler]: Updating Latest Media Info: Music: Latest Added Music Album 4: Various Artists - Now That's What I Call Music! 47 [2015-11-20/01/01/0001 00:00:00] -
    22-Nov-2015 14:04:54 Debug [ LatestMusicHandler]: Updating Latest Media Info: Music: Has new: false
    22-Nov-2015 14:04:54 Debug [ RefreshWorker]: RefreshWorker: Complete: LatestMediaHandler.LatestMusicHandler
    22-Nov-2015 14:05:29 Debug [ RefreshWorker]: RefreshWorker: Start: LatestMediaHandler.LatestTVSeriesHandler
    22-Nov-2015 14:05:32 Info [LatestTVSeriesHandle]: Updating Latest Media Info: TVSeries: Episode 1: The Vampire Diaries - Mommie Dearest
    22-Nov-2015 14:05:32 Info [LatestTVSeriesHandle]: Updating Latest Media Info: TVSeries: Episode 2: Grimm - Maiden Quest
    22-Nov-2015 14:05:32 Info [LatestTVSeriesHandle]: Updating Latest Media Info: TVSeries: Episode 3: Les Mystères de Haven - Close to Home
    22-Nov-2015 14:05:32 Info [LatestTVSeriesHandle]: Updating Latest Media Info: TVSeries: Episode 4: Elementary - Tag, You're Me
    22-Nov-2015 14:05:32 Debug [LatestTVSeriesHandle]: Updating Latest Media Info: TVSeries: Has new: false
    22-Nov-2015 14:05:34 Debug [ RefreshWorker]: RefreshWorker: Complete: LatestMediaHandler.LatestTVSeriesHandler

    Code:
    [2015-11-22 14:04:39,450] [Log    ] [RefreshWorker-LatestMediaHandler.LatestMusicHandler] [DEBUG] - MusicDatabase: GetSongsByFilter - SQL: SELECT strAlbumArtist, strAlbum, iYear, strFileType, dateAdded, iTimesPlayed, dateLastPlayed, strGenre, strPath, (SELECT strAMGBio FROM artistinfo WHERE LOWER(TRIM(T.strAlbumArtist,'| ')) = LOWER(TRIM(strArtist))) AS strLyrics FROM (SELECT strAlbumArtist, strAlbum, iYear, 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 WHERE strAlbumArtist IS NOT null AND TRIM(strAlbumArtist) <> '' GROUP BY strAlbumArtist, strAlbum, strFileType ORDER BY dateAdded DESC LIMIT 10) AS T, Filter: tracks
    [2015-11-22 14:04:44,938] [Log    ] [RefreshWorker-LatestMediaHandler.LatestPictureHandler] [INFO ] - SQLiteClient: Closing database: PictureDatabase.db3
    [2015-11-22 14:04:45,093] [Log    ] [MPMain   ] [DEBUG] - TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\TVSeriesDynLogo1x4720ph264ac-35.1widescreennosubtitles.png]
    [2015-11-22 14:04:54,542] [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 14:05:18,737] [Log    ] [MediaScanner] [INFO ] - SQLiteClient: Closing database: VideoDatabaseV5.db3

    I think the delay i can see is :
    [2015-11-22 14:04:39,450] [Log ] [RefreshWorker-LatestMediaHandler.LatestMusicHandler]
    and
    [2015-11-22 14:04:44,938] [Log ] [RefreshWorker-LatestMediaHandler.LatestPictureHandler]

    Around 5 secs.

    Another try :
    Code:
    [2015-11-22 14:09:17,434] [Log    ] [RefreshWorker-LatestMediaHandler.LatestMusicHandler] [DEBUG] - MusicDatabase: GetSongsByFilter - SQL: SELECT strAlbumArtist, strAlbum, iYear, strFileType, dateAdded, iTimesPlayed, dateLastPlayed, strGenre, strPath, (SELECT strAMGBio FROM artistinfo WHERE LOWER(TRIM(T.strAlbumArtist,'| ')) = LOWER(TRIM(strArtist))) AS strLyrics FROM (SELECT strAlbumArtist, strAlbum, iYear, 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 WHERE strAlbumArtist IS NOT null AND TRIM(strAlbumArtist) <> '' GROUP BY strAlbumArtist, strAlbum, strFileType ORDER BY dateAdded DESC LIMIT 10) AS T, Filter: tracks
    [2015-11-22 14:09:19,573] [Log    ] [MPMain   ] [DEBUG] - Main: WM_ACTIVATE (WA_INACTIVE)
    [2015-11-22 14:09:19,574] [Log    ] [MPMain   ] [INFO ] - Main: Deactivation request received
    [2015-11-22 14:09:19,574] [Log    ] [MPMain   ] [DEBUG] - D3D: OnLostFocus()
    [2015-11-22 14:09:21,550] [Log    ] [RefreshWorker-LatestMediaHandler.LatestPictureHandler] [INFO ] - SQLiteClient: Closing database: PictureDatabase.db3
    [2015-11-22 14:09:22,269] [Log    ] [MPMain   ] [DEBUG] - TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\TVSeriesDynLogo1x4720ph264ac-35.1widescreennosubtitles.png]

    Again 17 to 21 (around 5 secs too)

    So MP act like freezed and background image etc are not displayed.

    I will try with other skin.
     

    dangerzone

    Portal Pro
    January 12, 2009
    271
    44
    53
    delft
    Home Country
    Netherlands Netherlands
    a little help here please :(

    LMH seems to work everywhere exept music.
    i think this problem came when installed 1.13 pre.

    Anyone have any idea where to search ?

    Logs & screenshots attached......
     

    Attachments

    • 2015-11-22 (1).png
      2015-11-22 (1).png
      1.8 MB
    • 2015-11-22 (2).png
      2015-11-22 (2).png
      1.2 MB
    • 2015-11-22.png
      2015-11-22.png
      1.7 MB

    Users who are viewing this thread

    Top Bottom