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

DB field to be updated #46

Closed oleroc closed 3 years ago

oleroc commented 3 years ago

Hi. I noticed now that Plex is using Audience rating instead of Critic Rating when populating the Score field. Will you change update tool to use this field as well? IMDB score is an audience score after all.

mynttt commented 3 years ago

This is currently supported for the new Plex Movie Agent but not for the older legacy agents and I will probably not change it as these older agents behave the same (using the rating field for everything).

The tool currently behaves this way:

https://github.com/mynttt/UpdateTool/blob/65f4335a54cbaaace2e418b3220ee9a0cccd014b/src/main/java/updatetool/imdb/ImdbDatabaseSupport.java#L139-L140

New Agent: Inserting IMDB ratings into the audience score and nulling the critic rating (none exists for IMDB ratings). Old Agents: Inserting IMDB ratings into the normal score field as that was the observed behavior of those agents as well and changing it might cause issues when displaying the ratings in the UI.

Edit: If these old agents cause any trouble I can also release a patch that writes them in both fields. I'm not using Plex often at the moment so I wouldn't know if it causes UI troubles cause they changed their frontend code.