Fanart Handler Plugin v4.0.X.000 (3 Viewers)

HomeY

Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    hi ajs ;) Working on my fanart again, and with latest (.142) i get the OutOfRangeException again on the min-max values:
    Code:
    28-Dec-2014 12:31:59 Error [ FanartHandlerConfig]: UpdateFanartThumbTable: System.ArgumentOutOfRangeException: Value of '11' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.
    Parameter name: Value
       at System.Windows.Forms.ProgressBar.set_Value(Int32 value)
       at FanartHandler.FanartHandlerConfig.UpdateFanartThumbTable(String path)
    Did this sneak in again? I'm pretty sure you fixed it in a previous build ;)

    I also notice that the scraping for 'Missing Artist/Albums' (with only Artists checked) takes a very long time (it seems to find 250+ artists without thumbs). Sometimes i just like to search for a specific Artists in my FH Database, so i was wondering if it would be possible to add an option for:
    Scrape selected Artist/Album thumb

    This would be really helpful incase of missing online fanart, and scraping that Artist/Album (based on the checkbox selection) could be initiated after you uploaded fanart to the website(s).

    ** EDIT **
    I just realize that the missing Artists/Albums aren't listed in FH Config, so that means the above suggestion would only work for replacing/upgrading existing fanart. So maybe it's better make an option for:
    Scrape specific Artist/Album thumb

    User clicks this button, and gets a popup where he can enter 3 variables:
    - Artist Name
    - Album Name
    - MBID

    And trigger a search based on the input?
    MBID should be leading. If no MBID entered, then the Artist and/or Album name would be searched for (if both Artist & Album checkboxes are checked, else only Artist or Album).

    Would something like this be possible? ;)
     
    Last edited:

    joEhSuper

    MP Donator
  • Premium Supporter
  • June 2, 2011
    1,014
    589
    Home Country
    Austria Austria
    No, I have only an entry in Artist :( in most of my files :(:(:(
    I already began to Tag my files again - and also fill the Album Artist Tag... lot of work also with good Tool MpTagThat
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    This 1 didn't download Album Thumb either:
    Code:
    28-Dec-2014 13:43:11 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist/Album (Thumbs): Andrea Bocelli - Sentimento.
    28-Dec-2014 13:43:41 Debug [             Scraper]: Last.FM: Trying to find thumbnail for Artist/Album: Andrea Bocelli - Sentimento.
    28-Dec-2014 13:43:41 Debug [             Scraper]: Last.FM: Thumb Mega for Artist/Album: Andrea Bocelli - Sentimento - http://images.amazon.com/images/P/B000071X4U.01._SCMZZZZZZZ_.jpg
    28-Dec-2014 13:43:41 Debug [             Scraper]: Last.FM: MBID for Artist/Album: Andrea Bocelli - Sentimento - 53a6ac82-0ce1-4532-836b-2b4464f395a0
    28-Dec-2014 13:43:41  Info [             Scraper]: Download: Album tumbnail for Andrea Bocelli - Sentimento (D:\MP_Shared\thumbs\Music\Albums\Andrea Bocelli-Sentimento_tmp.jpg).
    28-Dec-2014 13:43:42 Debug [             Scraper]: Download: Image: D:\MP_Shared\thumbs\Music\Albums\Andrea Bocelli-Sentimento_tmp.jpg: Start...
    28-Dec-2014 13:43:42 Debug [             Scraper]: CoverArtArchive: Trying to find thumbnail for Artist/Album: Andrea Bocelli - Sentimento - 76bc91d2-d8c6-3dd1-905c-c7572e3f3aff.
    28-Dec-2014 13:43:43 Debug [             Scraper]: CoverArtArchive: Extract Front Thumb URL: http://coverartarchive.org/release/b7ce2fd7-2f91-4e92-9f15-475bcd242947/4174592535.jpg
    28-Dec-2014 13:43:43  Info [             Scraper]: Download: Album tumbnail for Andrea Bocelli - Sentimento (D:\MP_Shared\thumbs\Music\Albums\Andrea Bocelli-Sentimento_tmp.jpg).
    28-Dec-2014 13:43:43 Debug [             Scraper]: Download: Image: D:\MP_Shared\thumbs\Music\Albums\Andrea Bocelli-Sentimento_tmp.jpg: Start...
    The MBID is correct, and Fanart.tv has the thumb listed. I'm lost ;)

    Can you tell me where i can find/edit the MBID's for Artists & Albums in the database?
     
    Last edited:

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    something else i'm running into, is the stripping of the illegal characters. i assume you've coded to strip out:
    \ / : * ? " < > |
    but that means the thumbs won't show up. When i replace those invalid character with an _ (underscore) then the thumb is working again.
    Would it be an idea to replace all those illegal characters with underscores? That way the thumbs should work.

    And another question :)
    Is it possible to use different CD Covers for multi-cd albums? Or will this only be possible when i tag the specific files with the specific cd cover?
    For example, have a look @ the covers i've upload for Ray Charles - Pure Genius: The Complete Atlantic Recordings 1952-1959. Every CD has a separate cover (and color).
    18-28-27.png General cover here is perfect
    18-28-30.png Here i want to see the cover for CD1 >> ray charles-pure genius 1952-1959 disc1L.jpg
     
    Last edited:

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,736
    1,196
    Alingsås
    Home Country
    Sweden Sweden
    Yeah, using the embedded artwork instead of forcing the folder.jpg (I think this is hardcoded in MediaPortal rather than FAH's fault though) would be great for multi CDs. folder.jpg should only be used as a fallback option unless specified in the plugin/MePo music configuration.

    Emph
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    Is it possible to use different CD Covers for multi-cd albums?
    Perhaps possible to use, but can not download them automatically as there is no indication on the disc number:
    Code:
    "466d57a4-ad19-3004-b2fa-d1a1865f6d73": {
                "albumcover": [
                    {
                        "id": "7600",
                        "url": "http://assets.fanart.tv/fanart/music/2ce02909-598b-44ef-a456-151ba0a3bd70/albumcover/the-complete-country--western-recordings-1959-1986-disc-3-4e26c61c36f47.jpg",
                        "likes": "0"
                    }
                ]
            },
    Try to use the built-in MP3 tag pictures.
    Different disks for albums can download MePoTools, and my theme for titan are able to show them.

    something else i'm running into, is the stripping of the illegal characters. i assume you've coded to strip out:
    \ / : * ? " < > |
    but that means the thumbs won't show up. When i replace those invalid character with an _ (underscore) then the thumb is working again.
    Thumbnails for all the wrong characters are replaced with _ because use the function name creation, from the media portal.

    The MBID is correct, and Fanart.tv has the thumb listed. I'm lost
    I will add debug information to the log file to see a picture size check passed or not.

    Can you tell me where i can find/edit the MBID's for Artists & Albums in the database?
    For artists and albums with a picture, you can change the MBID in the configurator, for those who have not found yet (only direct change to the database), but I'll try to come up with something.

    No, I have only an entry in Artist in most of my files
    I already began to Tag my files again - and also fill the Album Artist Tag... lot of work also with good Tool MpTagThat
    Understood, today try to alter the procedure for the selected elements to consider your option.[DOUBLEPOST=1419839459][/DOUBLEPOST]
    hi ajs Working on my fanart again, and with latest (.142) i get the OutOfRangeException again on the min-max values:
    Hmmm, let's see what may have missed something.

    so i was wondering if it would be possible to add an option for:
    Scrape selected Artist/Album thumb
    I'll try to do, but I can not promise, that I have to again create fully control button that takes a long time because do not GUI, and all registers hands.

    So maybe it's better make an option for:
    Scrape specific Artist/Album thumb
    User clicks this button, and gets a popup where he can enter 3 variables:
    - Artist Name
    - Album Name
    - MBID
    This is possible, but again have to do everything by hand. And we celebrate the New Year, that is, when I do not know.
     
    Last edited:

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    Perhaps possible to use, but can not download them automatically as there is no indication on the disc number:
    That's what i was afraid of ;)
    I think if we improve the MP thumbnail section with UHD (1000 + 200) option, tagging the files would be the best solution. I'll go have a peak at the code, maybe it's straight forward on how to extend current implementation, but i'm no dev ;)

    Try to use the built-in MP3 tag pictures.
    Yeah, i've tagged all my music properly, but since using tags reduces the thumbnail size to 600*600 max (which we need to fix in MP), i was wondering if FH had such an option, since it uses the music database, which is fed by the tags from the music files (and i always tag album numbers)

    Thumbnails for all the wrong characters are replaced with _ because use the function name creation, from the media portal.
    OK, then i might have mixed up something manually while testing ;)

    TNX for looking into the suggestions. (y) No rush, but might be nice to have.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    FanartHandler 4.0.0.144 (Alpha)
    * Rework scrapper
    * Change selected fanart procedure for Music
    * Fix progress bar errors
    + Add more debug information in log file
    + Add ability view Dummy items in Configurator

    FanartHandler 4.0.0.145 (Alpha)
    * Critical bugfix for download images from Fanart.TV (Invalid file name, do not download more than one picture.)

    @HomeY
    In order to see the hidden elements (they do not find an image) so-called Dummy items, and be able to change them MBID, it is necessary in the configuration file (FanartHandler.xml) to add the line:
    XML:
        <entry name="ShowDummyItems">yes</entry>

    @joEhSuper
    Check the Multi artists, better or not?
     

    Attachments

    • FanartHandler.4.0.0.145.Alpha.zip
      305.7 KB
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    It is advisable to remove all the fanart, with names like Adriano Celentano (d2b50525-1111-4906-aab6-4553f035f679).jpg, and clean the database from non-existent fanart (Cleanup Missing Fanart).
     

    Users who are viewing this thread

    Top Bottom