mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2025-02-16 13:58:25 +00:00
added #62 seasonFolder option set to true
This commit is contained in:
parent
4c8ccaa171
commit
a43e2a26d9
2 changed files with 2 additions and 1 deletions
|
@ -71,6 +71,7 @@ class SonarrAPI:
|
||||||
"titleslug": titleslug,
|
"titleslug": titleslug,
|
||||||
"language": self.language,
|
"language": self.language,
|
||||||
"monitored": True,
|
"monitored": True,
|
||||||
|
"seasonFolder": True,
|
||||||
"rootFolderPath": self.root_folder_path,
|
"rootFolderPath": self.root_folder_path,
|
||||||
"seasons": [],
|
"seasons": [],
|
||||||
"images": [{"covertype": "poster", "url": show.poster_path}],
|
"images": [{"covertype": "poster", "url": show.poster_path}],
|
||||||
|
|
|
@ -21,7 +21,7 @@ class TVDbObj:
|
||||||
if len(results) > 0:
|
if len(results) > 0:
|
||||||
self.id = int(results[0])
|
self.id = int(results[0])
|
||||||
elif tvdb_url.startswith(TVDb.movie_id_url):
|
elif tvdb_url.startswith(TVDb.movie_id_url):
|
||||||
raise Failed(f"TVDb Error: Could not find a TVDb Movie using TVDb Movie ID: {tvdb_url[len(TVDb.series_id_url):]}")
|
raise Failed(f"TVDb Error: Could not find a TVDb Movie using TVDb Movie ID: {tvdb_url[len(TVDb.movie_id_url):]}")
|
||||||
elif tvdb_url.startswith(TVDb.series_id_url):
|
elif tvdb_url.startswith(TVDb.series_id_url):
|
||||||
raise Failed(f"TVDb Error: Could not find a TVDb Series using TVDb Series ID: {tvdb_url[len(TVDb.series_id_url):]}")
|
raise Failed(f"TVDb Error: Could not find a TVDb Series using TVDb Series ID: {tvdb_url[len(TVDb.series_id_url):]}")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue