mynttt / UpdateTool

A tool to update the IMDB ratings for Plex libraries that contain movies/series and use the IMDB agent to receive ratings
GNU General Public License v3.0
250 stars 12 forks source link

Custom episode order #93

Closed Pluvical closed 10 months ago

Pluvical commented 2 years ago

Hello,

On some of my series I have episodes in a different order than what themoviedb/tvdb have on their websites. However, when I run UpdateTool, it can't recognize the custom episode order and just applies the imdb ratings under the assumption that the episodes are in tvdb/themoviedb order. Is there a way to use update tool with series that have custom episode orders, or is this not possible?

Thanks

mynttt commented 1 year ago

By default, it uses the aired season / aired episode order to do lookups, apparently there is also DVD order tho. Is that used by your library? Because then I could implement a flag that allows you to manually toggle the mode for certain libraries.

Pluvical commented 1 year ago

For certain series I've opted to use DVD order, but for most, I am using the library default (TVDB aired order, I believe). Being able to use the update tool with my DVD-ordered series would be amazing. Would every series in the library have to be set to DVD order for it to work properly, or would it be able to differentiate between which series use the DVD order and which series use the default order?

mynttt commented 1 year ago

@Pluvical

I've found out that this data is stored for the show in the extra_data field i.e. showOrdering=dvd. So in theory it would be possible to detect these items and then supply this data when making a request to TVDB/TMDB. So you would not have to manually define which items have different behavior.

As it is a new feature I would implement it when I have time to look at it in detail. You could help me however by sending over your database so I could test against it per mail (marc@herschel.io). I would likely try to look at it in the next weeks.