diff --git a/bazarr/api/episodes/history.py b/bazarr/api/episodes/history.py index 2aa9dccc1..658253558 100644 --- a/bazarr/api/episodes/history.py +++ b/bazarr/api/episodes/history.py @@ -148,7 +148,7 @@ class EpisodesHistory(Resource): for item in episode_history: # Mark episode as upgradable or not item.update({"upgradable": False}) - if {"video_path": str(item['path']), "timestamp": item['timestamp'], "score": str(item['score']), + if {"video_path": str(item['path']), "timestamp": item['timestamp'], "score": item['score'], "tags": str(item['tags']), "monitored": str(item['monitored']), "seriesType": str(item['seriesType'])} in upgradable_episodes_not_perfect: # noqa: E129 if os.path.exists(path_mappings.path_replace(item['subtitles_path'])) and \ diff --git a/bazarr/api/movies/history.py b/bazarr/api/movies/history.py index a8f549aa6..f11f604d1 100644 --- a/bazarr/api/movies/history.py +++ b/bazarr/api/movies/history.py @@ -139,7 +139,7 @@ class MoviesHistory(Resource): for item in movie_history: # Mark movies as upgradable or not item.update({"upgradable": False}) - if {"video_path": str(item['path']), "timestamp": item['timestamp'], "score": str(item['score']), + if {"video_path": str(item['path']), "timestamp": item['timestamp'], "score": item['score'], "tags": str(item['tags']), "monitored": str(item['monitored'])} in upgradable_movies_not_perfect: # noqa: E129 if os.path.exists(path_mappings.path_replace_movie(item['subtitles_path'])) and \