[solved] When playing music Fanart does not appear immediately after downloading (6 Viewers)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    11,488
    6,412
    Kyiv
    Ukraine Ukraine
    Country flag
    You never give up, right?!
    I try ... This is a hobby, so it’s interesting to find solutions to problems.
    But why for the DB key "tiesto pres allure" the MBID of the second artist is stored instead of the first artist's MBID?
    This result returned the site search ID, why, I do not know. For the artist Tiësto pres. Allure, 3 searches are performed (Tiësto pres. Allure, Tiësto, Allure) and each must be saved.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    11,488
    6,412
    Kyiv
    Ukraine Ukraine
    Country flag
    FH tries to reduce the number of visits to sites, so the search for the ID is carried out at the initial request for the selected providers, if the ID is not found, then the FH searches for pictures by artist name, and if the picture is found and there is an ID in the response of one of their sites, then FH saves it for further use.

    If we consider a bad option, then there may be such a scenario:
    • Query ID by providers, did not return the result. Network failure, the one provider and did not find such an Artist, there are no providers at all, etc.
    • Requesting a picture by Artist Name on provider 1 did not return the result.
    • Requesting a picture by Artist Name on provider 2 did not return the result.
    • Requesting a picture by Artist Name on provider 3 returned a picture but without an artist ID.
    • Requesting a picture by Artist Name on provider 4 returned the picture but with the artist ID. The artist’s ID will be saved, and FH will no longer search for the ID on the sites for this Artist.
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    872
    341
    Munich
    Germany Germany
    Country flag
    Thanks for explaining!

    This behaviour conflicts with the recent setting for MBID providers. An MBID for an artist is determined by a provider which actually was excluded.

    But I just saw that in my case there's an alias for Allure:
    Code:
    http://musicbrainz.org/ws/2/artist/?query="Tiësto pres. Allure"
    1590127536390.png


    It's good to see that the new alias search works! :)
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    872
    341
    Munich
    Germany Germany
    Country flag
    I'll need some time for testing. I'll get back to you.
    The refresh on new downloaded Fanarts for an artist with existing Fanarts in the DB seems to work perfect now. Good job! (y)
    And the conversion from local to online Fanarts made the search processing very much faster.
    And MusicBrainz as single MBID provider works perfectly fine with thousands of tracks.
    I'm really impressed of your engagement and your professional support! Big thanks!
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    872
    341
    Munich
    Germany Germany
    Country flag
    An idea to make the Fanart search processing even more faster is to mark online Fanarts with lower file size and similar Fanarts in the database to not download them again on future searches e. g.:
    Code:
    22-May-2020 07:12:41  Info [             Scraper]: Download: Fanart for Lionel Richie (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Lionel Richie (2).jpg).
    22-May-2020 07:12:41 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Lionel Richie (2).jpg: Start...
    22-May-2020 07:12:42 Debug [               Utils]: Image: %TEMP%\Lionel Richie (2).jpg is 32% different from image C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Lionel Richie (42198).jpg.
    22-May-2020 07:12:42 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Lionel Richie (2).jpg already exists in fanart folder, will be deleted...
    22-May-2020 07:12:42 Debug [             Scraper]: Download: Status: [Skip] Deleting temporary file: %TEMP%\Lionel Richie (2).jpg
    22-May-2020 07:12:42 Debug [             Scraper]: Download: Image for Lionel Richie (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Lionel Richie (2).jpg): Skipped.
    A similar approach as with Dummy Items where the MBID is cached.
     
    Last edited by a moderator:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    11,488
    6,412
    Kyiv
    Ukraine Ukraine
    Country flag
    It’s much more complicated, but I’ll think if I’ve sat down I will find a quick and simple and elegant solution, then I’ll do it.
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    872
    341
    Munich
    Germany Germany
    Country flag
    Good morning ajs,

    how are you? :)

    Another question:
    The artist name "Vera Klima feat. Max Mutzke" got split into to artist searches, "Vera Klima" and "Max Mutzke".
    For both the name was resolved to the correct MBID.
    For the first artist no Fanart was found, for the second one Fanart.
    In my FH configuration the separator " feat. " is defined.
    All seems correct to me but the Fanart of "Max Mutzke" is not displayed, only the default backgrounds, even when I stop and replay that song.
    What's wrong?

    Log:
    Code:
    23-May-2020 08:36:36 Debug [  FanartHandlerSetup]: OnPlayBackStarted: Window: 510 MediaType: Music LastFM: False - D:\Audio\Musik\Alben\Vera Klima\Play\07. Wir.mp3
    23-May-2020 08:36:36 Debug [     DatabaseManager]: --- Now Playing ---------------------
    23-May-2020 08:36:36  Info [     DatabaseManager]: --- NowPlaying --- Scrape for Artist(s): Vera Klima feat. Max Mutzke|Vera Klima Album: Play Year: 2019 Genre: 10s|Singer-Songwriter
    23-May-2020 08:36:36 Debug [     DatabaseManager]: --- NowPlaying: Scrape starting for Artist: Vera Klima Album: Play
    23-May-2020 08:36:36 Debug [     DatabaseManager]: Artist: Vera Klima images: 0 from: 100
    23-May-2020 08:36:36 Debug [             Scraper]: --- Fanart --- Vera Klima ---
    23-May-2020 08:36:36 Debug [             Scraper]: Trying to find Fanart for Artist: Vera Klima
    23-May-2020 08:36:36 Debug [             Scraper]: Common: MusicBrainz DB ID: 8204d336-b4ae-4267-98fe-17b2fba8aedc
    23-May-2020 08:36:36 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    23-May-2020 08:36:36 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Fanart): Vera Klima - 8204d336-b4ae-4267-98fe-17b2fba8aedc.
    23-May-2020 08:36:37 Debug [             Scraper]: Fanart.TV: Empty response HTML ... Skip.
    23-May-2020 08:36:37 Debug [             Scraper]: TheAudioDB: Trying to find pictures for Artist (Fanart): Vera Klima - 8204d336-b4ae-4267-98fe-17b2fba8aedc.
    23-May-2020 08:36:37 Debug [             Scraper]: TheAudioDB: Extract URL - URLs Found: 0
    23-May-2020 08:36:37 Debug [             Scraper]: TheAudioDB: Find pictures for Artist (Fanart): Vera Klima - 8204d336-b4ae-4267-98fe-17b2fba8aedc complete. Found: 0 pictures.
    23-May-2020 08:36:37 Debug [             Scraper]: --- Thumb --- Vera Klima ---
    23-May-2020 08:36:37 Debug [             Scraper]: Trying to find Thumbs for Artist: Vera Klima
    23-May-2020 08:36:37 Debug [             Scraper]: Common: MusicBrainz DB ID: 8204d336-b4ae-4267-98fe-17b2fba8aedc
    23-May-2020 08:36:37 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    23-May-2020 08:36:37 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Thumbs): Vera Klima - 8204d336-b4ae-4267-98fe-17b2fba8aedc.
    23-May-2020 08:36:37 Debug [             Scraper]: Fanart.TV: Empty response HTML ... Skip.
    23-May-2020 08:36:37 Debug [             Scraper]: TheAudioDB: Trying to find pictures for Artist (Thumbs): Vera Klima - 8204d336-b4ae-4267-98fe-17b2fba8aedc.
    23-May-2020 08:36:37 Debug [             Scraper]: TheAudioDB: Extract URL - URLs Found: 0
    23-May-2020 08:36:37 Debug [             Scraper]: TheAudioDB: Find pictures for Artist (Thumbs): Vera Klima - 8204d336-b4ae-4267-98fe-17b2fba8aedc complete. Found: 0 pictures.
    23-May-2020 08:36:37 Debug [             Scraper]: Last.FM: Trying to find thumbnail for Artist: Vera Klima.
    23-May-2020 08:36:37 Debug [               Utils]: - GenreMusic [10s] not found. Skipped.
    23-May-2020 08:36:37 Debug [               Utils]: - GenreMusic [Singer-Songwriter] not found. Skipped.
    23-May-2020 08:36:37 Debug [             Scraper]: Last.FM: Thumb Mega for Artist: Vera Klima - https://lastfm.freetls.fastly.net/i/u/300x300/2a96cbd8b46e442fc41c2b86b821562f.png
    23-May-2020 08:36:37 Debug [             Scraper]: Last.FM: Find thumbnail for Artist: Vera Klima complete. Found: 0 pictures.
    23-May-2020 08:36:37  Info [     DatabaseManager]: No fanart found for Artist: Vera Klima.
    23-May-2020 08:36:37 Debug [             Scraper]: --- Thumb --- Vera Klima ---
    23-May-2020 08:36:37 Debug [             Scraper]: Trying to find Thumbs for Artist: Vera Klima
    23-May-2020 08:36:37 Debug [             Scraper]: Common: MusicBrainz DB ID: 8204d336-b4ae-4267-98fe-17b2fba8aedc
    23-May-2020 08:36:37 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    23-May-2020 08:36:37 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Thumbs): Vera Klima - 8204d336-b4ae-4267-98fe-17b2fba8aedc.
    23-May-2020 08:36:37 Debug [             Scraper]: Fanart.TV: Empty response HTML ... Skip.
    23-May-2020 08:36:37 Debug [             Scraper]: TheAudioDB: Trying to find pictures for Artist (Thumbs): Vera Klima - 8204d336-b4ae-4267-98fe-17b2fba8aedc.
    23-May-2020 08:36:37 Debug [             Scraper]: TheAudioDB: Extract URL - URLs Found: 0
    23-May-2020 08:36:37 Debug [             Scraper]: TheAudioDB: Find pictures for Artist (Thumbs): Vera Klima - 8204d336-b4ae-4267-98fe-17b2fba8aedc complete. Found: 0 pictures.
    23-May-2020 08:36:37 Debug [             Scraper]: Last.FM: Trying to find thumbnail for Artist: Vera Klima.
    23-May-2020 08:36:37 Debug [             Scraper]: Last.FM: Thumb Mega for Artist: Vera Klima - https://lastfm.freetls.fastly.net/i/u/300x300/2a96cbd8b46e442fc41c2b86b821562f.png
    23-May-2020 08:36:37 Debug [             Scraper]: Last.FM: Find thumbnail for Artist: Vera Klima complete. Found: 0 pictures.
    23-May-2020 08:36:37  Info [     DatabaseManager]: No Thumbs found for Artist: Vera Klima.
    23-May-2020 08:36:37 Debug [     DatabaseManager]: --- NowPlaying: Scrape starting for Artist: Max Mutzke Album: Play
    23-May-2020 08:36:37 Debug [     DatabaseManager]: Artist: Max Mutzke images: 1 from: 100
    23-May-2020 08:36:37 Debug [             Scraper]: --- Fanart --- Max Mutzke ---
    23-May-2020 08:36:37 Debug [             Scraper]: Trying to find Fanart for Artist: Max Mutzke
    23-May-2020 08:36:37 Debug [             Scraper]: Common: MusicBrainz DB ID: 6f2bfbc7-187a-4b02-8fde-77635d95e099
    23-May-2020 08:36:37 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    23-May-2020 08:36:37 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Fanart): Max Mutzke - 6f2bfbc7-187a-4b02-8fde-77635d95e099.
    23-May-2020 08:36:37 Debug [             Scraper]: Fanart.TV: Empty response HTML ... Skip.
    23-May-2020 08:36:37 Debug [             Scraper]: TheAudioDB: Trying to find pictures for Artist (Fanart): Max Mutzke - 6f2bfbc7-187a-4b02-8fde-77635d95e099.
    23-May-2020 08:36:37 Debug [             Scraper]: TheAudioDB: Extract URL - URLs Found: 1
    23-May-2020 08:36:37 Debug [             Scraper]: TheAudioDB: Will not download fanart image as it already exist an image in your fanart database with this source image name.
    23-May-2020 08:36:37 Debug [             Scraper]: TheAudioDB: Find pictures for Artist (Fanart): Max Mutzke - 6f2bfbc7-187a-4b02-8fde-77635d95e099 complete. Found: 1 pictures.
    23-May-2020 08:36:37  Info [     DatabaseManager]: Artist: Max Mutzke has already 1 images. No more images were found for this artist.
    23-May-2020 08:36:37 Debug [             Scraper]: --- Thumb --- Max Mutzke - Play ---
    23-May-2020 08:36:37 Debug [             Scraper]: Trying to find Thumbs for Artist/Album: Max Mutzke - Play
    23-May-2020 08:36:37 Debug [             Scraper]: MusicBrainz: Trying to find MusicBrainz ID for Album: 6f2bfbc7-187a-4b02-8fde-77635d95e099:Max Mutzke - Play.
    23-May-2020 08:36:37 Debug [             Scraper]: MusicBrainz: Extract ID: Empty
    23-May-2020 08:36:37 Debug [             Scraper]: TheAudioDB: Trying to find pictures for Artist/Album (Thumbs): Max Mutzke - Play - .
    23-May-2020 08:36:38 Debug [             Scraper]: TheAudioDB: Extract URL - URLs Found: 0
    23-May-2020 08:36:38 Debug [             Scraper]: TheAudioDB: Extract ID: Empty
    23-May-2020 08:36:38 Debug [             Scraper]: TheAudioDB: Find pictures for Artist/Album (Thumbs): Max Mutzke - Play -  complete. Found: 0 pictures.
    23-May-2020 08:36:38 Debug [             Scraper]: Last.FM: Trying to find thumbnail for Artist/Album: Max Mutzke - Play.
    23-May-2020 08:36:38 Debug [             Scraper]: Last.FM: Find thumbnail for Artist/Album: Max Mutzke - Play complete. Found: 0 pictures.
    23-May-2020 08:36:38  Info [     DatabaseManager]: No Thumbs found for Artist: Max Mutzke Album: Play
    23-May-2020 08:36:38 Debug [     DatabaseManager]: --- NowPlaying: Scrape starting for Artist: Vera Klima feat. Max Mutzke Album: Play
    23-May-2020 08:36:38 Debug [     DatabaseManager]: Artist: Vera Klima feat. Max Mutzke images: 0 from: 100
    23-May-2020 08:36:38 Debug [             Scraper]: --- Fanart --- Vera Klima feat. Max Mutzke ---
    23-May-2020 08:36:38 Debug [             Scraper]: Trying to find Fanart for Artist: Vera Klima feat. Max Mutzke
    23-May-2020 08:36:38 Debug [             Scraper]: Common: MusicBrainz DB ID: 8204d336-b4ae-4267-98fe-17b2fba8aedc
    23-May-2020 08:36:38 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    23-May-2020 08:36:38 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Fanart): Vera Klima feat. Max Mutzke - 8204d336-b4ae-4267-98fe-17b2fba8aedc.
    23-May-2020 08:36:38 Debug [             Scraper]: Fanart.TV: Empty response HTML ... Skip.
    23-May-2020 08:36:38 Debug [             Scraper]: TheAudioDB: Trying to find pictures for Artist (Fanart): Vera Klima feat. Max Mutzke - 8204d336-b4ae-4267-98fe-17b2fba8aedc.
    23-May-2020 08:36:38 Debug [             Scraper]: TheAudioDB: Extract URL - URLs Found: 0
    23-May-2020 08:36:38 Debug [             Scraper]: TheAudioDB: Find pictures for Artist (Fanart): Vera Klima feat. Max Mutzke - 8204d336-b4ae-4267-98fe-17b2fba8aedc complete. Found: 0 pictures.
    23-May-2020 08:36:38 Debug [             Scraper]: --- Thumb --- Vera Klima feat. Max Mutzke ---
    23-May-2020 08:36:38 Debug [             Scraper]: Trying to find Thumbs for Artist: Vera Klima feat. Max Mutzke
    23-May-2020 08:36:38 Debug [             Scraper]: Common: MusicBrainz DB ID: 8204d336-b4ae-4267-98fe-17b2fba8aedc
    23-May-2020 08:36:38 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    23-May-2020 08:36:38 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Thumbs): Vera Klima feat. Max Mutzke - 8204d336-b4ae-4267-98fe-17b2fba8aedc.
    23-May-2020 08:36:38 Debug [             Scraper]: Fanart.TV: Empty response HTML ... Skip.
    23-May-2020 08:36:38 Debug [             Scraper]: TheAudioDB: Trying to find pictures for Artist (Thumbs): Vera Klima feat. Max Mutzke - 8204d336-b4ae-4267-98fe-17b2fba8aedc.
    23-May-2020 08:36:38 Debug [             Scraper]: TheAudioDB: Extract URL - URLs Found: 0
    23-May-2020 08:36:38 Debug [             Scraper]: TheAudioDB: Find pictures for Artist (Thumbs): Vera Klima feat. Max Mutzke - 8204d336-b4ae-4267-98fe-17b2fba8aedc complete. Found: 0 pictures.
    23-May-2020 08:36:38 Debug [             Scraper]: Last.FM: Trying to find thumbnail for Artist: Vera Klima feat. Max Mutzke.
    23-May-2020 08:36:38 Debug [             Scraper]: Last.FM: Find thumbnail for Artist: Vera Klima feat. Max Mutzke complete. Found: 0 pictures.
    23-May-2020 08:36:38  Info [     DatabaseManager]: No fanart found for Artist: Vera Klima feat. Max Mutzke.
    23-May-2020 08:36:38 Debug [             Scraper]: --- Thumb --- Vera Klima feat. Max Mutzke ---
    23-May-2020 08:36:38 Debug [             Scraper]: Trying to find Thumbs for Artist: Vera Klima feat. Max Mutzke
    23-May-2020 08:36:38 Debug [             Scraper]: Common: MusicBrainz DB ID: 8204d336-b4ae-4267-98fe-17b2fba8aedc
    23-May-2020 08:36:38 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    23-May-2020 08:36:38 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Thumbs): Vera Klima feat. Max Mutzke - 8204d336-b4ae-4267-98fe-17b2fba8aedc.
    23-May-2020 08:36:38 Debug [             Scraper]: Fanart.TV: Empty response HTML ... Skip.
    23-May-2020 08:36:38 Debug [             Scraper]: TheAudioDB: Trying to find pictures for Artist (Thumbs): Vera Klima feat. Max Mutzke - 8204d336-b4ae-4267-98fe-17b2fba8aedc.
    23-May-2020 08:36:38 Debug [             Scraper]: TheAudioDB: Extract URL - URLs Found: 0
    23-May-2020 08:36:38 Debug [             Scraper]: TheAudioDB: Find pictures for Artist (Thumbs): Vera Klima feat. Max Mutzke - 8204d336-b4ae-4267-98fe-17b2fba8aedc complete. Found: 0 pictures.
    23-May-2020 08:36:38 Debug [             Scraper]: Last.FM: Trying to find thumbnail for Artist: Vera Klima feat. Max Mutzke.
    23-May-2020 08:36:38 Debug [             Scraper]: Last.FM: Find thumbnail for Artist: Vera Klima feat. Max Mutzke complete. Found: 0 pictures.
    23-May-2020 08:36:38  Info [     DatabaseManager]: No Thumbs found for Artist: Vera Klima feat. Max Mutzke.
    23-May-2020 08:36:38  Info [     DatabaseManager]: --- NowPlaying --- Scrape is done. Found. Artist(s): Vera Klima feat. Max Mutzke|Vera Klima Album: Play
    23-May-2020 08:36:38 Debug [               Utils]: - GenreMusic [10s] not found. Skipped.
    23-May-2020 08:36:38 Debug [               Utils]: - GenreMusic [Singer-Songwriter] not found. Skipped.
    23-May-2020 08:36:38 Debug [               Utils]: - GenreMusic [10s] not found. Skipped.
    23-May-2020 08:36:38 Debug [               Utils]: - GenreMusic [Singer-Songwriter] not found. Skipped.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    11,488
    6,412
    Kyiv
    Ukraine Ukraine
    Country flag
    All seems correct to me but the Fanart of "Max Mutzke" is not displayed, only the default backgrounds, even when I stop and replay that song.
    What's wrong?
    I dont know :)
     

    Users Who Are Viewing This Thread (Users: 2, Guests: 4)

    OP Similar threads Forum Replies Date
    horned_reaper [solved] When playing music Fanart does not shuffle Fanart Handler 20
    2BitSculptor MP 1.23.. music stops playing General Support 6
    Edwardfc [solved] Mp 2.2.1 Configuration Issues - Goes to Sleep while playing Music General 6
    G [fixed] [MP2-786] Party Music Player can only play playlists with less than 1000 items 2.2 Archive 7
    KlausWirn Music crash Bass crash no change to play music Installation, configuration support 2
    X Music : WASAPI only plays one track then stops General Support 1
    S Player crash - BASS: Play caused an exception: System.NullReferenceException Watch / Listen Media 1
    T Audio dropouts while playing Music....from both FLAC and WAV...Logs included! Watch / Listen Media 0
    horned_reaper [solved] No Fanart when playing Fanart Handler 115
    B MP 2.2.3 Error playing videos from NAS Submit: Bug Reports 2
    N Play a TV recording needs a double selection - twice ok on remote Television (MyTV frontend and TV-Server) 2
    M MP 2.2.3 Unable to play .ts recordings and MediaPortal stops working for TV viewing General 31
    Z Error when attempting to play Blu Ray General 1
    Rob Hexenmeister Playing with hyperlinkParameter and List Control indexes General Support 2
    C Problem playing videos created on IPhone X and Samsung S9 General Support 2
    C Attempt to play DVD locks up MediaPortal watch/edit Videos 0
    H Unable to play stream - again... Television (MyTV frontend and TV-Server) 2
    B Suddenly MP is unable to play anything Watch / Listen Media 6
    M After a while Live TV or Recorded TV doesn't play first time General Support 9
    L [solved] MP2 doesnt play anything - player missing? General 1
    badboyxx MP 1.22 final is crashing when jumping forward while playing DVD-Iso watch/edit Videos 26
    S [solved] Live TV playing stopped General 13
    Ralph Holmes [solved] MP2.2.1 can't play TV General 10
    T [solved] "Unable To Play" (Videos) rears it's head again. Logs not possible... WatchDog error attached!! :( General Support 1
    Terra Videos do not start playing on first attempt, always have to press play twice General Support 9
    Similar threads

























    Top Bottom