diff --git a/modules/radarr.py b/modules/radarr.py index 5d37bc1a..7f704d20 100644 --- a/modules/radarr.py +++ b/modules/radarr.py @@ -40,7 +40,7 @@ class Radarr: tags = options["tag"] if "tag" in options else self.tag search = options["search"] if "search" in options else self.search try: - added, exists, invalid = self.api.add_multiple_movies(tmdb_ids, folder, quality_profile, monitor, search, availability, tags) + added, exists, invalid = self.api.add_multiple_movies(tmdb_ids, folder, quality_profile, monitor, search, availability, tags, per_request=100) except Invalid as e: raise Failed(f"Radarr Error: {e}") @@ -65,7 +65,7 @@ class Radarr: logger.info("") logger.info(f"{apply_tags_translation[apply_tags].capitalize()} Radarr Tags: {tags}") - edited, not_exists = self.api.edit_multiple_movies(tmdb_ids, tags=tags, apply_tags=apply_tags_translation[apply_tags]) + edited, not_exists = self.api.edit_multiple_movies(tmdb_ids, tags=tags, apply_tags=apply_tags_translation[apply_tags], per_request=100) if len(edited) > 0: logger.info("") diff --git a/modules/sonarr.py b/modules/sonarr.py index 7c428c29..2386e3f8 100644 --- a/modules/sonarr.py +++ b/modules/sonarr.py @@ -66,7 +66,7 @@ class Sonarr: search = options["search"] if "search" in options else self.search cutoff_search = options["cutoff_search"] if "cutoff_search" in options else self.cutoff_search try: - added, exists, invalid = self.api.add_multiple_series(tvdb_ids, folder, quality_profile, language_profile, monitor, season, search, cutoff_search, series, tags) + added, exists, invalid = self.api.add_multiple_series(tvdb_ids, folder, quality_profile, language_profile, monitor, season, search, cutoff_search, series, tags, per_request=100) except Invalid as e: raise Failed(f"Sonarr Error: {e}") @@ -91,7 +91,7 @@ class Sonarr: logger.info("") logger.info(f"{apply_tags_translation[apply_tags].capitalize()} Sonarr Tags: {tags}") - edited, not_exists = self.api.edit_multiple_series(tvdb_ids, tags=tags, apply_tags=apply_tags_translation[apply_tags]) + edited, not_exists = self.api.edit_multiple_series(tvdb_ids, tags=tags, apply_tags=apply_tags_translation[apply_tags], per_request=100) if len(edited) > 0: logger.info("") diff --git a/requirements.txt b/requirements.txt index 847af976..1734228c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ PlexAPI==4.7.0 tmdbv3api==1.7.6 -arrapi==1.1.2 +arrapi==1.1.3 lxml==4.6.3 requests==2.26.0 ruamel.yaml==0.17.10