added #62 seasonFolder option set to true

This commit is contained in:
meisnate12 2021-02-24 10:57:40 -05:00
parent 4c8ccaa171
commit a43e2a26d9
2 changed files with 2 additions and 1 deletions

View file

@ -71,6 +71,7 @@ class SonarrAPI:
"titleslug": titleslug,
"language": self.language,
"monitored": True,
"seasonFolder": True,
"rootFolderPath": self.root_folder_path,
"seasons": [],
"images": [{"covertype": "poster", "url": show.poster_path}],

View file

@ -21,7 +21,7 @@ class TVDbObj:
if len(results) > 0:
self.id = int(results[0])
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):
raise Failed(f"TVDb Error: Could not find a TVDb Series using TVDb Series ID: {tvdb_url[len(TVDb.series_id_url):]}")
else: