mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[15] fix flixpatrol
This commit is contained in:
parent
371e28399f
commit
73a0894b09
3 changed files with 6 additions and 6 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.19.1-develop14
|
||||
1.19.1-develop15
|
||||
|
|
|
@ -66,7 +66,7 @@ When adding a movie in Radarr you get the screen below to set these options use
|
|||
|
||||
### Sonarr Add Details
|
||||
|
||||
When adding a movie in Sonarr you get the screen below to set these options use `sonarr_folder`, `sonarr_monitor`, `sonarr_quality`, `sonarr_language`, `sonarr_series`, `sonarr_season`, `sonarr_tag`, `sonarr_search`, and `sonarr_cutoff_search`.
|
||||
When adding a show in Sonarr you get the screen below to set these options use `sonarr_folder`, `sonarr_monitor`, `sonarr_quality`, `sonarr_language`, `sonarr_series`, `sonarr_season`, `sonarr_tag`, `sonarr_search`, and `sonarr_cutoff_search`.
|
||||
|
||||
![Sonarr Details](sonarr.png)
|
||||
|
||||
|
|
|
@ -43,9 +43,9 @@ class FlixPatrol:
|
|||
logger.info(f"\tPlatform: {data['platform'].replace('_', ' ').title()}")
|
||||
logger.info(f"\tLocation: {data['location'].replace('_', ' ').title()}")
|
||||
logger.info(f"\tLimit: {data['limit']}")
|
||||
total_items = self.data[data["platform"]][data["location"]]["movies" if is_movie else "shows"][:data["limit"]]
|
||||
if total_items > 0:
|
||||
logger.info(f"Processed {total_items} TMDb IDs")
|
||||
return total_items
|
||||
items = self.data[data["platform"]][data["location"]]["movies" if is_movie else "shows"][:data["limit"]]
|
||||
if len(items) > 0:
|
||||
logger.info(f"Processed {len(items)} TMDb IDs")
|
||||
return items
|
||||
else:
|
||||
raise Failed(f"FlixPatrol Error: No List Items found in {data}")
|
||||
|
|
Loading…
Reference in a new issue