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

pull/2285/head^2
YozoraXCII 1 month ago committed by GitHub Action
parent 6636204994
commit 113b6c5551

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

@ -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 # New Features
Added the `character` search option to the `imdb_search` builder 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
# Bug Fixes # Bug Fixes
Fixed the `cast` search option for the `imdb_search` builder Fixed the `cast` search option for the `imdb_search` builder

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

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

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

@ -449,6 +449,8 @@ class IMDb:
return imdb_ids return imdb_ids
raise Failed("IMDb Error: No IMDb IDs Found") raise Failed("IMDb Error: No IMDb IDs Found")
except KeyError: 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}") logger.error(f"Response: {response_json}")
raise raise

@ -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): 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}): " \ 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"{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"{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}'}" f"{'s' if total_count > 1 else ''}{'' if out_type or tag_type else f' updated to {display_value}'}"

@ -526,7 +526,7 @@ class Overlays:
logger.stacktrace() logger.stacktrace()
raise Failed(f" Overlay Error: {e}") raise Failed(f" Overlay Error: {e}")
else: 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: 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)) self.cache.update_image_map(item.ratingKey, f"{self.library.image_table_name}_overlays", item.thumb, poster_compare, overlay='|'.join(compare_names))

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