added #62 seasonFolder option set to true

pull/76/head
meisnate12 4 years ago
parent 4c8ccaa171
commit a43e2a26d9

@ -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}],

@ -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:

Loading…
Cancel
Save