Git Product home page Git Product logo

Comments (10)

mynttt avatar mynttt commented on June 12, 2024 1

Yeah, I've received your DB and looked at it. Like you describe, the first three items already have an IMDB associated within the Plex Database and are thus working fine.

The following items then only have TMDB/TVDB ids listed, which is where the issue begins. At the moment, the tool works in a way were always the last id from querying the Database is associated if no direct IMDB id is available with the entry (in the order of TMDB > TVDB, so right now TVDB always wins even when theres a TMDB entry). This is something that I will change in the future so both TVDB/TMDB ids are taken into consideration.

Within TVDB there are no "remoteIds": [], <- https://api4.thetvdb.com/v4/episodes/8901682/extended entries for those episodes which leads to no resolved IMDB id and thus no updates for those items.

With TMDB there has always been an issue as they don't have a public facing endpoint for the strange IDs that Plex persists. Those IDs are in this format: tmdb://3451276 and the public facing API requires the season number + episode nr in order with the root series id. The older agents supplied the IDs in this format: tmdb://seriesid/1/1 which has all the data that is required for it.

Luckily I've just found out that the series root item has a normal ID that can be resolved via TMDB => tmdb://139492 and leads to a result when using their API: https://api.themoviedb.org/3/tv/139492/season/1/episode/4/external_ids?api_key=xyz (of course no IMDB added yet, which you would have to do with the TMDB website).

Case in point, the TMDB functionality of UpdateTool is currently unable to process items from new plex agent libraries. I will fix this however and internally reconstruct those legacy IDs with the episode and season data within the plex library so API calls for those items will be possible again.

Then TMDB functionality will also be supported for TV Show items of new plex library IDs and I can also add redundancy i.e. try TMDB first if no success try TVDB. This should allow for a better coverage of different metadata providers and also give you the chance to add those missing IMDB ids on TMDB so UpdateTool can pull them once TMDB publishes the changes.

from updatetool.

mynttt avatar mynttt commented on June 12, 2024

This this something that can be fixed?

Depends. It would be good if you could send me your database via email ([email protected]) so I can take a look at it. Then I can decide if it is an issue with UpdateTool or if Plex just supplies wonky metadata.

from updatetool.

BaukeZwart avatar BaukeZwart commented on June 12, 2024

I think I found the issue, the first example with the ratings after e3 missing.
I checked TMDB and the IMDB ID for e4 and up was missing.
I added that, now I guess I need to wait 2 weeks to see if that fixed it.
If that is the issue I need to update TMDB for the missing IMDB ID's.

I have send you the Plex db per mail just in case it can be helpful.

from updatetool.

BaukeZwart avatar BaukeZwart commented on June 12, 2024

Thanks for the detailed explanation.

from updatetool.

mynttt avatar mynttt commented on June 12, 2024

@BaukeZwart So I have an update on this situation. With today's update, at least the tool will now consider all available providers when resolving the external identifiers against an IMDB ID. For movies, it is with the priority TMDB / TVDB and for TV shows the same but reversed.

However, the issue with the new agent TMDB IDs for TV shows not being compatible with their API is still not resolved. I'll write them a mail later and ask them if they can extend their API, as that is the easiest way to deal with this. I ever did that with TVDB, and they were very compliant with my request. So right now even if there is only a TMDB ID or the TMDB ID has the correct IMDB linkage while TVDB does not have it, the tool is unable to resolve it as their public facing API can't deal with the IDs that Plex has persisted in its database.

from updatetool.

BaukeZwart avatar BaukeZwart commented on June 12, 2024

Thanks for the update.
I will test the updated version.

from updatetool.

aussiehuddo avatar aussiehuddo commented on June 12, 2024

@mynttt can you please tell me exactly where in the database the imdb id is stored? as in which table and column.

from updatetool.

MitjaHenner avatar MitjaHenner commented on June 12, 2024

@mynttt can you please tell me exactly where in the database the imdb id is stored? as in which table and column.

Did you find it? Looking to add the id to a few shows manually because they don't get updated for some reason.

from updatetool.

aussiehuddo avatar aussiehuddo commented on June 12, 2024

Did you find it? Looking to add the id to a few shows manually because they don't get updated for some reason.

Directly editing the database is not the way to achieve this, and in general a bad idea.

To ensure it gets updated add the IMDB ID's to the affected episodes/shows on theTVDB.com. Then the info will get pulled into Plex. This has the bonus of helping everyone with the same issue for those episodes.

from updatetool.

MitjaHenner avatar MitjaHenner commented on June 12, 2024

Did you find it? Looking to add the id to a few shows manually because they don't get updated for some reason.

Directly editing the database is not the way to achieve this, and in general a bad idea.

To ensure it gets updated add the IMDB ID's to the affected episodes/shows on theTVDB.com. Then the info will get pulled into Plex. This has the bonus of helping everyone with the same issue for those episodes.

TVDB has IMDB linked, but the shows only show the TMDB rating. The episodes show the IMDB rating.
This only happens for two shows: Arcane and Queen's Gambit.

from updatetool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.