diff --git a/modules/builder.py b/modules/builder.py index 9b1410a1..18669501 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -1105,7 +1105,7 @@ class CollectionBuilder: elif discover_attr in ["language", "region"]: regex = ("([a-z]{2})-([A-Z]{2})", "en-US") if discover_attr == "language" else ("^[A-Z]{2}$", "US") new_dictionary[discover_attr] = self._parse(discover_attr, discover_data, parent=method_name, regex=regex) - elif discover_attr == "sort_by" and self.library.is_movie: + elif discover_attr == "sort_by": options = tmdb.discover_movie_sort if self.library.is_movie else tmdb.discover_tv_sort new_dictionary[discover_method] = self._parse(discover_attr, discover_data, parent=method_name, options=options) elif discover_attr == "certification_country": diff --git a/requirements.txt b/requirements.txt index 408f9c5f..4374a070 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -PlexAPI==4.8.0 -tmdbapis==0.1.7 +PlexAPI==4.9.0 +tmdbapis==0.1.8 arrapi==1.3.0 lxml==4.7.1 requests==2.27.1