Music Info (Bios, fanart, thumbs, cdart ...)

Discussion in 'Listen Music' started by jameson_uk, July 21, 2013.

Thread Status:
Not open for further replies.
  1. jameson_uk
    • Premium Supporter

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,405 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Please see MPEI installer for what will end up (at some point) being v3 of MusicInfoHandler).
    This now allows you to choose whether to download artist bios / album reviews from allmusic.com or theaudiodb.com

    I have very very little time for this so it is provided as is. Please feedback anything that does / doesn't work but it might take me several months to fix things :(

    =============================================================================

    I have attached an early prototype of something I have been working on.

    This has the possibility to mess up your collection so before you do anything make sure you backup
    • Your music database (C:\ProgramData\Team MediaPortal\MediaPortal\database\MusicDatabaseV12.db3)
    • Your music thumbs (C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\Music)
    • Your music fanart (C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\Skin FanArt\Scraper\music and C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\Skin FanArt\UserDef\music)
    Also if you have been using MusicInfoHandler then uninstall it (as allmusic.com has changed it won't work now anyway).



    PLEASE MAKE SURE YOU DO THE ABOVE ELSE YOU MIGHT LOSE STUFF

    So extract the three files in the zip and place them in your windows plugin folder (C:\Program Files (x86)\Team MediaPortal\MediaPortal\plugins\Windows).

    To test how effective this is I would like you to:
    • Delete your existing music database (the one you did back up above)
    • Do a full rescan of your music database
    • Delete all existing artist thumbs (you did back these up right....)
    • Delete all album thumbs
    • Delete all music fanart
    In MP Config you should be able to see the options to choose what data you want to grab / download.

    So the options are:

    Artists
    • Artist Thumbs. This will go through all the artists you have scanned in your music database and attempt to download a thumb. It will use fanart.tv and theaudiodb.com (but will prefer the larger thumbs from fanart.tv)
    • Artist fanart. Again based on the artists in your database will attempt to download up to three fanart images from both fanart.tv and theaudiodb.com (it will prefer fanart.tv and will only download fanart from theaudiodb.com if none is found on fanart.tv)
    • Artist clearart - you should get the idea by now.... will prefer the thumb on fanart.tv if available
    • Artist Bio - Will load artist bio from theaudiodb.com where available
    Albums
    • Missing coverart - This will attempt to download any missing album covers from fanart.tv / theaudiodb.com (so either not picked up during a database scan or deleted as I asked above)
    • CDArt - Self-explanatory. Does not take disc# into account (yet)
    • Album Review - This will load the album review from theaudiodb.com where available
    Language (in localized version)
    • Should be obvious ;) (based on list of languages available from theaudiodb.com

    The following locations are used (but these might not agree with other plugins / skins)
    • fanart - C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\Skin FanArt\UserDef\music
    • clearart - C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\Music\ClearArt
    • cdart - C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\Music\cdArt
    So at this point I am looking for input on quality / accuracy and % matched for thumbs. Also interested in peoples views of artist bio / album review data.
     

    Attached Files:

    Last edited: September 1, 2014
    • Thank You! Thank You! x 8
    • Like Like x 2
    • Great Idea! Great Idea! x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,742
    Likes Received:
    1,417
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,846 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
    technically it should be called clearlogo, anduse clearlogo as the directory name as clear art is not available for music and has different dimensions.

    alsoshouldn't music fanart be under musicsubdir... i see why you put it there but if we are using existing naming conventions then should use different directories for cdart and clearlogos? anyways just mentioning it as it is better to have these discussions early on rather than when it is to hard to change. nice work :)
     
    Last edited: July 21, 2013
    • Like Like x 1
  4. jameson_uk
    • Premium Supporter

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,405 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    I will update this when I next get a few minutes. I might actually rename it to artist logo as that I guess is what they actually are....

    Music fanart is where it is because otherwise fanarthandler does not recognise it. This is already in place and used by a lot of people where as I don't think the others (cd-art / artist logos) are. Also I have a feeling that some things using cd-art and logos already use different folders (and file naming come to that).

    At the moment it is just a case of changing a string in my code so is easy to change :) It is also easy to move files at OS level too :)

    but as you say once these start getting used then it becomes more of an issue and everyone needs to use the same thing.

    We should really define a cross-MP standard and then everyone can stick to the same one.
     
    • Like Like x 1
  5. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Nice work Mike! Although it's looking promising, i've noticed a couple of things after some testing:

    Album thumbs (not always) taken from tag and/or front.jpg in album folder?
    All my music is properly tagged and has the coverart embedded in the tags, but it seems it doesn't always take the already available art.
    For example the front.jpg present for Adele is:
    Adele - Good quality.jpg Where the thumb is getting really blurry -> Adele - Bad quality.png

    Another weird thing about Album thumbs is this:
    Album list thumb: Funhouse AlbumArt.png and when entering the album it gets blurry again (or maybe even uses another file for this since it's darker in color also) -> Funhouse AlbumArt - Blurry.png

    Album/Artist Info fails?
    When i hit F9 on an album, and select the 'Show album/artist info', it returns 'Not Found'.
    Show AlbumArtist.png Show AlbumArtist - Not Found.png
    but when i play a song, go to NowPlaying, the Artist info shows up (but is missing the Artist thumb)
    NowPlaying - ArtistInfo present.png

    Now i've got some albums tagged as 'Deluxe Edition' etc, so that might interfere with the lookup. If this is the case, would it be an idea to add an extra for a 'custom search' so you can remove the special edition tags prior to the lookup?

    There were NO Artist thumbs scraped, and also NO fanart was downloaded.

    ** EDIT **
    It looks like the album cover for Adele (the blurry 1) comes from theAudioDB.com (since that's the only cover on there). After some quick comparing it seems that AllMusic has better quality thumbs.

    What i do like about TheAudioDB is that the Artist Bio is multi-language :)
    Is that gonna be supported?
     
    Last edited: July 21, 2013
    • Thank You! Thank You! x 1
  6. jameson_uk
    • Premium Supporter

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,405 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    This is intentional if you have deleted your thumbs ;) The functionality is that this will download thumbs where one was not picked up during a database scan (ie. you don't have embedded artwork). It will not overwrite anything so if you do a scan of the database and don't delete the album thumbs it will only attempt to top up those that are missing. (most are actually pretty good quality though and I am thinking about updating some of the thumbs stored in my tags....)


    That is a skin / skin engine issue. I have not changed anything to do with how thumbs are displayed.

    Must admit I never actually tested displaying it... only that it got loaded.... will have a look

    All in good time. I want to get the basics right and then I will start adding things for the remaining stuff.

    None at all? The logs say otherwise
    Code (Text):
    1. [2013-07-21 18:01:48,902] [Log  ] [MusicInfoHandler Album Details] [DEBUG] - Downloading artist thumb from fanart.tv
    2. [2013-07-21 18:01:48,903] [Log  ] [19      ] [DEBUG] - fileSystemWatcher_Created file d:\mp_shared\thumbs\Skin Fanart\UserDef\music\Ludovico Einaudi_0.jpg
    3. [2013-07-21 18:01:48,956] [Log  ] [19      ] [DEBUG] - fileSystemWatcher_Created file d:\mp_shared\thumbs\Skin Fanart\UserDef\music\Ludovico Einaudi_1.jpg
    4. [2013-07-21 18:01:50,856] [Log  ] [19      ] [DEBUG] - fileSystemWatcher_Created file d:\mp_shared\thumbs\Skin Fanart\UserDef\music\Ludovico Einaudi_2.jpg
    All in good time but I think you will be disappointed with the level of population and quality of these bios...
     
    • Like Like x 1
  7. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
    My bad !!! I was looking in the Scraper folder instead of the UserDef folder ;)
    It downloaded 147 farts ;)
    And after checking my thumbs\Music\Artists folder, that also has 105 images, so that seems to work also (only they don't show up in MP)

    Right, and that's what i did according to your steps ;) so that explains.
     
    Last edited: July 21, 2013
  8. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,258
    Likes Received:
    4,995
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,421 / 38
    Home Country:
    Germany Germany
    Show System Specs
    Tested this one and it works so far. I do see the album info and artist bio in NowPlaying, but not when calling these with F9 (dialogArtistInfo and dialogAlbumInfo).
    The fanart is scraped into
    C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\Skin FanArt\UserDef\music,
    which I find a bit odd, because FH looks up the music fanart in
    C:\ProgramData\Team MediaPortal\MediaPortal\thumbs\Skin FanArt\Scraper\music,
    so at the moment I get double fanart in this two folders occupying double HDD space - doesn´t matter here with 1TB, but would be better to use the standard FH folder and not the UserDef\music for storing the fanart.
    Album and artist thumbs are generated correct and in good quality.
    So THX Mike for your new approach to get us the music info back ;)

    ****EDIT***: Artist thumbs are NOT scraped correct, they just show the album cover or a genre cover, but no artist thumbs at all ;)

    Example: This is the old artist thumb of Shakira: Shakira.jpg

    ... and this the new one: Shakira.jpg which is a typical genre image.

    So some more things to do ;)
     
    Last edited: July 22, 2013
    • Like Like x 1
  9. jameson_uk
    • Premium Supporter

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,405 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Noted and I will have a look

    This was on purpose so that I could see both existing fanart and the downloads and I could compare. I will change the folder at some point. What I can't do is really combine the fanart as I have no way of telling whether the single image downloaded from htbackdrops is the same as the one from fanart.tv so you could end up with two copies of the same image.

    Ahhh do you have the generate artist thumb option checked?
    artist thumb.png


    I think that if you scanned the database after deleting your artist thumbs then this will have generated those thumbs. This piece of work will then have seen that an artist thumb already exists and would not try to download it. AFAIK this is the only place where those type of thumbs get created
     
    • Like Like x 1
  10. jameson_uk
    • Premium Supporter

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,405 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Those who have tried can they let me know
    • Rough % of artist thumbs matched
    • Whether you have any wrong thumbs (I had one bad match from theaudio.db and one thumb that was just of the wrong artist on fanart.tv)
    • Rough % of fanart downloaded
    • Whether artist thumbs are better than previous versions
    • Whether fanart is any better than before
    Next up I will attempt to fix the artist / album info not showing and then I will look at allowing you to change the language
     
    • Like Like x 3
  11. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Collection: 52 Album Artists
    • Missing Artist thumbs: 7 (+ Various Artists), which is about 85%
    • All thumbs are correct ;) and i'm lovin' the quality of them! Better than before (y)
    • for 36 Artist fanart is downloaded, so that's about 70%
    • As far as the quality for the fanart, it's hard to compare. I see a lot of the same pictures, some new once look really awesome. But i've been using your Last.FM rework for months now, and FH doesn't work on that so i'm really happy with this solution! Btw: IS it compatible with the Last.FM rework??
     
    Last edited: July 22, 2013
Loading...
Thread Status:
Not open for further replies.

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!