[solved] Music artists/albums not showing in Fanart Handler (1 Viewer)

mauwstin

Portal Member
November 5, 2013
19
2
37
Home Country
England England
Hi Pog,

Thanks for trying to help - I applied the file (and backed up the old one), however when starting Fanart Handler config I get an error:

"Error upgrading database, please see fanarthandler_config.log for details"

I've found the log file and the contents are as follows:

19-May-2014 20:10:04 Info [ FanartHandlerConfig]: Fanart Handler configuration is starting.
19-May-2014 20:10:04 Info [ FanartHandlerConfig]: Fanart Handler version is 3.1.0.0
19-May-2014 20:10:04 Info [ DatabaseManager]: Successfully Opened Database: FanartHandler.db3
19-May-2014 20:10:04 Info [ DatabaseManager]: Database version is: 2.8 at database initiation
19-May-2014 20:10:04 Info [ DatabaseManager]: Upgrading Database to version 2.9
19-May-2014 20:10:04 Info [ DatabaseManager]: Upgrading Step 1 - finished
19-May-2014 20:10:04 Info [ DatabaseManager]: Upgrading Step 2 - finished
19-May-2014 20:10:04 Info [ DatabaseManager]: Upgrading Step 3 - finished
19-May-2014 20:10:04 Info [ DatabaseManager]: Upgrading Step 4 - finished
19-May-2014 20:10:04 Info [ DatabaseManager]: Upgrading Step 5 - finished
19-May-2014 20:10:04 Info [ DatabaseManager]: Successfully Opened Database: FanartHandler.db3
19-May-2014 20:10:04 Info [ DatabaseManager]: Database version is: 2.8 at database initiation
19-May-2014 20:10:04 Info [ DatabaseManager]: Upgrading Database to version 2.9
19-May-2014 20:10:04 Info [ DatabaseManager]: Upgrading Step 1 - finished
19-May-2014 20:10:04 Error [ DatabaseManager]: System.IO.IOException: Cannot create a file when that file already exists.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
at System.IO.File.Move(String sourceFileName, String destFileName)
at FanartHandler.DatabaseManager.UpgradeDBMain(String type)

Is there a certain file I need to delete before trying the new DLL again?

Thanks
 

Pog

Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    Not too sure what is going wrong there o_O

    Ok so, let's try again from the beginning...

    Your going to delete everything related to fanart and reinstall:

    Go to C:\ProgramData\Team MediaPortal\MediaPortal\database and delete FanartHandler.db3 and FanartHandler.org
    Go to C:\ProgramData\Team MediaPortal\MediaPortal and delete FanartHandler.xml and FanartHandler.org
    Go to C:\Program Files (x86)\Team MediaPortal\MediaPortal\plugins\process and delete FanartHandler.dll

    Run the MediaPortal Extension Installer ("C:\Program Files (x86)\Team MediaPortal\MediaPortal\MpeInstaller.exe") and refresh the update info (it's in the file menu).

    Uninstall FanartHandler if that is shown installed, and then install the version shown there.

    Run MP config and then fanart and set it up how you like and try the scraper.
     

    mauwstin

    Portal Member
    November 5, 2013
    19
    2
    37
    Home Country
    England England
    Thanks Pog,

    Do I need to do anything with the updated DLL you posted earlier, or will that be applied automatically when I install the latest version of fanart handler?

    It's also worth noting that I did a fresh install of MP and FH only 2 days ago, so unless it's been updated since then I'm guessing it won't work?

    Happy to give it a go anyway - can't do any harm :)

    Thanks
     

    Pog

    Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    Sure we'll get it going by hook or by crook ;)

    Just wanted to get it back to a know state. Do the deleting and reinstall stuff first and try that out, if there is still a problem try adding the dll I posted earlier and let me know.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi :)
    Did you use latest source ?
    Because to make FH compatible i have supply a bin but needed to decompil latest official version and then adapt code, so for me it's not a good solution on my side :)
     

    mauwstin

    Portal Member
    November 5, 2013
    19
    2
    37
    Home Country
    England England
    Hi again Pog,

    Just followed your advice - deleted all the files you referenced and completely uninstalled then reinstalled the latest version of FH. Same as before though - everything works (TV Series, Movies etc.) apart from the music scraping.

    I then tried the alternate DLL which you supplied in an earlier post - again I got an error when trying to load FH config, however the configuration log is slightly different this time:

    20-May-2014 21:15:32 Info [ FanartHandlerConfig]: Fanart Handler configuration is starting.
    20-May-2014 21:15:32 Info [ FanartHandlerConfig]: Fanart Handler version is 2.3.1.531
    20-May-2014 21:15:32 Info [ DatabaseManager]: Successfully Opened Database: FanartHandler.db3
    20-May-2014 21:15:32 Info [ DatabaseManager]: Database version is verified: 2.8
    20-May-2014 21:15:37 Info [ FanartHandlerConfig]: Fanart Handler configuration is started.
    20-May-2014 21:15:45 Error [ ScraperWorker]: OnDoWork: System.TypeLoadException: Could not load type 'MediaPortal.Music.Database.AudioscrobblerBase' from assembly 'Databases, Version=1.7.1.0, Culture=neutral, PublicKeyToken=null'.
    at FanartHandler.DatabaseManager.InitialScrape()
    at FanartHandler.ScraperWorker.OnDoWork(DoWorkEventArgs e)
    20-May-2014 21:16:00 Info [ FanartHandlerConfig]: Fanart Handler configuration is stopped.

    Any more ideas? Really appreciate all your help with this! :)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    You need FH updated version (the one i have made for now) :)
    There is a thread somewhere with bin etc. (will try to find it but you can try too :))
     

    Users who are viewing this thread

    Top Bottom