[5] [Defaults] Fix Prime Video ID for watch_region: AU (#2294)

This commit is contained in:
YozoraXCII 2024-10-22 19:41:35 +01:00 committed by GitHub Action
parent 6636204994
commit 113b6c5551
9 changed files with 20 additions and 10 deletions

View file

@ -56,7 +56,7 @@ jobs:
done
- name: Run Spellcheck
uses: rojopolis/spellcheck-github-actions@0.42.0
uses: rojopolis/spellcheck-github-actions@0.43.1
docker-build-pull:
runs-on: ubuntu-latest

View file

@ -1,8 +1,14 @@
# Requirements Update (requirements will need to be reinstalled)
Update pillow requirement to 11.0.0
Update psutil requirement to 6.1.0
Update setuptools requirement to 75.2.0
# New Features
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
# Bug Fixes
Fixed the `cast` search option for the `imdb_search` builder

View file

@ -1 +1 @@
2.1.0-build4
2.1.0-build5

View file

@ -37,9 +37,10 @@ templates:
final_tmdb_key:
default: <<tmdb_key>>
conditions:
- region: CA
- region: [CA, AU]
tmdb_key: [9]
value: 119
discover_with:
conditions:
- originals_only: false

View file

@ -57,6 +57,7 @@ templates:
- use_<<key>>
- use_<<tmdb_key>>
- allowed_libraries
- providers_<<key>>
run_definition:
- <<use_<<key>>>>
- <<use_<<tmdb_key>>>>
@ -95,7 +96,7 @@ templates:
final_tmdb_key:
default: <<tmdb_key>>
conditions:
- region: CA
- region: [CA, AU]
tmdb_key: [9]
value: 119
allowed_streaming:

View file

@ -449,6 +449,8 @@ class IMDb:
return imdb_ids
raise Failed("IMDb Error: No IMDb IDs Found")
except KeyError:
if 'errors' in response_json.keys() and 'message' in response_json['errors'][0] and response_json['errors'][0]['message'] == 'PersistedQueryNotFound':
raise Failed("Internal IMDB PersistedQuery Error")
logger.error(f"Response: {response_json}")
raise

View file

@ -906,7 +906,7 @@ class Operations:
def get_batch_info(placement, total, display_attr, total_count, display_value=None, is_episode=False, out_type=None, tag_type=None):
return f"Batch {name_display[display_attr] if display_attr in name_display else display_attr.capitalize()} Update ({placement}/{total}): " \
f"{f'{out_type.capitalize()}ing ' if out_type else ''}" \
f"{f'{out_type.capitalize()} ' if out_type else ''}" \
f"{f'Adding {display_value} to ' if tag_type == 'add' else f'Removing {display_value} from ' if tag_type == 'remove' else ''}" \
f"{total_count} {'Episode' if is_episode else 'Movie' if self.library.is_movie else 'Show'}" \
f"{'s' if total_count > 1 else ''}{'' if out_type or tag_type else f' updated to {display_value}'}"

View file

@ -526,7 +526,7 @@ class Overlays:
logger.stacktrace()
raise Failed(f" Overlay Error: {e}")
else:
logger.info(" Overlay Update Not Needed")
logger.info(f" Overlay Update Not Needed (Current Overlays: {', '.join(over_names)})")
if self.cache and poster_compare:
self.cache.update_image_map(item.ratingKey, f"{self.library.image_table_name}_overlays", item.thumb, poster_compare, overlay='|'.join(compare_names))

View file

@ -3,14 +3,14 @@ GitPython==3.1.43
lxml==5.3.0
num2words==0.5.13
pathvalidate==3.2.1
pillow==10.4.0
pillow==11.0.0
PlexAPI==4.15.16
psutil==6.0.0
psutil==6.1.0
python-dotenv==1.0.1
python-dateutil==2.9.0.post0
requests==2.32.3
tenacity==9.0.0
ruamel.yaml==0.18.6
schedule==1.2.2
setuptools==75.1.0
setuptools==75.2.0
tmdbapis==1.2.21