Fanart Handler Plugin v3.0.9.000 (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
    • Thread starter
    • Moderator
    • #71
    Hi,

    Version 3.0.9 is now available. See first post for link. Contain bug fixes and some small optimizations.

    cheers
    cul8er
     

    volumia

    Portal Pro
    November 23, 2011
    124
    71
    whereever my feet take me...
    Home Country
    Netherlands Netherlands
    Hi cul8er,

    Hope I am dropping in at the right place with this.

    I am wondering why some backdrops from the category "Music Artist Backdrops (16:9)" over at htbackdrops.com will and others won't download when using the Fanart Handler (3.0.9.0 or 2.3.1.531) on MePo 1.2.3. There are no specifics that I can tell and can't figure it out or find a clue anywhere. Double checked all the MP3 tags and even tried with some of the fanart I uploaded myself. Example would be for Boz Scaggs; I do get the one by Nuzecast but not my own (Volumia).

    It's probably me missing something, so any pointer on where to start would be much appreciated.

    Thanks in advance!

    PS. Found some more; custom images dropped in the ...\thumbs\Skin Fanart\Scraper\music directoy don't get picked up by the scraper? They do meet the naming convention (filename (1).jpg) btw.
     
    Last edited:

    Zoidberg77

    MP Donator
  • Premium Supporter
  • July 12, 2011
    392
    206
    Home Country
    Germany Germany
    Hi,
    I was recently working on a theme for Titan skin and happen to notice, that the defintions #useRandomXXXFanart are only recognized as long as they are written in the original BasicHome.xml (located in \skin\Titan). If I put them into the BasicHome.xml in my themes folder (\skin\Titan\themes\themename) no FanArt will be displayed. This is especially strange as all other definitons are read from the theme BasicHome.xml.
    Can anybody confirm this? And if so do you think this is a FanArtHandler specific problem or a general bug?
    Thanks
     

    cul8er

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

    Current version reads basichome.xml in the main skin directory and then all includes. So currently it is not possible to have these definitions in the theme folder. Will see if I can add this to next version.

    Thanks for reporting.

    cheers
    cul8er
     

    WhyMe

    Portal Member
    July 26, 2008
    718
    12
    Home Country
    France France
    Hi,

    First, excuse me for my poor english, i'm french :)

    After a db crash, probably when i partially upgraded my multi seat system to MP 1.3.0b, i've deleted db files.
    After a new install of the plugin and new db files created on a single machine, i pushed this db files on my server and launched the setup to rebuild db.

    But it always crash : out of memory exception.
    PC has 2Go RAM, nothing other MP config launched.
    When plugin trying to build TvSeries part, ram goes at maximum and finally crash.

    Any idea ?
    Thanks

    Here a log extract :

    13-Jan-2013 08:29:45 Info [ FanartHandler]: Fanart Handler is starting.
    13-Jan-2013 08:29:45 Info [ FanartHandler]: Fanart Handler version is 3.0.9.0
    13-Jan-2013 08:29:47 Info [ FanartHandler]: Fanart Handler is using Fanart: True, Album Thumbs: False, Artist Thumbs: False.
    13-Jan-2013 08:30:30 Info [ DatabaseManager]: Successfully Opened Database: FanartHandler.db3
    13-Jan-2013 08:30:30 Info [ DatabaseManager]: Database version is: 3.0 at database initiation
    13-Jan-2013 08:30:30 Info [ DatabaseManager]: Database version is verified: 3.0
    13-Jan-2013 08:30:30 Info [ DirectoryWorker]: Refreshing local fanart is starting.
    13-Jan-2013 08:30:30 Info [ DirectoryWorker]: Refreshing local fanart for Games is starting.
    13-Jan-2013 08:30:30 Info [ DirectoryWorker]: Refreshing local fanart for Games is done.
    13-Jan-2013 08:30:30 Info [ DirectoryWorker]: Refreshing local fanart for Movies (User) is starting.
    13-Jan-2013 08:30:30 Info [ DirectoryWorker]: Refreshing local fanart for Movies (User) is done.
    13-Jan-2013 08:30:30 Info [ DirectoryWorker]: Refreshing local fanart for Movies (Scraper) is starting.
    13-Jan-2013 08:30:30 Info [ DirectoryWorker]: Refreshing local fanart for Movies (Scraper) is done.
    13-Jan-2013 08:30:30 Info [ DirectoryWorker]: Refreshing local fanart for Music Albums is starting.
    13-Jan-2013 08:30:31 Info [ DirectoryWorker]: Refreshing local fanart for Music Albums is done.
    13-Jan-2013 08:30:31 Info [ DirectoryWorker]: Refreshing local fanart for Music Artists is starting.
    13-Jan-2013 08:30:31 Info [ DirectoryWorker]: Refreshing local fanart for Music Artists is done.
    13-Jan-2013 08:30:31 Info [ DirectoryWorker]: Refreshing local fanart for Music (User) is starting.
    13-Jan-2013 08:30:31 Info [ DirectoryWorker]: Refreshing local fanart for Music (User) is done.
    13-Jan-2013 08:30:31 Info [ DirectoryWorker]: Refreshing local fanart for Pictures is starting.
    13-Jan-2013 08:30:31 Info [ DirectoryWorker]: Refreshing local fanart for Pictures is done.
    13-Jan-2013 08:30:31 Info [ DirectoryWorker]: Refreshing local fanart for ScoreCenter is starting.
    13-Jan-2013 08:30:31 Info [ DirectoryWorker]: Refreshing local fanart for ScoreCenter is done.
    13-Jan-2013 08:30:31 Info [ DirectoryWorker]: Refreshing local fanart for TV is starting.
    13-Jan-2013 08:30:31 Info [ DirectoryWorker]: Refreshing local fanart for TV is done.
    13-Jan-2013 08:30:31 Info [ DirectoryWorker]: Refreshing local fanart for Plugins is starting.
    13-Jan-2013 08:30:31 Info [ DirectoryWorker]: Refreshing local fanart for Plugins is done.
    13-Jan-2013 08:30:31 Info [ DirectoryWorker]: Refreshing local fanart for TVSeries is starting.
    13-Jan-2013 08:31:01 Error [ FanartHandler]: CheckImageResolution: System.OutOfMemoryException: Mémoire insuffisante.
    à System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
    à System.Drawing.Image.FromFile(String filename)
    à FanartHandler.FanartHandler.CheckImageResolution(String filename, Category category, String useAspectRatio)
    13-Jan-2013 08:31:01 Error [ FanartHandler]: CheckImageResolution: System.OutOfMemoryException: Mémoire insuffisante.
    à System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
    à System.Drawing.Image.FromFile(String filename)
    à FanartHandler.FanartHandler.CheckImageResolution(String filename, Category category, String useAspectRatio)
    13-Jan-2013 08:31:01 Error [ FanartHandler]: CheckImageResolution: System.OutOfMemoryException: Mémoire insuffisante.
    à System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
    à System.Drawing.Image.FromFile(String filename)
    à FanartHandler.FanartHandler.CheckImageResolution(String filename, Category category, String useAspectRatio)
    13-Jan-2013 08:31:01 Error [ FanartHandler]: CheckImageResolution: System.OutOfMemoryException: Mémoire insuffisante.
    à System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
    à System.Drawing.Image.FromFile(String filename)
    à FanartHandler.FanartHandler.CheckImageResolution(String filename, Category category, String useAspectRatio)
    13-Jan-2013 08:31:01 Info [ FanartHandler]: Fanart Handler is started.
    13-Jan-2013 08:31:02 Info [ DatabaseManager]: InitialScrape is starting...
    13-Jan-2013 08:31:17 Info [ DatabaseManager]: InitialScrape is done.
    13-Jan-2013 08:31:30 Error [ ExternalAccess]: GetTVFanart: System.ArgumentException: Formulaire de normalisation non valide ou non pris en charge.
    à System.Text.Normalization..ctor(NormalizationForm form, String strDataFile)
    à System.Text.Normalization.GetFormD()
    à System.Text.Normalization.GetNormalization(NormalizationForm form)
    à System.String.Normalize(NormalizationForm normalizationForm)
    à FanartHandler.Utils.RemoveDiacritics(String self)
    à FanartHandler.Utils.Equalize(String self)
    à FanartHandler.Utils.GetArtist(String key, Category category)
    à FanartHandler.ExternalAccess.GetTVFanart(String tvshow)
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,736
    1,196
    Alingsås
    Home Country
    Sweden Sweden
    Just now I sat in front of my TV and had BasicHome open and I noticed that instead of FanArt, I'd get a bunch of black screens for a long while. Going from TV-Series to Music and to Movies, I could see that I had FanArt working still, as some of these still showed FanArt. After a while I would get a black screen again, I then cycled to the other items and saw that I had FanArt still, but not for all items.

    So, I had a look in my log files, and:

    FanArthandler error: ( @cul8er, this is surely unrelated to this issue, but I think you should see this anyway)

    13-Jan-2013 22:30:43 Error [ DatabaseManager]: InsertDummyItem: System.ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length
    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
    at FanartHandler.DatabaseManager.InsertDummyItem(String artist, Category category, String album)
    13-Jan-2013 22:30:46 Error [ DatabaseManager]: InsertDummyItem: System.ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length
    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
    at FanartHandler.DatabaseManager.InsertDummyItem(String artist, Category category, String album)
    13-Jan-2013 22:30:46 Error [ DatabaseManager]: InsertDummyItem: System.ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length
    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
    at FanartHandler.DatabaseManager.InsertDummyItem(String artist, Category category, String album)
    13-Jan-2013 22:30:46 Error [ DatabaseManager]: InsertDummyItem: System.ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length
    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
    at FanartHandler.DatabaseManager.InsertDummyItem(String artist, Category category, String album)


    Error.log:

    2013-01-14 00:34:03.312500 [ERROR][RefreshWorker(36)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\medina (32146).jpg)
    2013-01-14 00:34:03.546875 [ERROR][RefreshWorker(36)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\72449-3.jpg)
    2013-01-14 00:34:43.718750 [ERROR][RefreshWorker(11)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\movies\603{0}.jpg)
    2013-01-14 00:34:44.296875 [ERROR][RefreshWorker(11)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\84946-1.jpg)
    2013-01-14 00:35:24.781250 [ERROR][RefreshWorker(11)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Backdrops\FullSize\{Pocahontas.2.-.Resan.till.en.annan.vrld} [-685585601].jpg)
    2013-01-14 00:35:25.109375 [ERROR][RefreshWorker(11)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\oasis (3742).jpg)
    2013-01-14 00:35:25.296875 [ERROR][RefreshWorker(11)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\161461-4.jpg)
    2013-01-14 00:36:05.468750 [ERROR][RefreshWorker(36)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\movies\60{0}.jpg)
    2013-01-14 00:36:05.906250 [ERROR][RefreshWorker(36)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\vanilla ice (22942).jpg)
    2013-01-14 00:36:06.156250 [ERROR][RefreshWorker(36)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\212961-6.jpg)
    2013-01-14 00:36:46.578125 [ERROR][RefreshWorker(11)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\movies\569{0}.jpg)
    2013-01-14 00:36:46.750000 [ERROR][RefreshWorker(11)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Backdrops\FullSize\{Training.Day} [1178820879].jpg)
    2013-01-14 00:36:46.937500 [ERROR][RefreshWorker(11)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\jimmy eat world (19823).jpg)
    2013-01-14 00:37:27.218750 [ERROR][RefreshWorker(36)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\UserDef\movies\american psycho 1114961041 (87438).jpg)
    2013-01-14 00:37:27.562500 [ERROR][RefreshWorker(36)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Backdrops\FullSize\{Alice.in.Wonderland.(Cartoon)} [-533837236].jpg)
    2013-01-14 00:37:28.062500 [ERROR][RefreshWorker(36)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\85358-7.jpg)
    2013-01-14 00:38:08.984375 [ERROR][RefreshWorker(11)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\74156-10.jpg)
    2013-01-14 00:38:49.218750 [ERROR][RefreshWorker(44)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\movies\542{0}.jpg)
    2013-01-14 00:38:49.390625 [ERROR][RefreshWorker(44)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Backdrops\FullSize\{Hesher} [-520255992].jpg)
    2013-01-14 00:38:49.609375 [ERROR][RefreshWorker(44)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\rickie lee jones (22954).jpg)
    2013-01-14 00:38:49.812500 [ERROR][RefreshWorker(44)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\79689-9.jpg)

    MediaPortal.log:

    2013-01-14 00:38:08.984375 [Info.][RefreshWorker(11)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\74156-10.jpg)
    2013-01-14 00:38:49.203125 [Info.][RefreshWorker(44)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\movies\542{0}.jpg)
    2013-01-14 00:38:49.390625 [Info.][RefreshWorker(44)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Backdrops\FullSize\{Hesher} [-520255992].jpg)
    2013-01-14 00:38:49.609375 [Info.][RefreshWorker(44)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\rickie lee jones (22954).jpg)
    2013-01-14 00:38:49.812500 [Info.][RefreshWorker(44)]: TextureManager: LoadGraphic - invalid thumb(C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\79689-9.jpg)

    Quite recently, I rebuilt my entire FanArt database, and I haven't since manually removed any files from these locations, however, I have MPCleaner installed, maybe that plugin is causing these issues?

    Cheers
    Emph
     

    cul8er

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

    To me your log indicated that the fanart that is in FH database does no exist on your disk anymore. May be a MPCleaner problem as you suggest but I have never used that plugin so I would not know... From the description of that plugin it does not look like it uses FH database to decide if an image is used or not and that could cause the problem you describe... just guessing here ;)

    cheers
    cul8er
     

    Pog

    Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    Current version reads basichome.xml in the main skin directory and then all includes. So currently it is not possible to have these definitions in the theme folder. Will see if I can add this to next version.


    Just ran into this problem when doing a custom theme in MP1.3. Drove me a bit mad for a bit as I thought it was something I had done.

    I want to add a note: When user changes skin within MP the fanart settings for that skin will not be read until MP is restarted and it looks like it relates to this.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom