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

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #41
    FanartHandler 4.0.0.64 (Beta):
    * Pictures of one of the artists such as The Beetles - Beetles, do not fall into the database during the upgrade, only after restart. Now fall.
    * Old log file now has the extension .bak.

    Sory :notworthy::(:coffee:

    Logs for Cranberries - The Cranberries:
    Code:
    03-Dec-2014 16:14:05 Debug [             Scraper]: Trying to find Fanart for Artist: Cranberries.
    03-Dec-2014 16:14:06 Debug [             Scraper]: MuzicBrainz: Extract ID: c98d40fd-f6cf-4b26-883e-eaa515ee2851
    03-Dec-2014 16:14:06 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Fanart): Cranberries.
    03-Dec-2014 16:14:09 Debug [             Scraper]: Extract URL - URLs Found: 7
    03-Dec-2014 16:14:09  Info [             Scraper]: Download: Fanart for Cranberries (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Cranberries (4748).jpg).
    03-Dec-2014 16:14:09 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Cranberries (4748).jpg: Start...
    03-Dec-2014 16:14:09 Debug [             Scraper]: Download: Image for Cranberries (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Cranberries (4748).jpg): Comlete.
    03-Dec-2014 16:14:09  Info [     DatabaseManager]: Importing fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Cranberries (4748).jpg).
    ...
    03-Dec-2014 16:14:12 Debug [             Scraper]: Trying to find Fanart for Artist: The Cranberries.
    03-Dec-2014 16:14:12 Debug [             Scraper]: MuzicBrainz: Extract ID: c98d40fd-f6cf-4b26-883e-eaa515ee2851
    03-Dec-2014 16:14:12 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Fanart): The Cranberries.
    03-Dec-2014 16:14:13 Debug [             Scraper]: Extract URL - URLs Found: 7
    03-Dec-2014 16:14:13  Info [             Scraper]: Download: Fanart for The Cranberries (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\The Cranberries (4748).jpg).
    03-Dec-2014 16:14:13 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\The Cranberries (4748).jpg: Start...
    03-Dec-2014 16:14:13 Debug [             Scraper]: Download: Image for The Cranberries (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\The Cranberries (4748).jpg): Comlete.
    03-Dec-2014 16:14:13 Debug [     DatabaseManager]: Updating fanart in fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\The Cranberries (4748).jpg).
    Code:
    03-Dec-2014 16:19:42 Debug [             Scraper]: Trying to find Fanart for Artist: Cranberries.
    03-Dec-2014 16:19:42 Debug [             Scraper]: MuzicBrainz: Extract ID: c98d40fd-f6cf-4b26-883e-eaa515ee2851
    03-Dec-2014 16:19:42 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Fanart): Cranberries.
    03-Dec-2014 16:19:43 Debug [             Scraper]: Extract URL - URLs Found: 7
    03-Dec-2014 16:19:43  Info [             Scraper]: Download: Fanart for Cranberries (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Cranberries (4748).jpg).
    03-Dec-2014 16:19:43 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Cranberries (4748).jpg: Start...
    03-Dec-2014 16:19:43 Debug [             Scraper]: Download: Image for Cranberries (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Cranberries (4748).jpg): Comlete.
    03-Dec-2014 16:19:43  Info [     DatabaseManager]: Importing fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Cranberries (4748).jpg).
    ...
    03-Dec-2014 16:19:45 Debug [             Scraper]: Trying to find Fanart for Artist: The Cranberries.
    03-Dec-2014 16:19:45 Debug [             Scraper]: MuzicBrainz: Extract ID: c98d40fd-f6cf-4b26-883e-eaa515ee2851
    03-Dec-2014 16:19:45 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Fanart): The Cranberries.
    03-Dec-2014 16:19:45 Debug [             Scraper]: Extract URL - URLs Found: 7
    03-Dec-2014 16:19:45  Info [             Scraper]: Download: Fanart for The Cranberries (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\The Cranberries (4748).jpg).
    03-Dec-2014 16:19:45 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\The Cranberries (4748).jpg: Start...
    03-Dec-2014 16:19:45 Debug [             Scraper]: Download: Image for The Cranberries (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\The Cranberries (4748).jpg): Comlete.
    03-Dec-2014 16:19:45  Info [     DatabaseManager]: Importing fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\The Cranberries (4748).jpg).
     

    Attachments

    • FanartHandler.4.0.0.64.Beta.zip
      258 KB

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #42
    Statictic for my test database:
    Code:
    03-Dec-2014 17:10:10 Debug [     DatabaseManager]: InitialScrape Artists: [690]
    ...
    03-Dec-2014 17:10:10 Debug [     DatabaseManager]: InitialScrape Artists/Albums: [1148]
    ...
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   0 GameManual                Local               3
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   1 MovieManual               Local               1
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   2 MovieScraped              MyVideos           84
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   3 MovingPictureManual       MovingPictures     27
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   4 MusicAlbumThumbScraped    FanartTV          538
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   5 MusicAlbumThumbScraped    LastFM            434
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   6 MusicAlbumThumbScraped    Dummy             171
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   7 MusicAlbumThumbScraped    Local               7
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   8 MusicArtistThumbScraped   Local             552
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   9 MusicArtistThumbScraped   Dummy              60
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:  10 MusicArtistThumbScraped   FanartTV            9
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:  11 MusicArtistThumbScraped   LastFM              4
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:  12 MusicFanartManual         Local               1
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:  13 MusicFanartScraped        FanartTV          698
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:  14 MusicFanartScraped        Dummy             254
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:  15 MusicFanartScraped        HtBackdrops       229
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:  16 PictureManual             Local               2
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:  17 PluginManual              Local               2
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:  18 SportsManual              Local               4
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:  19 TvManual                  Local               2
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:  20 TvSeriesScraped           TVSeries           21
    ...
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   0 FanartTV         1245
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   1 Local             574
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   2 Dummy             485
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   3 LastFM            438
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   4 HtBackdrops       229
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   5 MyVideos           84
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   6 MovingPictures     27
    03-Dec-2014 17:10:11 Debug [     DatabaseManager]:   7 TVSeries           21
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #44
    How about new Icon for plugin?
    FanartHandler_Icon_ajs.png FanartHandler_Icon_Disabled_ajs.png
    Splashscreen:
    splash_small_ajs.jpg
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #46
    what's about a high resoltution icon?
    Icons that I imple in plugin drawn by me and have a resolution of 128x128, which to display in the configurator is more than enough. :D

    FanartHandler 4.0.0.71 (Beta):
    + Add selected properties:
    - #fanarthandler.music.artistclearart.selected
    - #fanarthandler.music.artistbanner.selected
    + Add Play property:
    - #fanarthandler.music.artistclearart.play
    - #fanarthandler.music.artistbanner.play
    + Add Category, Provider statistics to debug log.
    * New splash screen in configurator, new icons.
    * Updated mechanism import local files that do not exist in the database.

    At the start of the plug-in, select the directory to search for ClearArt, Banners, fingering turns directories MePotools, MusicInfo Handler, DVDArt, and as soon as it finds any, it believes that it should be pictures. :coffee: If there are empty directories from these plug-ins, it is better to remove them. :whistle:

    Example of use in the skins:
    Code:
        <!-- ClearArt -->
        <control>
          <description>ClearArt</description>
          <type>image</type>
          <id>258456951</id>
          <posX>1650</posX>
          <posY>580</posY>
          <width>200</width>
          <height>75</height>          
          <texture>..\..\..\Thumbs\ClearArt\Music\#Play.Current.AlbumArtist.png</texture>
          <animation effect="fade" time="500">VisibleChange</animation>
        </control>
    
        <control>
          <description>ClearArt</description>
          <type>image</type>
          <id>0</id>
          <posX>1650</posX>
          <posY>580</posY>
          <width>200</width>
          <height>75</height>          
          <texture>#fanarthandler.music.artistclearart.play</texture>
          <animation effect="fade" time="500">VisibleChange</animation>
          <visible>!control.hasthumb(258456951)</visible>
        </control>
        <!-- -->
    And now you can see the image for AC/DC. :cool:
     

    Attachments

    • FanartHandler.4.0.0.71.Beta.zip
      293 KB

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #48
    Great enhancement!
    It is as long as it works slowly, I can not understand why. But in order for me to understand the mechanism laid down by the developer, it is necessary to revise the 29 kilobytes of text :( . But I think I'll take care :)
     

    Users who are viewing this thread

    Top Bottom