[no Bug] Auto update music db on changes in share not working (2 Viewers)

HTPCSourcer

MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    Seb,

    I am using your FanartHandler.dll (version 3.1.0.0, 638 KB, 22.12.2013). Is this the right one? Keep in mind that I pulled it from the HTPC that is OK.

    Regarding the log, I am not seeing these messages. I guess that if I did we would not be having this discussion.
     

    Quantor

    Portal Pro
    February 9, 2013
    113
    12
    49
    Bad Kreuznach
    Germany Germany
    Seb,

    I am using your FanartHandler.dll (version 3.1.0.0, 638 KB, 22.12.2013). Is this the right one? Keep in mind that I pulled it from the HTPC that is OK.

    Regarding the log, I am not seeing these messages. I guess that if I did we would not be having this discussion.
    That's the right one. No newer version available. All other versions before 3.1.0.0 are confirmed not working with 1.5 and 1.6
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    I go nuts. In plugins/process is the 3.1.0.0 - nonetheless when I look within MePo / Extensions it is displaying the old cul8er 2.3 Version. Where is it getting this data from :mad:
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    When i compiled the dll, i didn't change the version (i suppose lol like it was unofficial).
    The log message (that confirm FH scrap something on clean db etc.) comes from FH.config.log
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    Yes, but why does it show 3.1.0.0 on the PC that has Fanart rinning right and 2.3.1 on the delinquent? The dll is the same.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    Odd, did you look the size ?
    Seems to be not the same dll or something related in db ?
    where did you see the version number ?
    :)

    upload_2014-2-2_9-31-13.png
     

    Quantor

    Portal Pro
    February 9, 2013
    113
    12
    49
    Bad Kreuznach
    Germany Germany
    Odd, did you look the size ?
    Seems to be not the same dll or something related in db ?
    where did you see the version number ?
    :)

    View attachment 144768
    He referred to the version number which is shown in MP Extension Installer.... I think there is some kind of version information file which is read by extension installer to show the current version... As he only has copied the .dll the version shown in the installer is still an old one
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    This is really weird. I now copied the whole MediaPortal directory from the functional HTPC to the Client. I also copied the fanart.xml to exclude any setting inconsistencies. When I then start MePo I can see the in FanartHandler logging that it is scraping - but it only downloads fanart, which is then stored into Thumbs\Skin Fanart\Scraper\Music. Nothing is stored into Artist.

    When I then Play Music, the system is supposed to automatically search for the artist and create an artist.jpg file in thumbs\music\artists directory. Log example:
    Code:
    02-Feb-2014 12:28:21  Info [  Scraper]: Trying to find fanart for artist Led Zeppelin.
    02-Feb-2014 12:28:21  Info [  Scraper]: Found fanart for artist Led Zeppelin.
    02-Feb-2014 12:28:21  Info [  Scraper]: Downloading fanart for led zeppelin (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\led zeppelin (765).jpg).
    02-Feb-2014 12:28:21  Info [  DatabaseManager]: Importing local fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\led zeppelin (765).jpg).
    02-Feb-2014 12:28:21  Info [  Scraper]: Found fanart for artist Led Zeppelin.
    02-Feb-2014 12:28:21  Info [  Scraper]: Downloading fanart for led zeppelin (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\led zeppelin (843).jpg).
    02-Feb-2014 12:28:23  Info [  DatabaseManager]: Importing local fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\led zeppelin (843).jpg).
    02-Feb-2014 12:28:23  Info [  Scraper]: Found fanart for artist Led Zeppelin.
    02-Feb-2014 12:28:23  Info [  Scraper]: Downloading fanart for led zeppelin (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\led zeppelin (899).jpg).
    02-Feb-2014 12:28:23  Info [  DatabaseManager]: Importing local fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\led zeppelin (899).jpg).
    02-Feb-2014 12:28:23  Info [  Scraper]: Found fanart for artist Led Zeppelin.
    02-Feb-2014 12:28:23  Info [  Scraper]: Downloading fanart for led zeppelin (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\led zeppelin (6130).jpg).
    02-Feb-2014 12:28:23  Info [  DatabaseManager]: Importing local fanart into fanart handler database (C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\music\led zeppelin (6130).jpg).
    02-Feb-2014 12:28:23  Info [  DatabaseManager]: Artist Led Zeppelin has already maximum number of images. Will not download anymore images for this artist.
    As you can see, four fanart picture files get created, but the respective artist picture is not searched.

    Starting all over again is kind of difficult. If I delete the fanart database, no new database gets created. I tried to delete all records within the plugin config, which gets confirmed, however, the database size remains unchanged at approx. 4 MB.

    @Sebastiii, could you maybe send me an empty database?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    Hi,

    I have do that :
    Install official FH (latest version)
    Overwrite with my version.

    Go to : C:\ProgramData\Team MediaPortal\MediaPortal
    I have attached the files i use :)

    Remove : FanartHandler.db3 (backup if you want) from C:\ProgramData\Team MediaPortal\MediaPortal\database.

    Now from configuration -> plugins -> FH -> i have started manually :
    upload_2014-2-2_13-27-30.png


    upload_2014-2-2_13-27-51.png


    After that thumbs comes to arrived in C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Music\Albums / Artists :)
    And we can see in FH.config.log that download works. :p
     

    Attachments

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    J'en ai ras le bol :mad:

    Did exactly what you said and ran into the same issues that I've seen before: not working!

    Error.JPG

    Code:
    02-Feb-2014 13:56:49  Info [ FanartHandlerConfig]: Fanart Handler configuration is starting.
    02-Feb-2014 13:56:49  Info [ FanartHandlerConfig]: Fanart Handler version is 3.1.0.0
    02-Feb-2014 13:56:49  Info [     DatabaseManager]: Successfully Opened Database: FanartHandler.db3
    02-Feb-2014 13:56:49  Info [     DatabaseManager]: Database version is: 2.8 at database initiation
    02-Feb-2014 13:56:49  Info [     DatabaseManager]: Upgrading Database to version 2.9
    02-Feb-2014 13:56:49  Info [     DatabaseManager]: Upgrading Step 1 - finished
    02-Feb-2014 13:56:49  Info [     DatabaseManager]: Upgrading Step 2 - finished
    02-Feb-2014 13:56:49  Info [     DatabaseManager]: Upgrading Step 3 - finished
    02-Feb-2014 13:56:49  Info [     DatabaseManager]: Upgrading Step 4 - finished
    02-Feb-2014 13:56:49  Info [     DatabaseManager]: Upgrading Step 5 - finished
    02-Feb-2014 13:56:49  Info [     DatabaseManager]: Successfully Opened Database: FanartHandler.db3
    02-Feb-2014 13:56:49  Info [     DatabaseManager]: Database version is: 2.8 at database initiation
    02-Feb-2014 13:56:49  Info [     DatabaseManager]: Upgrading Database to version 2.9
    02-Feb-2014 13:56:49  Info [     DatabaseManager]: Upgrading Step 1 - finished
    02-Feb-2014 13:56:49 Error [     DatabaseManager]: System.IO.IOException: Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist.
    
       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)
    The error is "A file cannot be created if it already exists".

    Clicking OK continues anyway and the FH config screen opens. When I then click on 'Scrape for all Artist/Album Thumb' nothing happens - there is NO log file created.[DOUBLEPOST=1391347178][/DOUBLEPOST]Closing, saving in MePo config and reopening MePo Config / Plugins /FH2 runs into the same upgrading database error again.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 2)

    OP Similar threads Forum Replies Date
    B TV-Server Auto-Update mptvdb after x hours General Support 0
    wizard123 [solved] Auto sizing buttons to text content MediaPortal 1 11
    HTPCSourcer Forum Titel auto correction Online Facilities 2
    G Update von MediaPortal Installationsprobleme? 0
    morpheus_xx [Evaluate] Update to VS 2019? MediaPortal 2 4
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    B MPEM update list never completes. General Support 0
    JJDoherty Updated DTT frequencies for Ireland... Submit: EPG-Grabbers and tuningdetails 1
    Dark Eyes Updated to Windows 10, now TVServer won't work Installation, configuration support 1
    R [solved] Files moved to new location - Easy way to update database? My TVSeries 7
    M.Hulot Moving Pictures lässt sich nach Windows-Update nicht mehr öffnen Plugins & Erweiterungen 1
    R Files moved to different location - Easy way to update database? Moving Pictures 2
    k12158 [solved] Kein direkter Wechsel von TV-Kanal zu TV-Kanal mehr nach Update? Allgemeines Support- und Diskussionsforum 16
    ajs Mediaportal update to .Net 4.6.2+ MediaPortal 1 13
    Mr6686 [solved] Titan skin broken since update to 1.23 Installation, configuration support 6
    Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10
    TLD Windows 10 1903 feature update General Support 3
    azzuro [Pending] Update MP1 to VisualStudio 2019 MediaPortal 1 36
    A Problem Windows 10 64 bit prof. Update auf Version 1903(gelöst) Installationsprobleme? 0
    T No TV after updating Windows 10 to latest Version 1903 / OS build 18362.175 (logs attached) General Support 2
    M [solved] Updated Swedish translation for MP 1.24 Submit: Localization of MediaPortal and DeployTool 0
    framug 1.22.0 BasicHome Editor settings for DefaultWide HD skin not kept when update 1.22 3
    Neoculture Bulk file name update My TVSeries 6
    HTPCSourcer [Evaluate] MP2-Updates do not remove the GUID of previous installs MediaPortal 2 13
    Rob Hexenmeister [solved] Latests Media Handler - Skinning an updating window or control Fanart Handler 26
    Similar threads

























    Top Bottom