From 9c06105b79e377a8b6b5329e400d9810f7c520d9 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Wed, 20 Mar 2024 11:34:32 -0400 Subject: [PATCH] [41] fix #1923 fix omdb mass rating update --- VERSION | 2 +- modules/operations.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index e012fe19..5344fe17 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.20.0-develop40 +1.20.0-develop41 diff --git a/modules/operations.py b/modules/operations.py index 4854c066..c1255b6a 100644 --- a/modules/operations.py +++ b/modules/operations.py @@ -358,6 +358,8 @@ class Operations: found_rating = tmdb_obj().vote_average # noqa elif option == "imdb": found_rating = self.config.IMDb.get_rating(imdb_id) + elif attribute == "omdb": + found_rating = omdb_obj().imdb_rating # noqa elif option == "trakt_user": _ratings = trakt_ratings() _id = tmdb_id if self.library.is_movie else tvdb_id