[solved] Mixed artist pictures (1 Viewer)

horned_reaper

Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    I was using your two latest DLLs until evening.
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,583
    2,972
    Nuenen
    Home Country
    Netherlands Netherlands
    Ok, until you updated mediaportal i guess.
    Will have to wait for @ajs to point me to the source I need to have to get dll's compatible with the test mediaportal you have
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,620
    10,548
    Kyiv
    Home Country
    Ukraine Ukraine
    @ajs: on what branch is the 1.24.000_2020-03-18-12-58 build?
    I dont know, may be this name of exe file for official 1.24Final setup file...

    For latests FH i use branch with MP1-4986 changes, ie, MP1-4986, 1.25Pre Test1 ... TestN...
    PS: We need new 1.25Pre Test branch and build...


    --
    WBR, ajs :):whistle::coffee:
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    @doskabouter: Can you upload all your changes to the current Pre Test branch?

    @ajs: Question regarding the deduplication feature:
    I see several artists where actually more than ten Fanart pictures were available online but less than ten pictures get stored and displayed. It looks like the amount is ten minus the duplicate pictures.
    Is this true?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,620
    10,548
    Kyiv
    Home Country
    Ukraine Ukraine
    If there were 3 fanart, and you need 10 in total, then the plugin will try to find 7, but if we find 3 new fanart that updated 3 old fanart, then on this passage the plugin will consider that it already has 6 fanart, but the next scan will count that there are 3 of them again.
    I see several artists where actually more than ten Fanart pictures were available online but less than ten pictures get stored and displayed
    Duplicate pictures are not taken into account if they do not replace those that are. Which artist?
    The plugin does not scan all artists every day, only at the time of playing it tries to update fan art forcibly.
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    Thanks for explaining!
    I see this with known artists like Robbie Williams. According to the log file 10 images were downloaded but there are only nine in the folder:
    1585138365087.png


    I played the same song multiple times but the tenth image dont't get downloaded.
    Code:
    25-Mar-2020 13:00:53 Debug [     DatabaseManager]: --- Now Playing ---------------------
    25-Mar-2020 13:00:53  Info [     DatabaseManager]: --- NowPlaying --- Scrape for Artist(s): Robbie Williams Album: Rudebox Year: 2006 Genre: 00s|Pop
    25-Mar-2020 13:00:53 Debug [     DatabaseManager]: NowPlayingScrape: Starting for Artist: Robbie Williams Album: Rudebox
    25-Mar-2020 13:00:53 Debug [     DatabaseManager]: Artist: Robbie Williams images: 10 from: 10
    25-Mar-2020 13:00:53  Info [     DatabaseManager]: --- NowPlaying --- Scrape is done. Found. Artist(s): Robbie Williams Album: Rudebox
    25-Mar-2020 13:04:56 Debug [  FanartHandlerSetup]: Stop playback message recieved: GUI_MSG_PLAYBACK_STOPPED
    25-Mar-2020 13:04:57 Debug [  FanartHandlerSetup]: Activate Window: 500
    25-Mar-2020 13:04:57 Debug [  FanartHandlerSetup]: Active Window: 500 Refresh: [x] -> Window: [x] Overlay: [ ] Allow: [x]
    25-Mar-2020 13:04:57 Debug [  FanartHandlerSetup]:  --- [ ] [x] Play, [ ] Player, [x] [x] Selected, [ ] Random, [ ] Random Latests, [ ] Weather, [x] Holiday
    25-Mar-2020 13:05:20 Debug [               Utils]: - GenreMusic [House] not found. Skipped.
    25-Mar-2020 13:05:20 Debug [               Utils]: - RecordLabel [A Touch of Class Recordings] not found. Skipped.
    25-Mar-2020 13:05:20 Debug [               Utils]: - RecordLabel [1977 Records] not found. Skipped.
    25-Mar-2020 13:05:24 Debug [  FanartHandlerSetup]: OnPlayBackStarted: Window: 500 MediaType: Music LastFM: False - D:\Audio\Musik\Alben\Robbie Williams\Rudebox\16. Summertime.flac
    25-Mar-2020 13:05:32 Debug [  FanartHandlerSetup]: Activate Window: 510
    25-Mar-2020 13:05:32 Debug [  FanartHandlerSetup]: Active Window: 510 Refresh: [x] -> Window: [x] Overlay: [ ] Allow: [x]
    25-Mar-2020 13:05:32 Debug [  FanartHandlerSetup]:  --- [x] [x] Play, [x] Player, [ ] [ ] Selected, [ ] Random, [ ] Random Latests, [ ] Weather, [ ] Holiday
    25-Mar-2020 13:05:32 Debug [     DatabaseManager]: --- Now Playing ---------------------
    25-Mar-2020 13:05:32  Info [     DatabaseManager]: --- NowPlaying --- Scrape for Artist(s): Robbie Williams Album: Rudebox Year: 2006 Genre: 00s|Pop
    25-Mar-2020 13:05:32 Debug [     DatabaseManager]: NowPlayingScrape: Starting for Artist: Robbie Williams Album: Rudebox
    25-Mar-2020 13:05:32 Debug [     DatabaseManager]: Artist: Robbie Williams images: 10 from: 10
    25-Mar-2020 13:05:32  Info [     DatabaseManager]: --- NowPlaying --- Scrape is done. Found. Artist(s): Robbie Williams Album: Rudebox
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,620
    10,548
    Kyiv
    Home Country
    Ukraine Ukraine
    Artist: Robbie Williams images: 10 from: 10
    In DB Fanart found 10 images ... :) Try this select:
    SQL:
    SELECT Id, Key1, FullPath, SourcePath, Category, Provider FROM Image WHERE Key1 IN ('robbie williams') AND Enabled = 1 AND DummyItem = 0 AND SubCategory IN ('MusicFanartManual','MusicFanartScraped');
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    You're right, 10 images were downloaded already! Sorry, the Windows file search result was misleading.

    Another case, Roxette.
    To my understanding, according to the log file 14 images are found online, 3 of them already exist. This means 11 available images.
    But only 8 are downloaded. File count and database record count for this artist matches.

    Code:
    25-Mar-2020 13:52:08 Debug [     DatabaseManager]: --- Now Playing ---------------------
    25-Mar-2020 13:52:08  Info [     DatabaseManager]: --- NowPlaying --- Scrape for Artist(s): Roxette Album: Charm School Year: 2011 Genre: 10s|Pop
    25-Mar-2020 13:52:08 Debug [     DatabaseManager]: NowPlayingScrape: Starting for Artist: Roxette Album: Charm School
    25-Mar-2020 13:52:08 Debug [     DatabaseManager]: Artist: Roxette images: 8 from: 10
    25-Mar-2020 13:52:08 Debug [             Scraper]: --- Fanart --- Roxette ---
    25-Mar-2020 13:52:08 Debug [             Scraper]: Trying to find Fanart for Artist: Roxette
    25-Mar-2020 13:52:08 Debug [             Scraper]: Common: MusicBrainz DB ID: d3b2711f-2baa-441a-be95-14945ca7e6ea
    25-Mar-2020 13:52:08 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Fanart): Roxette - d3b2711f-2baa-441a-be95-14945ca7e6ea.
    25-Mar-2020 13:52:08 Debug [             Scraper]: Extract URL - [artistbackground] URLs Found: 4
    25-Mar-2020 13:52:08 Debug [             Scraper]: Fanart.TV Download: Artist (Fanart): Roxette - d3b2711f-2baa-441a-be95-14945ca7e6ea - 37503 - https://assets.fanart.tv/fanart/music/d3b2711f-2baa-441a-be95-14945ca7e6ea/artistbackground/roxette-4fdec594956d8.jpg
    25-Mar-2020 13:52:08 Debug [             Scraper]: Fanart.TV Download: Will not download fanart image as it already exist an image in your fanart database with this source image name.
    25-Mar-2020 13:52:08 Debug [             Scraper]: Fanart.TV Download: Artist (Fanart): Roxette - d3b2711f-2baa-441a-be95-14945ca7e6ea - 37507 - https://assets.fanart.tv/fanart/music/d3b2711f-2baa-441a-be95-14945ca7e6ea/artistbackground/roxette-4fdec6294d3ca.jpg
    25-Mar-2020 13:52:08 Debug [             Scraper]: Fanart.TV Download: Will not download fanart image as it already exist an image in your fanart database with this source image name.
    25-Mar-2020 13:52:08 Debug [             Scraper]: Fanart.TV Download: Artist (Fanart): Roxette - d3b2711f-2baa-441a-be95-14945ca7e6ea complete, download 2 pictures.
    25-Mar-2020 13:52:08 Debug [             Scraper]: Extract URL - [musicbanner] URLs Found: 2
    25-Mar-2020 13:52:08 Debug [             Scraper]: Fanart.TV Download: Artist (Fanart): Roxette - d3b2711f-2baa-441a-be95-14945ca7e6ea - 228497 - https://assets.fanart.tv/fanart/music/d3b2711f-2baa-441a-be95-14945ca7e6ea/musicbanner/roxette-59eecd2cd5d7d.jpg
    25-Mar-2020 13:52:08 Debug [               Utils]: - GenreMusic [10s] not found. Skipped.
    25-Mar-2020 13:52:08 Debug [             Scraper]: Fanart.TV Download: Will not download fanart image as it already exist an image in your fanart folder.
    25-Mar-2020 13:52:08 Debug [             Scraper]: Fanart.TV Download: Artist (Fanart): Roxette - d3b2711f-2baa-441a-be95-14945ca7e6ea complete, download 1 pictures.
    25-Mar-2020 13:52:08 Debug [             Scraper]: Extract URL - [hdmusiclogo] URLs Found: 5
    25-Mar-2020 13:52:08 Debug [             Scraper]: Fanart.TV Download: Artist (Fanart): Roxette - d3b2711f-2baa-441a-be95-14945ca7e6ea - 133433 - https://assets.fanart.tv/fanart/music/d3b2711f-2baa-441a-be95-14945ca7e6ea/hdmusiclogo/roxette-53f8706f049c9.png
    25-Mar-2020 13:52:08 Debug [             Scraper]: Fanart.TV Download: Will not download fanart image as it already exist an image in your fanart folder.
    25-Mar-2020 13:52:08 Debug [             Scraper]: Fanart.TV Download: Artist (Fanart): Roxette - d3b2711f-2baa-441a-be95-14945ca7e6ea complete, download 1 pictures.
    25-Mar-2020 13:52:09 Debug [             Scraper]: TheAudioDB: Trying to find pictures for Artist (Fanart): Roxette - d3b2711f-2baa-441a-be95-14945ca7e6ea.
    25-Mar-2020 13:52:09 Debug [             Scraper]: TheAudioDB: Extract URL - URLs Found: 3
    25-Mar-2020 13:52:09  Info [             Scraper]: Download: Fanart for Roxette (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (0).jpg).
    25-Mar-2020 13:52:09 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (0).jpg: Start...
    25-Mar-2020 13:52:10 Debug [               Utils]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (0).jpg is 1% different from image C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (37503).jpg.
    25-Mar-2020 13:52:10 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (0).jpg already exists in fanart folder, will be deleted...
    25-Mar-2020 13:52:10 Debug [             Scraper]: Download: Status: [Skip] Deleting temporary file: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (0).jpg
    25-Mar-2020 13:52:10 Debug [             Scraper]: Download: Image for Roxette (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (0).jpg): Skipped.
    25-Mar-2020 13:52:10  Info [             Scraper]: Download: Fanart for Roxette (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (1).jpg).
    25-Mar-2020 13:52:10 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (1).jpg: Start...
    25-Mar-2020 13:52:10 Debug [               Utils]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (1).jpg is 1% different from image C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (37507).jpg.
    25-Mar-2020 13:52:10 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (1).jpg already exists in fanart folder, will be deleted...
    25-Mar-2020 13:52:10 Debug [             Scraper]: Download: Status: [Skip] Deleting temporary file: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (1).jpg
    25-Mar-2020 13:52:10 Debug [             Scraper]: Download: Image for Roxette (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (1).jpg): Skipped.
    25-Mar-2020 13:52:10  Info [             Scraper]: Download: Fanart for Roxette (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (2).jpg).
    25-Mar-2020 13:52:10 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (2).jpg: Start...
    25-Mar-2020 13:52:11 Debug [               Utils]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (2).jpg is 1% different from image C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (37506).jpg.
    25-Mar-2020 13:52:11 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (2).jpg already exists in fanart folder, will be deleted...
    25-Mar-2020 13:52:11 Debug [             Scraper]: Download: Status: [Skip] Deleting temporary file: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (2).jpg
    25-Mar-2020 13:52:11 Debug [             Scraper]: Download: Image for Roxette (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (2).jpg): Skipped.
    25-Mar-2020 13:52:11 Debug [             Scraper]: TheAudioDB: Find pictures for Artist (Fanart): Roxette - d3b2711f-2baa-441a-be95-14945ca7e6ea complete. Found: 0 pictures.
    25-Mar-2020 13:52:11  Info [     DatabaseManager]: --- NowPlaying --- Scrape is done. Not found. Artist(s): Roxette Album: Charm School
    25-Mar-2020 13:54:17 Debug [  FanartHandlerSetup]: OnPlayBackStarted: Window: 510 MediaType: Music LastFM: False - D:\Audio\Musik\Alben\Roxette\Charm School\04. Speak To Me.mp3
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,620
    10,548
    Kyiv
    Home Country
    Ukraine Ukraine
    To my understanding, according to the log file 14 images are found online, 3 of them already exist. This means 11 available images.
    In you FH settings set 10 images, if 8 present, Artist: Roxette images: 8 from: 10 than FH should download 2 images (10-8) ... On Fanart site only 4 present - Extract URL - [artistbackground] URLs Found: 4 and on AudioDB site 3 - TheAudioDB: Extract URL - URLs Found: 3 ...
    All found pictures already in FH DB: Will not download fanart image as it already exist an image in your fanart database with this source image name.
    Or duplicated images: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (0).jpg is 1% different from image C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (37503).jpg. Status: [Skip] Deleting temporary file: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Roxette (0).jpg
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,620
    10,548
    Kyiv
    Home Country
    Ukraine Ukraine
    14 images are found online
    Extract URL - [artistbackground] URLs Found: 4 - Fanarts from Fanart.tv site
    Extract URL - [musicbanner] URLs Found: 2 - Banners from Fanart.tv site
    Extract URL - [hdmusiclogo] URLs Found: 5 - ClearLogos from Fanart.tv site
    TheAudioDB: Extract URL - URLs Found: 3 - Fanarts from TheAudioDB site

    Only 7 fanarts for Roxette :)
     

    Users who are viewing this thread

    Top Bottom