[solved] Configuration: video lookup on IMDB script error. (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    13,983
    8,535
    Kyiv
    Home Country
    Ukraine Ukraine
    Country flag
    Remove files table;
    Remove hasSubtitles from filesmediainfo.
    If the film consists of 2, 3, 5 files, is this taken into account in the changes?
    I have amended all processing related to these changes throughout the application.
    It remains to change all the plugins that use this database. And check operation in all modes, file mode, database mode, information mode.
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    338
    52
    Home Country
    United Kingdom United Kingdom
    Country flag
    Understood. This is all some time off, but, yes, if you want to take up this upgrade, then it will be necessary to check those other plugins.

    I guess it's a question of whether you think it will be worth it :).

    As I say, it will be in the next few months and there is no rush.

    Tony
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    13,983
    8,535
    Kyiv
    Home Country
    Ukraine Ukraine
    Country flag
    Understood. This is all some time off, but, yes, if you want to take up this upgrade, then it will be necessary to check those other plugins.
    I don't have that many plugins. And there is no way to check them all.
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    338
    52
    Home Country
    United Kingdom United Kingdom
    Country flag
    Hi ajs

    I've done the lion's share of making MP and Configuration work as multi-user applications with the FoldeDatabase, MusicDatabase, PictureDatabase and VideoDatabase.

    Are there any third-party applications that use the MusicDatabase because I notice that MusicDatabase isn't really using a relational design and it doesn't perform very well compared with the other databases? I am very tempted to sort that out while I'm doing the the rest (because I'm having to re-code much of the back-end anyway). It will add a bit of work but relative to what I've already done it won't be much - this has been a mammoth task.

    What do you think?

    There are sections, not many though, that generate SQL on-the-fly, which doesn't lend itself to object-orientation, so I've left that coding alone. It's okay for my purposes because those sections only affect reads and not updates/writes.

    Things are going well and the performance is great though I've still got a lot of testing to do.

    Tony
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    13,983
    8,535
    Kyiv
    Home Country
    Ukraine Ukraine
    Country flag
    Are there any third-party applications that use the MusicDatabase because I notice that MusicDatabase isn't really using a relational design and it doesn't perform very well compared with the other databases?
    Yes, of course there are, there are plug-ins, there is third-party software.
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    338
    52
    Home Country
    United Kingdom United Kingdom
    Country flag
    Okay. It was just a thought that this might be a good time to do some work on that, but I'm happy to leave it alone.

    Tony
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    338
    52
    Home Country
    United Kingdom United Kingdom
    Country flag
    Hi ajs

    I've got the single, multi-user, centrally configured database working for the Folder, Music, Picture and Video databases and I am using this system as my production system. I have also upgraded it to 1.29 in line with the latest version. I am working on streamlining the code to remove duplication of processing and the performance is really good

    I downloaded the Fanart Handler extension and recompiled it with the new format. The GitHub didn't have the xmp2 file so I'm not sure what happens about promoting extensions. FanartHandler is different because it is included in the main file structure:

    "C:\Program Files (x86)\Team MediaPortal\MediaPortal\plugins\process\FanartHandler.dll"

    The other extensions don't seem to have the same close relationship with MP.

    Can you give me a list of the extensions that use the client databases so I can go through them to align them with the new version?

    I suppose what I really need to know is whether you are wanting to use what I have done. I have fixed a few issues including one or two of the cs scripts and the scan methodology and my version keeps the database current with disk changes; i.e. when a movie is deleted from disk using MP, the database is purged of all data associated with that movie. At the moment I install my version over the standard version by copying a list of files to the production system. The database is automatically changed to the new version but without trying to convert its data. I felt that this is such a major upgrade that users would be better off recreating their movie info data using the new version of configuration (which runs much faster than before). I've added some try/catches to a few scripts to make them more reliable. I can provide documentation of the new approach, in detail, if you want it (I need to finish it off but am happy to let you have it when it's ready).

    Maybe you would want to have this as a third option. I recommend that you use this version because it means you will no longer need to sync databases - although you still could if you wanted to. It also offers several improvements in performance though I am still testing the procduct.

    I'm happy to go along with whatever you decide.

    Tony
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    13,983
    8,535
    Kyiv
    Home Country
    Ukraine Ukraine
    Country flag
    The GitHub didn't have the xmp2
    Can you give me a list of the extensions that use the client databases so I can go through them to align them with the new version?
    I do not have this list, I can say exactly about FanartHandler, LatestsMediaHandler, MPExtended but this is from memory, I do not keep track of plugins that I do not use. But they are obviously still there ...
    I felt that this is such a major upgrade that users would be better off recreating their movie info data using the new version of configuration
    I'm not sure it's a good idea to rescan 500+ movies, 10,000+ music and about the same number of pictures, not everyone wants to do that. Ideally, you need to migrate from the old database to the new one.
    Maybe you would want to have this as a third option. I recommend that you use this version because it means you will no longer need to sync databases - although you still could if you wanted to.
    How about TVSeries? mvCentral and other plugins?
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    338
    52
    Home Country
    United Kingdom United Kingdom
    Country flag
    I'm happy to look at any plugins that you think are relevant. You've mentioned TVSeries and mvCentral. Let me know about any others that you are concerned about.

    Tony
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    338
    52
    Home Country
    United Kingdom United Kingdom
    Country flag
    I'll have a look at migrating the database to the new format.

    I'm going to be a busy boy :) .

    Tony
     

    Users who are viewing this thread

    Similar threads

    Fixed. :) @Developers , @Administrative Someone deleted the imdb_de_ofdb_MP13x.csscript from our server but did not remove it from MovieInfoGrabber_V16.xml (that is the index file).
    Fixed. :) @Developers , @Administrative Someone deleted the imdb_de_ofdb_MP13x.csscript from our server but did not remove it...
    Hi all, No logs yet but I can provide if necessary. From within the Mediaportal Configuration application, clicking the "Update...
    Replies
    2
    Views
    1K
    • Sticky
    Historical reasons, so that if you update to a new version and it fails, you can go back to old one. As to why it keeps more than just the "previous" one, that I don't know. Probably made sense when it was designed (y)
    Historical reasons, so that if you update to a new version and it fails, you can go back to old one. As to why it keeps more than...
    The IMDb+ scraper-script and plugin combination for Moving-Pictures is the first scraper to support custom options, allowing you to...
    Replies
    177
    Views
    23K
    Sorry to hear that you have to go to hospital. I hope that all wil be fine. In fact you have already all the information needed. The database name and the table name are the same than in mySQL for ArgusTV. How can I provide you the Backup file ?
    Sorry to hear that you have to go to hospital. I hope that all wil be fine. In fact you have already all the information needed...
    Hi. I like to introduce our latest tool, called "EPG-Buddy". This program should make EPG grabbing as easy as possible. Up to now a...
    Replies
    445
    Views
    118K
    Full Source Code is available as attachment First of all, i don't know if this is the right place for this [HOWTO]. It is a supplement to the wiki-guide Movie Info Scripts/Grabbers I hope this miniwiki-howto-practical guide help you to build a new script in a few steps. At this time only a few of scripts (only four languages) are...
    Full Source Code is available as attachment First of all, i don't know if this is the right place for this [HOWTO]. It is a...
    Full Source Code is available as attachment First of all, i don't know if this is the right place for this [HOWTO]. It is a...
    Replies
    0
    Views
    8K
    • Locked
    Thanks for mentioning you use IMDb+, because that is why Article remove stopped working for you. At least for the titles that get renamed by IMDb+. The problem is that Moving-Pictures does not re-apply the article remove setting after IMDb+ changes the title. One solution is to add all those movies to your IMDb+ custom rename database...
    Thanks for mentioning you use IMDb+, because that is why Article remove stopped working for you. At least for the titles that get...
    DOWNLOAD Moving Pictures is a movie management plug-in that focuses on ease of use and flexibility. Point it to your movies...
    Replies
    41
    Views
    14K
    Top Bottom