[solved] fanarthandler help needed... (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,650
    10,605
    Kyiv
    Home Country
    Ukraine Ukraine
    and do not forget about the correct tags for all the songs in the MP. make it easier to find and increase speed. they also reduce errors.

    --
    WBR, ajs
     

    dangerzone

    Portal Pro
    January 12, 2009
    271
    44
    52
    delft
    Home Country
    Netherlands Netherlands
    I got fanart from the music I played....
    En If it's Downloaded then the second time you play the song then it must work fast and not at 2 min ?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,650
    10,605
    Kyiv
    Home Country
    Ukraine Ukraine
    En If it's Downloaded then the second time you play the song then it must work fast and not at 2 min ?
    You have in the settings of 8 pictures, if not found 8, then every time he tries to find more. Reduce to 3, check.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,650
    10,605
    Kyiv
    Home Country
    Ukraine Ukraine
    Current version ...
     

    Attachments

    • FanartHandler.dll.zip
      432.3 KB

    dangerzone

    Portal Pro
    January 12, 2009
    271
    44
    52
    delft
    Home Country
    Netherlands Netherlands
    I used the dll from the link you send me some posts above...
    Reduce max 6 pics to max 3, deleted fanart en fh database.
    It,s now in mepo scraping in the background.
     

    dangerzone

    Portal Pro
    January 12, 2009
    271
    44
    52
    delft
    Home Country
    Netherlands Netherlands
    Yes. It takes 2 min or so for the first Fanart to show, when I stop and go to main music folder it takes 2 min for the other Fanart starts
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,650
    10,605
    Kyiv
    Home Country
    Ukraine Ukraine
    I'll think about debugging information in the log files to understand what the problem is.

    --
    WBR, ajs
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,650
    10,605
    Kyiv
    Home Country
    Ukraine Ukraine
    Code:
    21-Nov-2017 18:04:11  Info [      FanartSelected]: *** GMAFLC: R - [Whitney Houston|Soundtrack] [Whitney|bodyguard|Love,Whitney|Whitney Houston|One Wish: The Holiday Album|My Love Is Your Love|Just Whitney...|I'm Your Baby Tonight|The Bodyguard: Original Soundtrack Album] 
    
    ...
    
    21-Nov-2017 18:04:11 Debug [      FanartSelected]: *** Image 1: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Whitney Houston (38280).jpg 
    
    ...
    
    21-Nov-2017 18:04:12  Info [      FanartSelected]: *** GMAFLC: R - [Whitney Houston|Soundtrack] [Whitney|bodyguard|Love,Whitney|Whitney Houston|One Wish: The Holiday Album|My Love Is Your Love|Just Whitney...|I'm Your Baby Tonight|The Bodyguard: Original Soundtrack Album] 
    
    21-Nov-2017 18:04:12 Debug [      FanartSelected]: *** First fanart [91919291] visible ...

    It seems to me that the problem is in the music tags.

    For example, in this case, FH gets from MP:

    Artists:

    - Whitney Houston

    - Soundtrack

    Album:

    - Whitney

    - bodyguard

    - Love,Whitney

    - Whitney Houston

    - One Wish: The Holiday Album

    - My Love Is Your Love

    - Just Whitney...

    - I'm Your Baby Tonight

    - The Bodyguard: Original Soundtrack Album



    And for each pair of values, FH will try to find pictures. ie:

    Artist: Whitney Houston Albums: Whitney, bodyguard, Love,Whitney, Whitney Houston, One Wish: The Holiday Album, My Love Is Your Love, Just Whitney..., I'm Your Baby Tonight, The Bodyguard: Original Soundtrack Album ~= 10 * 3 ~= 30 Pictures

    Artist: Soundtrack Albums: Whitney, bodyguard, Love,Whitney, Whitney Houston, One Wish: The Holiday Album, My Love Is Your Love, Just Whitney..., I'm Your Baby Tonight, The Bodyguard: Original Soundtrack Album ~= 10 * 3 ~= 30 Pictures

    ie ~60 pictures for One track :( This is not counting other types of pictures, it's long.



    But when I play, I do not see any special delays:

    Code:
    21-Nov-2017 18:06:20  Info [     DatabaseManager]: --- NowPlaying --- Scrape for Artist(s): Whitney Houston Album: The Bodyguard: Original Soundtrack Album Year: 1992 Genre: Blues 
    
    21-Nov-2017 18:06:20 Debug [     DatabaseManager]: NowPlayingScrape: Starting for Artist: Whitney Houston Album: The Bodyguard: Original Soundtrack Album 
    
    21-Nov-2017 18:06:20 Debug [     DatabaseManager]: Artist: Whitney Houston images: 6 from: 6 
    
    21-Nov-2017 18:06:20  Info [     DatabaseManager]: --- NowPlaying --- Scrape is done. Found. Artist(s): Whitney Houston Album: The Bodyguard: Original Soundtrack Album 
    
    21-Nov-2017 18:06:41 Debug [      FanartSelected]: *** First fanart [91919291] visible ... 
    
    21-Nov-2017 18:07:02 Debug [      FanartSelected]: *** Second fanart [91919292] visible ...

    ~20 seconds and Fanart visible ... then second fanart visible ...



    Code:
    21-Nov-2017 18:09:45 Debug [       FanartHandler]: OnPlayBackStarted: Window: 501 MediaType: Music LastFM: False - \\SERVER\Music\vengaboys\Party Album\01 - Vengaboys - We Like To Party!.mp3 
    
    21-Nov-2017 18:09:45 Debug [       FanartHandler]: Active Window: 510 [x] [ ] [x] | [x] [ ] Play, [x] Player, [ ] [ ] Selected, [ ] Random, [ ] Random Latests, [ ] Weather, [ ] Holiday 
    
    21-Nov-2017 18:09:45 Debug [      FanartSelected]: *** Hide fanart [91919293]... 
    
    21-Nov-2017 18:11:41 Debug [      FanartSelected]: *** Image 1: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Travie McCoy (7232).jpg 
    
    21-Nov-2017 18:11:41 Debug [      FanartSelected]: *** Show fanart [91919293]... 
    
    21-Nov-2017 18:11:41 Debug [      FanartSelected]: *** First fanart [91919291] visible ... 
    
    21-Nov-2017 18:11:41 Debug [     DatabaseManager]: --- Now Playing --------------------- 
    
    21-Nov-2017 18:11:41  Info [     DatabaseManager]: --- NowPlaying --- Scrape for Artist(s): Vengaboys Album: Party Album Year: 2004 Genre: Club Dance 
    
    21-Nov-2017 18:11:41 Debug [     DatabaseManager]: NowPlayingScrape: Starting for Artist: Vengaboys Album: Party Album 
    
    21-Nov-2017 18:11:41 Debug [     DatabaseManager]: Artist: Vengaboys images: 4 from: 6 
    
    21-Nov-2017 18:11:41 Debug [             Scraper]: --- Fanart --- Vengaboys --- 
    
    21-Nov-2017 18:11:41 Debug [             Scraper]: Trying to find Fanart for Artist: Vengaboys 
    
    21-Nov-2017 18:11:41 Debug [             Scraper]: TheAudioDB: MusicBrainz DB ID: 90c7177f-4be5-413d-aabd-d228934c2b9b 
    
    21-Nov-2017 18:11:41 Debug [             Scraper]: Fanart.TV: Use personal API Key: True 
    
    21-Nov-2017 18:11:41 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Fanart): Vengaboys - 90c7177f-4be5-413d-aabd-d228934c2b9b. 
    
    21-Nov-2017 18:11:42 Debug [             Scraper]: Extract URL - [artistbackground] URLs Found: 2 
    
    21-Nov-2017 18:11:42 Debug [             Scraper]: Fanart.TV: Will not download fanart image as it already exist an image in your fanart database with this source image name. 
    
    21-Nov-2017 18:11:42 Debug [             Scraper]: Fanart.TV: Will not download fanart image as it already exist an image in your fanart database with this source image name. 
    
    21-Nov-2017 18:11:42 Debug [             Scraper]: Fanart.TV: Find pictures for Artist (Fanart): Vengaboys - 90c7177f-4be5-413d-aabd-d228934c2b9b complete. Found: 2 pictures. 
    
    21-Nov-2017 18:11:42 Debug [             Scraper]: TheAudioDB: Trying to find pictures for Artist (Fanart): Vengaboys - 90c7177f-4be5-413d-aabd-d228934c2b9b. 
    
    21-Nov-2017 18:11:42 Debug [             Scraper]: TheAudioDB: Extract URL - URLs Found: 2 
    
    21-Nov-2017 18:11:42 Debug [             Scraper]: TheAudioDB: Will not download fanart image as it already exist an image in your fanart database with this source image name. 
    
    21-Nov-2017 18:11:42 Debug [             Scraper]: TheAudioDB: Will not download fanart image as it already exist an image in your fanart database with this source image name. 
    
    21-Nov-2017 18:11:42 Debug [             Scraper]: TheAudioDB: Find pictures for Artist (Fanart): Vengaboys - 90c7177f-4be5-413d-aabd-d228934c2b9b complete. Found: 2 pictures. 
    
    21-Nov-2017 18:11:42  Info [     DatabaseManager]: Artist: Vengaboys has already maximum number of images. Will not download anymore images for this artist. 
    
    21-Nov-2017 18:11:42  Info [     DatabaseManager]: --- NowPlaying --- Scrape is done. Found. Artist(s): Vengaboys Album: Party Album

    and ...

    Code:
    21-Nov-2017 18:16:40 Debug [       FanartHandler]: OnPlayBackStarted: Window: 501 MediaType: Music LastFM: False - \\SERVER\Music\Ub40\Labour Of Love I\01 - Cherry Oh Baby.mp3 
    
    21-Nov-2017 18:16:40 Debug [       FanartHandler]: Active Window: 510 [x] [ ] [x] | [x] [ ] Play, [x] Player, [ ] [ ] Selected, [ ] Random, [ ] Random Latests, [ ] Weather, [ ] Holiday 
    
    21-Nov-2017 18:16:40 Debug [      FanartSelected]: *** Hide fanart [91919293]... 
    
    ...
    
    21-Nov-2017 18:18:16 Debug [      FanartSelected]: *** Image 1: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Jethro Tull (56735).jpg 
    
    21-Nov-2017 18:18:17 Debug [      FanartSelected]: *** Show fanart [91919293]... 
    
    21-Nov-2017 18:18:17 Debug [      FanartSelected]: *** First fanart [91919291] visible ... 
    
    ...
    
    21-Nov-2017 18:18:17  Info [     DatabaseManager]: --- NowPlaying --- Scrape for Artist(s): UB40 Album: Labour Of Love Year: 2000 Genre: Reggae 
    
    ...
    
    21-Nov-2017 18:18:18  Info [     DatabaseManager]: --- NowPlaying --- Scrape is done. Found. Artist(s): UB40 Album: Labour Of Love

    and ...

    Code:
    21-Nov-2017 18:19:03 Debug [       FanartHandler]: OnPlayBackStarted: Window: 501 MediaType: Music LastFM: False - \\SERVER\Music\Status Quo - 12 Gold Bars\Status Quo - 02 - Down Down.Mp3 
    
    21-Nov-2017 18:19:04 Debug [       FanartHandler]: Active Window: 510 [x] [ ] [x] | [x] [ ] Play, [x] Player, [ ] [ ] Selected, [ ] Random, [ ] Random Latests, [ ] Weather, [ ] Holiday 
    
    21-Nov-2017 18:19:04 Debug [      FanartSelected]: *** Hide fanart [91919293]... 
    
    ...
    
    21-Nov-2017 18:20:50 Debug [      FanartSelected]: *** Image 2: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Sérgio Mendes (2).jpg 
    
    21-Nov-2017 18:20:50  Info [     DatabaseManager]: --- NowPlaying --- Scrape for Artist(s): Status Quo Album: 12 Gold Bars, Vol. 1 Year: 2003 Genre: Rock 
    
    ...
    
    21-Nov-2017 18:20:51  Info [     DatabaseManager]: --- NowPlaying --- Scrape is done. Found. Artist(s): Status Quo Album: 12 Gold Bars, Vol. 1

    ~2 minutes of incomprehensible delay ... :( More information I do not have (in other logs), a couple of errors from the MusicInfoHandler and a lot of messages from the MiniDisplay. :(



    But:

    Code:
    21-Nov-2017 18:22:34 Debug [       FanartHandler]: OnPlayBackStarted: Window: 501 MediaType: Music LastFM: False - \\SERVER\Music\Status Quo - 12 Gold Bars\Status Quo - 08 - Roll Over And Lay Down.Mp3 
    
    ...
    
    21-Nov-2017 18:22:35  Info [     DatabaseManager]: --- NowPlaying --- Scrape for Artist(s): Status Quo Album: 12 Gold Bars, Vol. 1 Year: 2003 Genre: Rock 
    
    ...
    
    21-Nov-2017 18:22:35  Info [     DatabaseManager]: --- NowPlaying --- Scrape is done. Found. Artist(s): Status Quo Album: 12 Gold Bars, Vol. 1 
    
    ...
    
    21-Nov-2017 18:22:47 Debug [      FanartSelected]: *** Image 2: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Status Quo (66691).jpg 
    
    21-Nov-2017 18:22:47 Debug [      FanartSelected]: *** Show fanart [91919293]... 
    
    21-Nov-2017 18:22:47 Debug [      FanartSelected]: *** Second fanart [91919292] visible ... 
    
    ...
    
    21-Nov-2017 18:25:23 Debug [       FanartHandler]: OnPlayBackStarted: Window: 501 MediaType: Music LastFM: False - \\SERVER\Music\Steppenwolf - Born To Be Wild The Hits And More\Steppenwolf - 05 - Born To Be Wild.mp3 
    
    21-Nov-2017 18:25:23 Debug [       FanartHandler]: Active Window: 510 [x] [ ] [x] | [x] [ ] Play, [x] Player, [ ] [ ] Selected, [ ] Random, [ ] Random Latests, [ ] Weather, [ ] Holiday 
    
    21-Nov-2017 18:25:23 Debug [      FanartSelected]: *** Hide fanart [91919293]... 
    
    21-Nov-2017 18:27:22 Debug [      FanartSelected]: *** Image 2: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Pet Shop Boys (22026).jpg 
    
    21-Nov-2017 18:27:23 Debug [      FanartSelected]: *** Show fanart [91919293]... 
    
    21-Nov-2017 18:27:23 Debug [      FanartSelected]: *** Second fanart [91919292] visible ... 
    
    ...
    
    21-Nov-2017 18:27:23 Debug [     DatabaseManager]: NowPlayingScrape: Starting for Artist: Steppenwolf Album: Born to Be Wild: A Retrospective 
    
    ...
    
    21-Nov-2017 18:27:24  Info [     DatabaseManager]: --- NowPlaying --- Scrape is done. Found. Artist(s): Steppenwolf Album: Born to Be Wild: A Retrospective 
    
    21-Nov-2017 18:27:44 Debug [      FanartSelected]: *** First fanart [91919291] visible ... 
    
    21-Nov-2017 18:28:05 Debug [      FanartSelected]: *** Second fanart [91919292] visible ...

    Works like a charm :)



    PS: Try to turn off debugging in the media portals at all, set the error level, and check if something has changed or not. Output of a large amount of information in the log file, greatly slows down the internal processes in the media portal. And the FanartHandler plugin works with a very low priority.

    --
    WBR, ajs
     

    Users who are viewing this thread

    Top Bottom