mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[39] other small fixes
This commit is contained in:
parent
2a6cf72682
commit
aa474e62b1
5 changed files with 6 additions and 6 deletions
2
.github/workflows/version.yml
vendored
2
.github/workflows/version.yml
vendored
|
@ -91,7 +91,7 @@ jobs:
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
body_path: CHANGELOG
|
body_path: CHANGELOG
|
||||||
token: ${{ secrets.PAT }}
|
token: ${{ secrets.PAT }}
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
1.20.0-develop38
|
1.20.0-develop39
|
||||||
|
|
|
@ -1998,7 +1998,7 @@ class CollectionBuilder:
|
||||||
elif self.library.is_show and discover_attr in tmdb.discover_movie_only:
|
elif self.library.is_show and discover_attr in tmdb.discover_movie_only:
|
||||||
raise Failed(f"{self.Type} Error: {method_name} {discover_method} attribute only works for movie libraries")
|
raise Failed(f"{self.Type} Error: {method_name} {discover_method} attribute only works for movie libraries")
|
||||||
elif discover_attr == "region":
|
elif discover_attr == "region":
|
||||||
new_dictionary[discover_attr] = util.parse(self.Type, discover_method, discover_data, parent=method_name, regex=("^[A-Z]{2}$", "US"))
|
new_dictionary[discover_attr] = util.parse(self.Type, discover_method, discover_data.upper(), parent=method_name, regex=("^[A-Z]{2}$", "US"))
|
||||||
elif discover_attr == "sort_by":
|
elif discover_attr == "sort_by":
|
||||||
options = tmdb.discover_movie_sort if self.library.is_movie else tmdb.discover_tv_sort
|
options = tmdb.discover_movie_sort if self.library.is_movie else tmdb.discover_tv_sort
|
||||||
new_dictionary[lower_method] = util.parse(self.Type, discover_method, discover_data, parent=method_name, options=options)
|
new_dictionary[lower_method] = util.parse(self.Type, discover_method, discover_data, parent=method_name, options=options)
|
||||||
|
@ -2014,7 +2014,7 @@ class CollectionBuilder:
|
||||||
raise Failed(f"{self.Type} Error: {method_name} {discover_method} attribute: must be used with certification_country")
|
raise Failed(f"{self.Type} Error: {method_name} {discover_method} attribute: must be used with certification_country")
|
||||||
elif discover_attr == "watch_region":
|
elif discover_attr == "watch_region":
|
||||||
if "with_watch_providers" in dict_data or "without_watch_providers" in dict_data or "with_watch_monetization_types" in dict_data:
|
if "with_watch_providers" in dict_data or "without_watch_providers" in dict_data or "with_watch_monetization_types" in dict_data:
|
||||||
new_dictionary[lower_method] = discover_data
|
new_dictionary[lower_method] = discover_data.upper()
|
||||||
else:
|
else:
|
||||||
raise Failed(f"{self.Type} Error: {method_name} {discover_method} attribute: must be used with either with_watch_providers, without_watch_providers, or with_watch_monetization_types")
|
raise Failed(f"{self.Type} Error: {method_name} {discover_method} attribute: must be used with either with_watch_providers, without_watch_providers, or with_watch_monetization_types")
|
||||||
elif discover_attr == "with_watch_monetization_types":
|
elif discover_attr == "with_watch_monetization_types":
|
||||||
|
|
|
@ -803,7 +803,7 @@ class Operations:
|
||||||
|
|
||||||
if any([x is not None for x, _ in episode_ops]):
|
if any([x is not None for x, _ in episode_ops]):
|
||||||
|
|
||||||
if any(["imdb" in x for x, _ in episode_ops]) and not imdb_id:
|
if any(["imdb" in x for x, _ in episode_ops if x]) and not imdb_id:
|
||||||
logger.info(f"No IMDb ID for Guid: {item.guid}")
|
logger.info(f"No IMDb ID for Guid: {item.guid}")
|
||||||
|
|
||||||
for ep in item.episodes():
|
for ep in item.episodes():
|
||||||
|
|
|
@ -12,5 +12,5 @@ requests==2.31.0
|
||||||
retrying==1.3.4
|
retrying==1.3.4
|
||||||
ruamel.yaml==0.18.6
|
ruamel.yaml==0.18.6
|
||||||
schedule==1.2.1
|
schedule==1.2.1
|
||||||
setuptools==69.1.1
|
setuptools==69.2.0
|
||||||
tmdbapis==1.2.7
|
tmdbapis==1.2.7
|
Loading…
Reference in a new issue