Fanart Handler Plugin v4.0.X.000 (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,062
    11,144
    Kyiv
    Home Country
    Ukraine Ukraine
    @azzuro @Sebastiii
    In not in FH, its in MP :(
    Code:
        public void FanartIsNotAvailable(int windowId)
        {
          if (windowId > (int)GUIWindow.Window.WINDOW_INVALID)
          {
            GUIControl.HideControl(windowId, 91919293);
          }
        }
    FH call HideControl with windowId <> WINDOW_INVALID ... but:
    Code:
    [2015-11-25 23:48:52,977] [Error  ] [RefreshWorker] [ERROR] - LoadSkin: Running on wrong thread - StackTrace: '   à System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
       à System.Environment.get_StackTrace()
       à MediaPortal.GUI.Library.GUIWindow.LoadSkin()
       à MediaPortal.GUI.Library.GUIWindow.AllocResources()
       à MediaPortal.GUI.Library.GUIWindow.DoRestoreSkin()
       à MediaPortal.GUI.Library.GUIWindowManager.GetWindow(Int32 dwID, Boolean tryRestoreSkin)
       à MediaPortal.GUI.Library.GUIControl.HideControl(Int32 iWindowId, Int32 iControlId)
       à FanartHandler.FanartSelected.FanartIsNotAvailable(Int32 windowId)
    GUIWindowManager.GetWindow - > DoRestoreSkin -> AllocResources -> LoadSkin -> Error :(
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    Hi @ajs ,

    I am getting FH database crashes again when MP resumes and the central server is not immediately ready. It seemed to work with 221 but for some reason I upgraded to 223.

    Log level was Info, so the only thing I see is
    25-Dec-2015 03:40:21 Error [ DatabaseManager]: getAnyFanart: SQLite.NET.SQLiteException: SQLiteClient: cmd:sqlite3_prepare16:pvm=null err:MISUSE detailed:unable to open database file query:confused:ELECT Id, Key1, FullPath, SourcePath, Category, Provider FROM Image WHERE Enabled = 'True' AND DummyItem = 'False' AND AvailableRandom = 'True' AND Category IN ('MovieManual');
    bei SQLite.NET.SQLiteClient.ThrowError(String statement, String sqlQuery, SqliteError err)
    bei SQLite.NET.SQLiteClient.Execute(String query)
    bei FanartHandler.DatabaseManager.GetAnyFanart(Category category)
    I will roll back to the 221 dll from this thread to see if it makes a difference.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,062
    11,144
    Kyiv
    Home Country
    Ukraine Ukraine
    Log level was Info, so the only thing I see is
    So the database is opened, ie,It was accessibility. And then the database is missing. I look. But the mistake is almost impossible to trace.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,062
    11,144
    Kyiv
    Home Country
    Ukraine Ukraine
    The scraper doesn't scrape many artist fanart. A lot is missing. Installed on a fresh system.
    Not all the artists found fanart. For example:
    Code:
    30-Dec-2015 11:42:23 Debug [     DatabaseManager]: Artist: Woolfson images: 0 from: 3
    30-Dec-2015 11:42:23 Debug [             Scraper]: --- Fanart --- Woolfson ---
    30-Dec-2015 11:42:23 Debug [             Scraper]: Trying to find Fanart for Artist: Woolfson
    30-Dec-2015 11:42:23 Debug [             Scraper]: MusicBrainz: DB ID: ec86bda4-d460-4b54-be6e-94ae45e0dfab
    30-Dec-2015 11:42:23 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    30-Dec-2015 11:42:23 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Fanart): Woolfson - ec86bda4-d460-4b54-be6e-94ae45e0dfab.
    30-Dec-2015 11:42:24 Debug [             Scraper]: --- Thumb --- Woolfson ---
    30-Dec-2015 11:42:24 Debug [             Scraper]: Trying to find Thumbs for Artist: Woolfson
    30-Dec-2015 11:42:24 Debug [             Scraper]: MusicBrainz: DB ID: ec86bda4-d460-4b54-be6e-94ae45e0dfab
    30-Dec-2015 11:42:24 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    30-Dec-2015 11:42:24 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Thumbs): Woolfson - ec86bda4-d460-4b54-be6e-94ae45e0dfab.
    30-Dec-2015 11:42:24 Debug [             Scraper]: HtBackdrops: Trying to find thumbnail for Artist: Woolfson.
    30-Dec-2015 11:42:24 Debug [             Scraper]: Last.FM: Trying to find thumbnail for Artist: Woolfson.
    30-Dec-2015 11:42:24 Debug [             Scraper]: Last.FM: Thumb Mega for Artist: Woolfson -
    30-Dec-2015 11:42:24 Debug [             Scraper]: Last.FM: Thumb Extra for Artist: Woolfson -
    30-Dec-2015 11:42:24  Info [     DatabaseManager]: No fanart found for Artist: Woolfson.
    For Woolfson - no Fanart on Fanart.TV - https://fanart.tv/artist/ec86bda4-d460-4b54-be6e-94ae45e0dfab/woolfson-eric/ ... etc.
    The overall result:
    Code:
    30-Dec-2015 11:47:15 Debug [     DatabaseManager]:  13 MusicFanartManual         Local               4
    30-Dec-2015 11:47:15 Debug [     DatabaseManager]:  14 MusicFanartScraped        Dummy            1989
    30-Dec-2015 11:47:15 Debug [     DatabaseManager]:  15 MusicFanartScraped        FanartTV         1508
    30-Dec-2015 11:47:15 Debug [     DatabaseManager]:  16 MusicFanartScraped        HtBackdrops       462
    Those. Nothing fanart found for 1989 artists. But we found 1974 from 3700. In general, a good result.

    If there is more specific information on how artists fanart is not received, although fanart, there is on the websites, tell me, I'll see why it happened.
     
    C

    CypherMK

    Guest
    Two examples: U2 and Sting. It finds U2 & green day, but not U2
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,062
    11,144
    Kyiv
    Home Country
    Ukraine Ukraine
    Two examples: U2
    Code:
    30-Dec-2015 11:40:44  Info [     DatabaseManager]: Artist: U2 & B.B. King has already maximum number of images. Will not download anymore images for this artist.
    ...
    30-Dec-2015 11:40:45  Info [     DatabaseManager]: Artist: U2 & Green Day has already maximum number of images. Will not download anymore images for this artist.
    ...
    30-Dec-2015 14:34:47 Debug [     DatabaseManager]: --- Now Playing ---------------------
    30-Dec-2015 14:34:47  Info [     DatabaseManager]: NowPlayingScrape is starting for Artist(s): U2 - October (2008 Deluxe Edition)
    30-Dec-2015 14:34:47 Debug [     DatabaseManager]: NowPlayingScrape is starting for Artist: U2 - October (2008 Deluxe Edition)
    30-Dec-2015 14:34:48 Debug [     DatabaseManager]: Artist: U2 images: 33 from: 3
    30-Dec-2015 14:34:48  Info [     DatabaseManager]: Artist: U2 has already maximum number of images. Will not download anymore images for this artist.
    U2 has already maximum number of images

    and Sting
    Code:
    30-Dec-2015 11:30:56 Debug [     DatabaseManager]: Artist: Rod Stewart, Sting & Bryan Adams images: 1 from: 3
    30-Dec-2015 11:30:56 Debug [             Scraper]: --- Fanart --- Rod Stewart, Sting & Bryan Adams ---
    30-Dec-2015 11:30:56 Debug [             Scraper]: Trying to find Fanart for Artist: Rod Stewart, Sting & Bryan Adams
    30-Dec-2015 11:30:56 Debug [             Scraper]: MusicBrainz: DB ID: 4dbf5678-7a31-406a-abbe-232f8ac2cd63
    30-Dec-2015 11:30:56 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    30-Dec-2015 11:30:56 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Fanart): Rod Stewart, Sting & Bryan Adams - 4dbf5678-7a31-406a-abbe-232f8ac2cd63.
    30-Dec-2015 11:30:57 Debug [             Scraper]: Extract URL - [artistbackground] URLs Found: 6
    30-Dec-2015 11:30:57  Info [             Scraper]: Download: Fanart for Rod Stewart, Sting & Bryan Adams (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Rod Stewart, Sting & Bryan Adams (56316).jpg).
    30-Dec-2015 11:30:57 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Rod Stewart, Sting & Bryan Adams (56316).jpg: Start...
    30-Dec-2015 11:30:57 Debug [             Scraper]: Download: Image for Rod Stewart, Sting & Bryan Adams (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Rod Stewart, Sting & Bryan Adams (56316).jpg): Complete.
    30-Dec-2015 11:30:57  Info [     DatabaseManager]: Importing fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Rod Stewart, Sting & Bryan Adams (56316).jpg).
    30-Dec-2015 11:30:57  Info [             Scraper]: Download: Fanart for Rod Stewart, Sting & Bryan Adams (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Rod Stewart, Sting & Bryan Adams (14051).jpg).
    30-Dec-2015 11:30:57 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Rod Stewart, Sting & Bryan Adams (14051).jpg: Start...
    30-Dec-2015 11:30:57 Debug [             Scraper]: Download: Image for Rod Stewart, Sting & Bryan Adams (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Rod Stewart, Sting & Bryan Adams (14051).jpg): Complete.
    30-Dec-2015 11:30:57  Info [     DatabaseManager]: Importing fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\Rod Stewart, Sting & Bryan Adams (14051).jpg).
    30-Dec-2015 11:30:57  Info [     DatabaseManager]: Artist: Rod Stewart, Sting & Bryan Adams has already maximum number of images. Will not download anymore images for this artist.
    Rod Stewart, Sting & Bryan Adams has already maximum number of images
    It finds U2 & green day, but not U2
    Code:
    30-Dec-2015 11:40:44 Debug [     DatabaseManager]: Artist: U2 & Green Day images: 2 from: 3
    30-Dec-2015 11:40:44 Debug [             Scraper]: --- Fanart --- U2 & Green Day ---
    30-Dec-2015 11:40:44 Debug [             Scraper]: Trying to find Fanart for Artist: U2 & Green Day
    30-Dec-2015 11:40:44 Debug [             Scraper]: MusicBrainz: Extract ID: 084308bd-1654-436f-ba03-df6697104e19
    30-Dec-2015 11:40:44 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    30-Dec-2015 11:40:44 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Fanart): U2 & Green Day - 084308bd-1654-436f-ba03-df6697104e19.
    30-Dec-2015 11:40:45 Debug [             Scraper]: Extract URL - [artistbackground] URLs Found: 8
    30-Dec-2015 11:40:45  Info [             Scraper]: Download: Fanart for U2 & Green Day (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\U2 & Green Day (22).jpg).
    30-Dec-2015 11:40:45 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\U2 & Green Day (22).jpg: Start...
    30-Dec-2015 11:40:45 Debug [             Scraper]: Download: Image for U2 & Green Day (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\U2 & Green Day (22).jpg): Complete.
    30-Dec-2015 11:40:45  Info [     DatabaseManager]: Importing fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\U2 & Green Day (22).jpg).
    30-Dec-2015 11:40:45  Info [     DatabaseManager]: Artist: U2 & Green Day has already maximum number of images. Will not download anymore images for this artist.
    30-Dec-2015 11:40:45 Debug [     DatabaseManager]: Artist: U2 & Greenday images: 1 from: 3
    30-Dec-2015 11:40:45 Debug [             Scraper]: --- Fanart --- U2 & Greenday ---
    30-Dec-2015 11:40:45 Debug [             Scraper]: Trying to find Fanart for Artist: U2 & Greenday
    30-Dec-2015 11:40:45 Debug [             Scraper]: MusicBrainz: DB ID: a3cb23fc-acd3-4ce0-8f36-1e5aa6a18432
    30-Dec-2015 11:40:45 Debug [             Scraper]: Fanart.TV: Use personal API Key: True
    30-Dec-2015 11:40:45 Debug [             Scraper]: Fanart.TV: Trying to find pictures for Artist (Fanart): U2 & Greenday - a3cb23fc-acd3-4ce0-8f36-1e5aa6a18432.
    30-Dec-2015 11:40:45 Debug [             Scraper]: Extract URL - [artistbackground] URLs Found: 11
    30-Dec-2015 11:40:45  Info [             Scraper]: Download: Fanart for U2 & Greenday (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\U2 & Greenday (26332).jpg).
    30-Dec-2015 11:40:45 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\U2 & Greenday (26332).jpg: Start...
    30-Dec-2015 11:40:45 Debug [             Scraper]: Download: Image for U2 & Greenday (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\U2 & Greenday (26332).jpg): Complete.
    30-Dec-2015 11:40:45  Info [     DatabaseManager]: Importing fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\U2 & Greenday (26332).jpg).
    30-Dec-2015 11:40:45  Info [             Scraper]: Download: Fanart for U2 & Greenday (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\U2 & Greenday (26333).jpg).
    30-Dec-2015 11:40:45 Debug [             Scraper]: Download: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\U2 & Greenday (26333).jpg: Start...
    30-Dec-2015 11:40:45 Debug [             Scraper]: Download: Image for U2 & Greenday (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\U2 & Greenday (26333).jpg): Complete.
    30-Dec-2015 11:40:45  Info [     DatabaseManager]: Importing fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\U2 & Greenday (26333).jpg).
    30-Dec-2015 11:40:45  Info [     DatabaseManager]: Artist: U2 & Greenday has already maximum number of images. Will not download anymore images for this artist.
    U2 & Green Day has already maximum number of images
    U2 & Greenday has already maximum number of images.

    To find all the artists, it is necessary to add an extension delimiters (there is an option in the configuration) or in the configuration file, you used:
    Code:
    30-Dec-2015 11:21:49 Debug [               Utils]: Artists pipes: [|][;]
    Read - https://forum.team-mediaportal.com/...plugin-v4-0-x-000.128577/page-40#post-1124691

    I should help. :)
     
    Last edited:

    Users who are viewing this thread

    Top Bottom