Skip to content

Commit

Permalink
Fix Verified Hot Overlay for Ratings (#2309)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnFawkes authored Nov 8, 2024
1 parent 03d225c commit da5601c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Added the `character` search option to the `imdb_search` builder
# Defaults
Fixed incorrect content rating mappings in various Default files
Fixes an issue where Prime Video overlays/collections would not be built when the `watch_region` is set to AU
fixes an issue where Rotten Tomatoes Verified Hot wasn't working
Fixes an issue where Rotten Tomatoes Verified Hot wasn't working
Updates `Alien vs Predator` and `X-Men` lists to new lists which include most recent releases
Adds `style` template variable for Streaming and Chart defaults, allowing user to choose color or white logos for collection posters

Expand All @@ -21,4 +21,5 @@ Fixes #2274 Enhance handling of smart collections in deletion
Fixed the `ids_to_anidb` lookup for anime movies and shows
Fixes an issue where episode overlays sometimes wouldn't be added
Fixes an issue with IMDb Parental Labels not working
Fixes an issue where OMDb returned `N/A` as the content rating
Fixes an issue where OMDb returned `N/A` as the content rating
Fixes an issue where `plex_collectionless` doesn't work if the item was added to a collection in the same run
2 changes: 1 addition & 1 deletion defaults/overlays/ratings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ templates:
default: true
conditions:
- image_level: Top
rating<<rating_num>>_image: [anidb, letterboxd, rt_popcorn, mdb, tmdb, trakt, mal, star]
rating<<rating_num>>_image: [anidb, letterboxd, mdb, tmdb, trakt, mal, star]
value: false
- image_level: Top
builder_level: episode
Expand Down
2 changes: 1 addition & 1 deletion modules/plex.py
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ def get_rating_keys(self, method, data, is_playlist=False):
for i, item in enumerate(all_items, 1):
logger.ghost(f"Processing: {i}/{len(all_items)} {item.title}")
add_item = True
item = self.reload(item)
item = self.reload(item, force=True)
for collection in item.collections:
if str(collection.tag).lower() in collection_indexes:
add_item = False
Expand Down

0 comments on commit da5601c

Please sign in to comment.