Fanart Handler Plugin v2.2.3.197 (and music fanart scraper) (1 Viewer)

Status
Not open for further replies.

cul8er

Retired Team Member
  • Premium Supporter
  • August 31, 2006
    2,159
    2,679
    Home Country
    Sweden Sweden
    Important About Version 2.2.2 (and later)
    The plugin has undergone alot of changes to make it MP 1.2 compatible. MP 1.2 contains for example a new great feature for the myVideo plugin. The new feature allows MP to scrape movie fanart for movies handled by the myVideos plugin. This and a few other things has forced me to change the folder structure for the FanartHandler fanarts. More on this in the Fanart Handler Wikis. This requires skin changes. Skinners has been notified but you should not upgrade to version 2.2.2 if you are not sure that the skin you are using supports this version. If installing and your skin is not yet prepared for 2.2.2 no fanart will be displayed. Since the folder structure is updated it also means that you cannot revert back to your old 2.2.1 version. Please take a backup of your Thumbs/Skin Fanart and the Database/FanartHandler.db3 files before upgrading.Please note that this installer is NOT MP1.2 compatible (this version is MP1.1.2 compatible). A MP1.2 Alpha compatible version of Fanart Handler can be found in the bottom of this page.

    Introduction
    Fanart Handler is a plugin for MediaPortal (MP). The plugin basically supports;
    • Search and download music artist fanart or artist thumbnails (scrape) from the htbackdrops site (link).

      [*]for all artists stored in your MP music database.
      [*]for any artist currently being played (on the fly).
    • Push fanart that you store on your local harddrive to the current used MP skin.

      [*]push fanart for now played music
      [*]push fanart for selected music or movie
      [*]push random images from selected folders
    • Push latest added media to your skin.

      [*]latest added pictures
      [*]latest added movies (moving pictures)
      [*]latest added series (tvseries)
      [*]latest added music
      [*]latest added tv recordings


    Scope
    The scope of this plugin is to;
    1. scrape htbackdrops site for music fanart for all artists stored in your MP music database.
    2. scrape htbackdrops site for music fanart for currently played artist.
    3. push music fanart for now played music track (artist images)
    4. push music fanart for browsed music artist in myMusic plugin
    5. push music fanart for browsed/played music artist in myMusicPlaylist plugin
    6. push music fanart for browsed music artist in GlobalSearch? plugin
    7. push music fanart for browsed music artist in Music Videos plugin
    8. push music fanart for browsed music artist in mVidsplugin
    9. push music fanart for browsed music artist in YouTube?.FM plugin
    10. push movie fanart for browsed video title in myVideo plugin
    11. push scorecenter fanart for browsed category in myScoreCenter plugin
    12. push cycling fanart from the following folders for use anywhere in a skin for

      [*]thumbs\MovingPictures?\Backdrops\FullSize?
      [*]thumbs\Fan Art\fanart\original
      [*]thumbs\Skin Fanart\games
      [*]thumbs\Skin Fanart\movies
      [*]thumbs\Skin Fanart\music
      [*]thumbs\Skin Fanart\pictures
      [*]thumbs\Skin Fanart\plugins
      [*]thumbs\Skin Fanart\tv


    Guides


    Requirements
    • MediaPortal 1.1.0, 1.1.1 or 1.1.2
    • The Fanart Handler Plugin ;)
    • A skin that supports the Fanart Handler 2.2.2.
    • If you want to use the Latest Media Features for Moving Picture version 1.0.7 is required.
    • If you want to use the Latest Media Features for TVSeries version 2.6.3 is required.
    NOTE! This plugin only supports JPG images.


    Supported Skins
    Please let me know if your skin supports the Fanart Handler and I will add it to the list


    Installation
    Please read the installation guide (link).

    Download
    Use the new installer included in MP and the extension is available online in that tool (no need to download anything manual) or download it from the MP homepage under plugins.

    Report Issues
    Please use this issue list to report any issues related to this plugin (link).


    Project Page

    Fanart Handler For MP1.2 SVN Version

    Thank you to everyone that has helped me testing the Beta versions and the Release Candidates. Without your help this plugin would never had reached version 1. Also a big thank you to the team behind Moving Picture for one of the greatest plugins for MediaPortal ever from wich I have reused a couple of util methods (yes, I got approval from fforde). And to team MP for the best Media Center ever;)

    Best Regards
    cul8er
     

    cul8er

    Retired Team Member
  • Premium Supporter
  • August 31, 2006
    2,159
    2,679
    Home Country
    Sweden Sweden
    • Thread starter
    • Moderator
    • #2
    Re: Fanart Handler Plugin v2.2.2 (and music fanart scraper)

    Important
    Please backup your "Thumbs\Skin FanArt" folder and your fanarthandler.db3 database before installing this new version (2.2.2). The first time you run MP after installing this version your folder structure will be migrated and the database also.

    Change Log
    • Now playing scrape improved for multiple artists
    • Scraping for new images improved
    • Latest added TVrecordings used low quality thumb, now uses high quality thumb
    • Sometimes low quality artist or album thumb was incorrectly used instead of high quality fanart
    • Improved music fanart matching in myMusic plugin - shared view
    • You can now click on Latest music, moving picture and tvseries and start playback from basichome
    • The folder structure of this plugin has changed. Skin Fanart has got two subfolders called Scraper and UserDef. More about this below.
    • New property for (#fanarthandler.tvseries.latest1.serieThumb, #fanarthandler.tvseries.latest2.serieThumb and #fanarthandler.tvseries.latest3.serieThumb)

    New Folder Structure
    • Thumbs\Skin FanArt\Scraper\movies
    • Thumbs\Skin FanArt\Scraper\music
    • Thumbs\Skin FanArt\UserDef\games
    • Thumbs\Skin FanArt\UserDef\movies
    • Thumbs\Skin FanArt\UserDef\music
    • Thumbs\Skin FanArt\UserDef\pictures
    • Thumbs\Skin FanArt\UserDef\plugins
    • Thumbs\Skin FanArt\UserDef\scorecenter
    • Thumbs\Skin FanArt\UserDef\tv

    User Guide - link
    Updated with new folder structure.

    Skinners Guide - link
    Skinners, please read the skinners guide because a lot of the properties/tags has changed to reflect the new folder structure.

    best regards
    cul8er
     

    ysmp

    Design Group
  • Team MediaPortal
  • May 17, 2008
    1,863
    744
    Seoul.
    Home Country
    South Korea South Korea
    Re: Fanart Handler Plugin v2.2.2 (and music fanart scraper)

    HI cul8er ! great to her from you ...with update for the most need plugin for MP....;)

    i was waiting for v2.2.2 to come .....

    :D for your great work ,you doing ....:D
     

    cul8er

    Retired Team Member
  • Premium Supporter
  • August 31, 2006
    2,159
    2,679
    Home Country
    Sweden Sweden
    • Thread starter
    • Moderator
    • #4
    Re: Fanart Handler Plugin v2.2.2 (and music fanart scraper)

    Hi,

    Anyone that have installed the 2.2.2 Beta version should remove the FanartHandler.dll file (in plugins\process) before running the MPE1 installer. Otherwise the installer fails to upgrade.

    best regards
    cul8er
     

    ysmp

    Design Group
  • Team MediaPortal
  • May 17, 2008
    1,863
    744
    Seoul.
    Home Country
    South Korea South Korea
    Re: Fanart Handler Plugin v2.2.2 (and music fanart scraper)

    Hi,

    Anyone that have installed the 2.2.2 Beta version should remove the FanartHandler.dll file (in plugins\process) before running the MPE1 installer. Otherwise the installer fails to upgrade.

    best regards
    cul8er

    hi cul8er ! i update with no remove it .. and seamss update o.k ..
     

    Jay_UK

    Test Group
  • Team MediaPortal
  • October 6, 2009
    1,781
    283
    Derby
    Home Country
    United Kingdom United Kingdom
    Re: Fanart Handler Plugin v2.2.2 (and music fanart scraper)

    Hi there,

    Many thanks for releasing the new update :D

    Stupid question time..... :mad:

    Can I assume Blue3 and Blue3Wide natively support this plugin (as they come with MePo)?

    Thanks,

    J.
     

    el_gato

    Portal Pro
    October 15, 2007
    189
    58
    Home Country
    Germany Germany
    AW: Fanart Handler Plugin v2.2.2 (and music fanart scraper)

    stupid question time #2...

    i expected the "how to bring mymovies to life"-changes to work with this fanarthandler version but the config still says the plugin is not installed or configured properly when trying to activate fanart, so what am i supposed to do to get this working? i'd like to test the "new" mymovies and flipping the covers around thing etc

    i'm using the 1.2.0 alpha without latest svn. do i need these?
     

    Deda

    Lead Dev MP1 Videos
  • Premium Supporter
  • March 18, 2009
    2,423
    2,385
    Zagreb
    Home Country
    Croatia Croatia
    Re: AW: Fanart Handler Plugin v2.2.2 (and music fanart scraper)

    stupid question time #2...

    i expected the "how to bring mymovies to life"-changes to work with this fanarthandler version but the config still says the plugin is not installed or configured properly when trying to activate fanart, so what am i supposed to do to get this working? i'd like to test the "new" mymovies and flipping the covers around thing etc

    i'm using the 1.2.0 alpha without latest svn. do i need these?

    Yes you need new FAHandler for 1.2.0 Alpha and newset SVNs because of fanart directory changes, MP checks for folder


    • %MPConfig%Thumbs\Skin FanArt\Scraper\movies
    and if it's not there you will see that message.
     

    Deda

    Lead Dev MP1 Videos
  • Premium Supporter
  • March 18, 2009
    2,423
    2,385
    Zagreb
    Home Country
    Croatia Croatia
    Re: Fanart Handler Plugin v2.2.2 (and music fanart scraper)

    Hi cul8er, just one small observation with MP 1.2.0 Alpha. Fanart handler (latest) doesn't push fanart if filename contains "and" ie. how it is done in MP alpha:

    Video filename: Beauty and the beast (1991).mkv

    MP will download fanart and save it in /Skin FanArt/Scraper/Movies as:
    Beauty and the beast (1991).jpg
    Beauty and the beast.jpg

    Looking at FA database file those jpgs are in but FA was not pushed in skin in any view (share or database).

    -----------------

    If I do something like this:
    Video filename rename to: Beauty the beast (1991).mkv

    MP will download fanart and save it in /Skin FanArt/Scraper/Movies as:
    Beauty the beast (1991).jpg
    Beauty and the beast.jpg

    FA will be shown in skin in share view (because filename doesn't contain AND) but in database view will not be shown as Movie title is Beaty and the beast.

    I checked this in Black Glass Nova (for 1.2.0) and PureVision HD (for 1.2.0) so I assume this is not a skin issue.

    Maybe some other words can cause a problem but for now I only found that "AND" will break FA push. Will appreciate if you can look at this.

    Update:
    Just to help you, I found a cause in Utils.cs (FA code lines 492-494):
    Code:
     public static string HandleMultipleArtistNamesForDBQuery(string s)
            {
                if (s == null)
                {
                    return string.Empty;
                }
    
               [COLOR="Red"][B][I] s = s.Replace(";","|");
                s = s.ToLower().Replace(" ft ", "|");
                s = s.ToLower().Replace(" and ", "|");
                s = s.ToLower().Replace(" & ", "|");[/I][/B][/COLOR]
                ...........
     

    cul8er

    Retired Team Member
  • Premium Supporter
  • August 31, 2006
    2,159
    2,679
    Home Country
    Sweden Sweden
    • Thread starter
    • Moderator
    • #10
    Re: Fanart Handler Plugin v2.2.2 (and music fanart scraper)

    Hi Deda,

    Thanks, the function you found is for parsing multiple artists (music). Should not be called when handling other things like movies. Will fix this.

    best regards
    cul8er
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom