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

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,369
    Kyiv
    Home Country
    Ukraine Ukraine
    @Arni_69
    Without a log file with debug information I did not help you. Well, it is desirable with the latest version FH.[DOUBLEPOST=1422991217][/DOUBLEPOST]
    Fanart Handler 4.0.0.177 Beta
    + Add Genre fanart for selected item.
    Checked. :coffee: Works fine. :cool: As for the film and for music. It is urgent to look beautiful backdrops for the genre. :D
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,369
    Kyiv
    Home Country
    Ukraine Ukraine
    How better to do, add tough to plug separators: feat , and & ; etc. Or bring them into the configuration file and add a switch that they will be switched on and off?
    Like:
    XML:
      <section name="Separators">
        <entry name="sep0"> &amp; </entry>
        <entry name="sep1"> feat </entry>
        <entry name="sep2"> and </entry>
        <entry name="sep3"> и </entry>
      </section>
    And now in the code mess. In some places, they use one, some where not etc.
    Example:
    Madonna feat J.J.Cale search for 1. Madonna feat J.J.Cale, 2.Madonna, 3.J.J.Cale
    - Now when searching for images, the plugin will search only for the Madonna, and when searching for images from the database as in the example.
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,369
    Kyiv
    Home Country
    Ukraine Ukraine
    Fanart Handler 4.0.0.181
    * Fix multi genre support
    * Fix progress indicator for now playing scrapper
    * Add additional sepparators in config file (upgraded on first start)
    * Rename option AndSignAsSeparator - AddAdditionalSeparators

    AddAdditionalSeparators - Off - Default
    Code:
    11-Feb-2015 20:22:06 Debug [               Utils]: Artists pipes: [|][;]
    AddAdditionalSeparators - On
    Code:
    11-Feb-2015 20:22:06 Debug [               Utils]: Artists pipes: [|][;][ & ][ feat ][ feat. ][ and ][ и ][ und ][ et ][,][ ft ]
    Default additional separators in config (updated on first start):
    XML:
      <section name="Separators">
        <entry name="sep0"> &amp; </entry>
        <entry name="sep1"> feat </entry>
        <entry name="sep2"> feat. </entry>
        <entry name="sep3"> and </entry>
        <entry name="sep4"> и </entry>
        <entry name="sep5"> und </entry>
        <entry name="sep6"> et </entry>
        <entry name="sep7">,</entry> 
        <entry name="sep8"> ft </entry>
      </section>
    Log:
    Code:
    11-Feb-2015 20:22:45 Debug [             Scraper]: --- Fanart --- Freemasons feat. Bailey Tzuke ---
    11-Feb-2015 20:22:45 Debug [             Scraper]: Trying to find Fanart for Artist: Freemasons feat. Bailey Tzuke
    11-Feb-2015 20:22:46 Debug [             Scraper]: MusicBrainz: Extract ID: 12c1bdfe-5f08-4f34-988f-dc2bb807a78b
    11-Feb-2015 20:22:46 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    11-Feb-2015 20:22:46 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Fanart): Freemasons feat. Bailey Tzuke - 12c1bdfe-5f08-4f34-988f-dc2bb807a78b.
    11-Feb-2015 20:22:46 Debug [             Scraper]: Extract URL - [artistbackground] URLs Found: 1
    11-Feb-2015 20:22:46  Info [             Scraper]: Download: Fanart for Freemasons feat. Bailey Tzuke (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Freemasons feat. Bailey Tzuke (54555).jpg).
    11-Feb-2015 20:22:46 Debug [             Scraper]: Download: http://assets.fanart.tv/fanart/music/12c1bdfe-5f08-4f34-988f-dc2bb807a78b/artistbackground/tzuke-bailey-506750b649fdd.jpg
    11-Feb-2015 20:22:46 Debug [             Scraper]: System.Net.WebException: The remote server returned an error: (416) Requested Range Not Satisfiable.
       at System.Net.HttpWebRequest.GetResponse()
       at FanartHandler.Scraper.DownloadImage(String& sArtist, String sAlbum, String& sourceFilename, String& path, String& filename, Category category, String id)
    11-Feb-2015 20:22:46 Debug [             Scraper]: Download: Status: Stop deleting temporary: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Freemasons feat. Bailey Tzuke (54555).jpg
    11-Feb-2015 20:22:46 Debug [             Scraper]: HtBackdrops: Trying to find fanart for Artist: Freemasons feat. Bailey Tzuke.
    11-Feb-2015 20:22:46 Debug [             Scraper]: --- Thumb --- Freemasons feat. Bailey Tzuke ---
    11-Feb-2015 20:22:46 Debug [             Scraper]: Trying to find Thumbs for Artist: Freemasons feat. Bailey Tzuke
    11-Feb-2015 20:22:46 Debug [             Scraper]: MusicBrainz: DB ID: 12c1bdfe-5f08-4f34-988f-dc2bb807a78b
    11-Feb-2015 20:22:46 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    11-Feb-2015 20:22:46 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Thumbs): Freemasons feat. Bailey Tzuke - 12c1bdfe-5f08-4f34-988f-dc2bb807a78b.
    11-Feb-2015 20:22:46 Debug [             Scraper]: HtBackdrops: Trying to find thumbnail for Artist: Freemasons feat. Bailey Tzuke.
    11-Feb-2015 20:22:46 Debug [             Scraper]: Last.FM: Trying to find thumbnail for Artist: Freemasons feat. Bailey Tzuke.
    11-Feb-2015 20:22:47 Debug [             Scraper]: Last.FM: Thumb Mega for Artist: Freemasons feat. Bailey Tzuke - http://userserve-ak.last.fm/serve/_/36107159/Freemasons+feat+Bailey+Tzuke+freemasons.jpg
    11-Feb-2015 20:22:47 Debug [             Scraper]: Last.FM: MBID for Artist: Freemasons feat. Bailey Tzuke -
    11-Feb-2015 20:22:47  Info [             Scraper]: Download: Artist tumbnail for Freemasons feat. Bailey Tzuke (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Music\Artists\Freemasons feat. Bailey Tzuke_tmp.jpg).
    11-Feb-2015 20:22:47 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Music\Artists\Freemasons feat. Bailey Tzuke_tmp.jpg: Start...
    11-Feb-2015 20:22:48 Debug [             Scraper]: CreateThumbnail: BigThumbs mode: highest quality size: 600x600
    11-Feb-2015 20:22:48 Debug [             Scraper]: CreateThumbnail: Thumbs mode: highest quality size: 140x140
    11-Feb-2015 20:22:48  Info [     DatabaseManager]: Importing fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Music\Artists\Freemasons feat. Bailey TzukeL.jpg).
    11-Feb-2015 20:22:48  Info [     DatabaseManager]: No fanart found for Artist: Freemasons feat. Bailey Tzuke.
    11-Feb-2015 20:22:48 Debug [             Scraper]: --- Fanart --- Bailey Tzuke ---
    11-Feb-2015 20:22:48 Debug [             Scraper]: Trying to find Fanart for Artist: Bailey Tzuke
    11-Feb-2015 20:22:48 Debug [             Scraper]: MusicBrainz: Extract ID: 12c1bdfe-5f08-4f34-988f-dc2bb807a78b
    11-Feb-2015 20:22:48 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    11-Feb-2015 20:22:48 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Fanart): Bailey Tzuke - 12c1bdfe-5f08-4f34-988f-dc2bb807a78b.
    11-Feb-2015 20:22:49 Debug [             Scraper]: Extract URL - [artistbackground] URLs Found: 1
    11-Feb-2015 20:22:49  Info [             Scraper]: Download: Fanart for Bailey Tzuke (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Bailey Tzuke (54555).jpg).
    11-Feb-2015 20:22:49 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Bailey Tzuke (54555).jpg: Start...
    11-Feb-2015 20:22:49 Debug [             Scraper]: Download: Image for Bailey Tzuke (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Bailey Tzuke (54555).jpg): Complete.
    11-Feb-2015 20:22:49  Info [     DatabaseManager]: Importing fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Bailey Tzuke (54555).jpg).
    11-Feb-2015 20:22:49 Debug [             Scraper]: HtBackdrops: Trying to find fanart for Artist: Bailey Tzuke.
    11-Feb-2015 20:22:49 Debug [             Scraper]: HtBackdrops: Found fanart for Artist: Bailey Tzuke. MBID: 12c1bdfe-5f08-4f34-988f-dc2bb807a78b
    11-Feb-2015 20:22:49  Info [             Scraper]: Download: Fanart for bailey tzuke (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\bailey tzuke (6271).jpg).
    11-Feb-2015 20:22:49 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\bailey tzuke (6271).jpg: Start...
    11-Feb-2015 20:22:50 Debug [             Scraper]: Download: Image for bailey tzuke (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\bailey tzuke (6271).jpg): Complete.
    11-Feb-2015 20:22:50  Info [     DatabaseManager]: Importing fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\bailey tzuke (6271).jpg).
    11-Feb-2015 20:22:50 Debug [             Scraper]: HtBackdrops: Found fanart for Artist: Bailey Tzuke. MBID: 12c1bdfe-5f08-4f34-988f-dc2bb807a78b
    11-Feb-2015 20:22:50  Info [             Scraper]: Download: Fanart for bailey tzuke (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\bailey tzuke (32862).jpg).
    11-Feb-2015 20:22:50 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\bailey tzuke (32862).jpg: Start...
    11-Feb-2015 20:22:50 Debug [             Scraper]: Download: Image for bailey tzuke (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\bailey tzuke (32862).jpg): Complete.
    11-Feb-2015 20:22:50  Info [     DatabaseManager]: Importing fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\bailey tzuke (32862).jpg).
    11-Feb-2015 20:22:50 Debug [             Scraper]: --- Thumb --- Bailey Tzuke ---
    11-Feb-2015 20:22:50 Debug [             Scraper]: Trying to find Thumbs for Artist: Bailey Tzuke
    11-Feb-2015 20:22:50 Debug [             Scraper]: MusicBrainz: DB ID: 12c1bdfe-5f08-4f34-988f-dc2bb807a78b
    11-Feb-2015 20:22:50 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    11-Feb-2015 20:22:50 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Thumbs): Bailey Tzuke - 12c1bdfe-5f08-4f34-988f-dc2bb807a78b.
    11-Feb-2015 20:22:50 Debug [             Scraper]: HtBackdrops: Trying to find thumbnail for Artist: Bailey Tzuke.
    11-Feb-2015 20:22:50 Debug [             Scraper]: HtBackdrops: Found thumbnail for Artist: Bailey Tzuke. MBID: 12c1bdfe-5f08-4f34-988f-dc2bb807a78b
    11-Feb-2015 20:22:50  Info [             Scraper]: Download: Artist tumbnail for Bailey Tzuke (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Music\Artists\Bailey Tzuke_tmp.jpg).
    11-Feb-2015 20:22:50 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Music\Artists\Bailey Tzuke_tmp.jpg: Start...
    11-Feb-2015 20:22:51 Debug [             Scraper]: CreateThumbnail: BigThumbs mode: highest quality size: 600x600
    11-Feb-2015 20:22:51 Debug [             Scraper]: CreateThumbnail: Thumbs mode: highest quality size: 140x140
    11-Feb-2015 20:22:51  Info [     DatabaseManager]: Importing fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Music\Artists\Bailey TzukeL.jpg).
    11-Feb-2015 20:22:51  Info [     DatabaseManager]: Artist: Bailey Tzuke has already maximum number of images. Will not download anymore images for this artist.

    11-Feb-2015 20:22:45 Debug [ Scraper]: --- Fanart --- Freemasons feat. Bailey Tzuke ---
    ...
    Freemasons - already in db
    ...
    11-Feb-2015 20:22:48 Debug [ Scraper]: --- Fanart --- Bailey Tzuke ---
     

    Attachments

    • FanartHandler.4.0.0.181.zip
      372 KB

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,369
    Kyiv
    Home Country
    Ukraine Ukraine
    Question: If, for a movie not found fanart. And not found fanart for the genre (if enabled). Is it necessary to show that either? For example any random from the movies? Or any random from a user folder?[DOUBLEPOST=1423731100][/DOUBLEPOST]Installer :D
     

    Attachments

    • FanartHandler-4.0.0.181.mpe1
      11.6 MB
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,369
    Kyiv
    Home Country
    Ukraine Ukraine
    Question: And fanart for the genre should participate in a random show or not?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,369
    Kyiv
    Home Country
    Ukraine Ukraine
    I asked the question: https://forum.team-mediaportal.com/threads/question-skin-and-movie-studios-images.129858/
    But so far none of the @Developers @Designers did not respond to it. I do not know who knows the engine skins. And who could tell me whether the functions available in the skins, so do it or not.
    If this can not be done. I added the tag: #fanarthandler.movie.studios Which will add all available pictures in a studio (approximately as in TV-Series). And give it to media portals. But then the question arises. Store it in a temporary folder? Or stored permanently? Or maybe someone will offer another option?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,369
    Kyiv
    Home Country
    Ukraine Ukraine
    @ltfearme
    I can in FH, take advantage of your procedure to create a single image from multiple? I do not want to invent the wheel.
    If it is possible, may suggest how, as provided that I have a ready list of pictures, and I need to get one of them, and give it to media portals.
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,363
    10,399
    Königstein (Taunus)
    Home Country
    Germany Germany
    hi ajs, atm there is no such a property you suggested, but would be a nice-to-have ;)
    Most skins have the studio images in their skin folder ...\Logos\studios, so I don´t know whether FH should download it/store it in another place in thumbs folder?
    This may only be helpful if the requested studio logo does not exist in the skin ;)
    And of course there are skinners out there who don´t support studio logos at all (mainly due to reasons regarding the available display space ;)
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,369
    Kyiv
    Home Country
    Ukraine Ukraine
    Most skins have the studio images in their skin folder ...\Logos\studios,
    I know about it, and my themes also support Pictures studios. But I do not understand how the skins, these pictures show, if I have 99% of films contain more than one studio. And so such a structure just does not work:
    XML:
    <texture>Logos\Studios\#(string.trim(#studios)).png</texture>

    so I don´t know whether FH should download it/store it in another place in thumbs folder?
    It will not download anything. He will watch list studios for the film, and if the studio one, then return in the tag file name for it. If the studio is more than one, then make a single picture for them. And here the question, store it in a temporary folder. Or saved to disk for later use.
    Example:
    Film Studio - FOX - #fanarthandler.movie.studios return ...Logos\Studios\Fox.png
    Film Studio - Sony / FOX-#fanarthandler.movie.studios return %temp%\tempfile.png or store and return ...\thumbs\Skin FanArt\Scraper\Studios\Sony Fox.png

    And of course there are skinners out there who dont support studio logos at all (mainly due to reasons regarding the available display space
    It is a pity that there is no such mechanism, it can also be used not only for the studios, but also for the genre, for the languages of the country for the film, etc. etc.
    Ie if there was a function in the media portals, which skin give folder and tag with a list, and on the screen appeared the images that were in line with this list.
    Like:
    XML:
    <texture>image.merge(Logos\Studios\,#(string.trim(#studios)),.png)</texture>
     

    Users who are viewing this thread

    Top Bottom