[16] Fix Verified Hot Overlay for Ratings (#2309)

pull/2317/head
johnfawkes 3 weeks ago committed by GitHub Action
parent 03d225cd56
commit 5a935fa416

@ -9,7 +9,7 @@ Added the `character` search option to the `imdb_search` builder
# Defaults # Defaults
Fixed incorrect content rating mappings in various Default files 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 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 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 Adds `style` template variable for Streaming and Chart defaults, allowing user to choose color or white logos for collection posters
@ -22,3 +22,4 @@ 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 where episode overlays sometimes wouldn't be added
Fixes an issue with IMDb Parental Labels not working 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

@ -1 +1 @@
2.1.0-build15 2.1.0-build16

@ -92,7 +92,7 @@ templates:
default: true default: true
conditions: conditions:
- image_level: Top - 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 value: false
- image_level: Top - image_level: Top
builder_level: episode builder_level: episode

@ -1172,7 +1172,7 @@ class Plex(Library):
for i, item in enumerate(all_items, 1): for i, item in enumerate(all_items, 1):
logger.ghost(f"Processing: {i}/{len(all_items)} {item.title}") logger.ghost(f"Processing: {i}/{len(all_items)} {item.title}")
add_item = True add_item = True
item = self.reload(item) item = self.reload(item, force=True)
for collection in item.collections: for collection in item.collections:
if str(collection.tag).lower() in collection_indexes: if str(collection.tag).lower() in collection_indexes:
add_item = False add_item = False

Loading…
Cancel
Save