Fanart Handler Plugin v2.2.4.301 (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
    THIS PAGE IS FOR MP1.1 USERS. MP1.2 BETA OR SVN USERS SHOULD REFER TO THIS POST.

    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.x or 1.2 Alpha
    • The Fanart Handler Plugin ;)
    • A skin that supports the Fanart Handler 2.2.4.
    • If you want to use the Latest Media Features for Moving Picture version 1.1.2.1219 is required.
    • If you want to use the Latest Media Features for TVSeries version 2.9.1.1745 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 for MediaPortal 1.1.x or 1.2 Alpha
    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

    Change Log
    Change Log is available here.

    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.4.229

    Hi,

    Version 2.2.4.300 is now available from the homepage or from the MPE1 tool (update from online). This version is for MP1.1.x. Alot have happened since previous version. Changelog is available here.

    A version for MP1.2 Beta is also available (see link on first post), version 2.2.4.500 Please note that this version is only for MP1.2 Beta and will not work with MP1.1.x. The Beta and the official version contains the same functionality.

    The skinners guide is updated and is available here.

    Please let me know if you find any issues with this release.

    If I'm slow on replying to your posts this weekend it is because of me being more busy than usual. I'll be back on Monday ;)

    best regards
    cul8er
     

    robyf

    Retired Team Member
  • Premium Supporter
  • June 20, 2005
    1,076
    278
    52
    Bolzano
    Home Country
    Italy Italy
    Re: Fanart Handler Plugin v2.2.4.229

    I have the problem that I do not see fanart for tvseries in basichome anymore.

    Have tried with two skins, it sure happens in backdrop and in streamedmp. I'm using latest MP SVN and version 2.2.4.500 of fanarthandler. Everything else seems to work as it should.

    If you need logs please let me know.

    Thanks
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    873
    62
    NRW
    Home Country
    Germany Germany
    AW: Fanart Handler Plugin v2.2.4.229

    Hi cul8er!

    I have an issue with ver. 2.2.4.500! In "MediaPortalDirs.xml" i have configured a custom path to thumbs directory! Unfortunately it seems, that grabbing custom fanart (E:\MediaPortalThumbs\Skin FanArt\UserDef\) seems to be broken!

    FH ver. 2.2.4.500
    Skin: DefaultWide


    Debug Logs and FanartHandler.xml are attached!

    Best regards

    Helios
     

    Attachments

    • FanartHandler.xml
      1.8 KB

    toertchn

    Portal Member
    January 5, 2008
    23
    4
    Home Country
    Germany Germany
    Re: Fanart Handler Plugin v2.2.4.229

    Hi, I think you don't realy finished the fanart handler for MP 1.2 Beta.

    So ... i thought:
    1. install mp 1.2 beta
    2. install fanart handler beta
    3. grab movie infos
    4. enjoy the new feelings *g*

    ... but it's not so easy. So I started to checkout the beta brunch from SVN.

    Background:

    All I tested with a single movie file named: "Die Friseuse (2010).avi"
    MP1.2 Beta saved the fanart as: "Scraper\movies\Die Friseuse{0}.jpg"

    Let's dive in:

    DirectoryWorker calls: FanartHandlerSetup.SetupFilenames(path, "*.jpg", "Movie Scraper", 0);
    -> runs fine

    FanartHandlerSetup calls: SetupFilenamesRecursively(....)
    -> it don't process the files in the main folder here
    -> with a little change it does

    Finally - the fanart file goes to the database file:
    artist: die friseuse
    disc_image: ...\movies\Die Friseuse{0}.jpg

    I started MP again but no fanart visible ... going on ... how he requests the fanart for the entry

    so I found a call like:

    FanartHandlerSetup.GetFilename("Die Friseuse (2010)" ...

    and this calls your:

    DatabaseManager.GetFanart("die friseuse 2010", "Movie Scraper", 0)

    I think there is a "little bit" of names mishmash ...

    Keep up the good work.
    Greetings

    ------

    ... based on my last post ... here what i added to FanartSelected.RefreshGenericSelectedProperties:

    Code:
    else if (GUIWindowManager.ActiveWindow == 30886)
    {
    	...
    }
    else if (GUIWindowManager.ActiveWindow == 6)
    {
    	try
    	{
    		GUIFacadeControl facade = ((GUIFacadeControl)GUIWindowManager.GetWindow(6).GetControl(50));
    		if (facade != null && facade.SelectedListItem != null && !facade.SelectedListItem.IsFolder)
    		{
    			IVideoDatabase database = DatabaseFactory.GetVideoDatabase();
    			IMDBMovie details = new IMDBMovie();
    
    			// check if details get filled
    			if (database.GetMovieInfo(facade.SelectedListItem.Path, ref details) != -1)
    			{
    				FanartHandlerSetup.SelectedItem = details.Title;
    				// runs fine:
    				//string sFilename = FanartHandlerSetup.GetFilename(FanartHandlerSetup.SelectedItem, ref currSelectedGeneric, ref PrevSelectedGeneric, type, "FanartSelected", true, false);
    				//logger.Info("sFilename: " + sFilename);
    			}
    		}
    		else
    		{
    			//TODO: don't work but remove fanart for entries like [..]
    			FanartHandlerSetup.SelectedItem = null;
    			FanartAvailable = false;
    		}
    	}
    	catch (Exception ex)
    	{
    		logger.Error(ex);
    	}
    }
    else
    {
    	FanartHandlerSetup.SelectedItem = GUIPropertyManager.GetProperty("#selecteditem");
    }

    I get some System.NullReferenceException in log - but the fanart changes just fine ;-)
    Hope you can do some thing with the snippet.
     

    ysmp

    Design Group
  • Team MediaPortal
  • May 17, 2008
    1,863
    744
    Seoul.
    Home Country
    South Korea South Korea
    Re: AW: Fanart Handler Plugin v2.2.4.229

    Hi cul8er!

    I have an issue with ver. 2.2.4.500! In "MediaPortalDirs.xml" i have configured a custom path to thumbs directory! Unfortunately it seems, that grabbing custom fanart (E:\MediaPortalThumbs\Skin FanArt\UserDef\) seems to be broken!

    FH ver. 2.2.4.500
    Skin: DefaultWide


    Debug Logs and FanartHandler.xml are attached!

    Best regards

    Helios

    hi cul8er ! same her with versions 2.2.4.500 & 501 ..
     

    cul8er

    Retired Team Member
  • Premium Supporter
  • August 31, 2006
    2,159
    2,679
    Home Country
    Sweden Sweden
    • Thread starter
    • Moderator
    • #8
    Re: Fanart Handler Plugin v2.2.4.229

    Hi toertchn,

    Thanks for your report. I found the issue. It was a wrong regex used in the utils funcation. So I wont use the code you added but thanks anyway and for reporting the issue.

    best regards
    cul8er
     

    cul8er

    Retired Team Member
  • Premium Supporter
  • August 31, 2006
    2,159
    2,679
    Home Country
    Sweden Sweden
    • Thread starter
    • Moderator
    • #9
    Hi,

    FanartHandler 2.2.4.301 is now available.

    Change Log;
    • Fixed bug in TVSeries fanart not being displayed (random images)
    • Fixed bug in matching of videos (for myVideos)

    FanartHandler for MP1.2 Beta is also updated and available in download link on first post (version 2.2.4.501).

    Thank you all for your feedback and bug reports.

    best regards
    cul8er
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    873
    62
    NRW
    Home Country
    Germany Germany
    AW: Re: Fanart Handler Plugin v2.2.4.301

    Hi,

    FanartHandler 2.2.4.301 is now available.

    Change Log;
    • Fixed bug in TVSeries fanart not being displayed (random images)
    • Fixed bug in matching of videos (for myVideos)

    FanartHandler for MP1.2 Beta is also updated and available in download link on first post (version 2.2.4.501).

    Thank you all for your feedback and bug reports.

    best regards
    cul8er

    Hi cul8er!

    Have downloaded FanartHandlerForMP1.2-Beta_2.2.4.501.mpe1 from first posting of this thread! Unfortunately "plugin compatibility check" fails! Could you please check this issue?
    Big :D

    Helios
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom