[Plugin] DVDArt - All artwork for MovingPictures, MyFilms, TVSeries, Music & more!!! (2 Viewers)

catavolt

Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,342
    10,392
    Königstein (Taunus)
    Home Country
    Germany Germany
    @m3rcury again:
    DVDArtLauncher looks for System.Data.SQLite version 1.0.108.0, the new testbuilds for the MP 1.32 Pre Release (x86 and x64) have the version 1.0.117.0.
    Could you please have a look - my message from above is now 2 months old...
    And when you are in it, could you please do it for x86 and x64 (AnyCPU)?
    THX in advance ;)
     
    Last edited:

    budinsky

    Portal Pro
    September 12, 2009
    89
    91
    Brisbane
    Home Country
    Australia Australia
    My x86 test machine had System.Data.SQLite 1.0.108.0 so I found 1.0.117.0 and referenced that.
    Finally decided to load Visual Studio on my home computer so I can debug the build. So much easier!

    Found the error that prevented the backdrop and coverart from getting fetched.
    Banner should be checked(0. 3) but it was left out and backdrop took it's place.

    DVDArt_Process.vb - Sub getSettings()
    find:
    Code:
    _checked(0, 3) = XMLreader.GetValueAsBool("Scraper Movies", "backdrop", False)
    _checked(0, 4) = XMLreader.GetValueAsBool("Scraper Movies", "cover", False)
    replace with:
    Code:
    _checked(0, 3) = XMLreader.GetValueAsBool("Scraper Movies", "banner", False)
    _checked(0, 4) = XMLreader.GetValueAsBool("Scraper Movies", "backdrop", False)
    _checked(0, 5) = XMLreader.GetValueAsBool("Scraper Movies", "cover", False)
     

    budinsky

    Portal Pro
    September 12, 2009
    89
    91
    Brisbane
    Home Country
    Australia Australia
    Everything seems to work except when I add the new movie via Moving Pictures Config and load MediaPortal, the backdrop is downloaded and added to Moving Pictures database, but it does not display the image until I restart MediaPortal. What am I missing?

    When fanart.tv is added as a secondary choice to Local Data, it delivers a backdrop instantly.
    backdrops.png


    But after the image is added and MediaPortal restarts, the image is replaced with the imdb name.
    So two images exist, for example {Hypnotic-2023} [935965011].jpg and tt8080204.jpg
    This would not bother me too much if there was a way to clear any files that don't start with tt in the folder.
     
    Last edited:

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,867
    1,937
    South of France
    Home Country
    France France
    but it does not display the image until I restart MediaPortal. What am I missing?
    Hello,
    Even if I have not tested your changes yet (because I'm lazy, .dll and/or .exe could be useful).
    I already see this problem.
    It seems you know a bit how to dev.
    Then, by downloading MP code, maybe you will be able to find where is the problem ?
    I'm pretty sure someone in MP Team will take care of what you find/fix. ;)
     

    budinsky

    Portal Pro
    September 12, 2009
    89
    91
    Brisbane
    Home Country
    Australia Australia
    .dll and/or .exe could be useful
    Was not sure what the rules on adding those files were.
    It seems you know a bit how to dev.
    That I do.
    Then, by downloading MP code, maybe you will be able to find where is the problem ?
    I'm pretty sure someone in MP Team will take care of what you find/fix. ;)
    Updated files attached the. Have not tested the dll on x64 mediaportal yet but should work.

    The dll path is C:\Program Files (x86)\Team MediaPortal\MediaPortal\plugins\process
    The exe path is C:\Program Files (x86)\Team MediaPortal\MediaPortal\

    If System.Data.SQLite.dll (same folder as exe) is old like mine was then download version 1.0.117.0 from
    MediaPortal-1/TvEngine3/TVLibrary/TVDatabase/references/System.Data.SQLite.DLL at master · MediaPortal/MediaPortal-1
     

    Attachments

    • DVDArt_Plugin_AnyCPU.zip
      1.4 MB
    • DVDArt_PluginLauncher.x86.zip
      37.6 KB

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,867
    1,937
    South of France
    Home Country
    France France
    If System.Data.SQLite.dll (same folder as exe) is old like mine was then download version 1.0.117.0 from
    MediaPortal-1/TvEngine3/TVLibrary/TVDatabase/references/System.Data.SQLite.DLL at master · MediaPortal/MediaPortal-1
    No need for that, 1.0.117.0 is the one included in MP 1.32. ;)
    In fact, I forgot that I already compiled this plugin.
    Then, I have modified getsettings() method like you made and copied modified .dll and .exe.
    Maybe a deliver or push in github could be useful ?
    Then, maybe m3rcury will have time to provide a new plugin version ?
     

    budinsky

    Portal Pro
    September 12, 2009
    89
    91
    Brisbane
    Home Country
    Australia Australia
    Maybe a deliver or push in github could be useful ?
    Then, maybe m3rcury will have time to provide a new plugin version ?
    Fixing the bug and getting a working version took hours of my time.
    Providing the solution and working files is my limit.
    Feel free to create a new fork and branch with my changes, then suggest a merge or whatever needs to happen.
     

    Users who are viewing this thread

    Top Bottom