Error
'0'
Traceback
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/tornado/web.py", line 1703, in _execute result = await result
File "/opt/sickrage/sickrage/core/webserver/handlers/base.py", line 186, in wrapper await sickrage.app.wserver.io_loop.run_in_executor(self.executor, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.8/site-packages/tornado/web.py", line 3178, in wrapper return method(self, *args, **kwargs)
File "/opt/sickrage/sickrage/core/webserver/handlers/home/add_shows.py", line 445, in post newQuality = Qualities[quality_preset]
File "/usr/local/lib/python3.8/enum.py", line 387, in __getitem__ return cls._member_map_[name]
KeyError: '0'
Request Info
method: POST
uri: /home/addShows/addNewShow
version: HTTP/1.1
headers: Host: localhost:8081 Connection: keep-alive Content-Length: 632 Cache-Control: max-age=0 Sec-Ch-Ua: "Google Chrome";v="87", " Not;A Brand";v="99", "Chromium";v="87" Sec-Ch-Ua-Mobile: ?0 Upgrade-Insecure-Requests: 1 Origin: http://localhost:8081 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: same-origin Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Referer: http://localhost:8081/home/addShows/newShow?show_to_add=THETVDB%7C%2Ftv%2FToo+Old+to+Die+Young Accept-Encoding: gzip, deflate, br Accept-Language: en-GB,en-US;q=0.9,en;q=0.8 Cookie: _sr="2|1:0|10:1609831414|3:_sr|44:ZjM5NWIzYmMxODk1NTNjNDIzZjU2ZmI4NTE1MzMzYzc=|35228f009c184f94343b0825b331a0dce5d554062759b582bc187b91f0219104" Dnt: 1
body: b'fullShowPath=%2Ftv%2FToo+Old+to+Die+Young&skipShow=&providedSeriesProviderID=THETVDB&seriesProviderLanguage=en&whichSeries=TheTVDB%7CTHETVDB%7Chttp%3A%2F%2Fthetvdb.com%2F%3Ftab%3Dseries%26id%3D%7C361979%7CToo+Old+to+Die+Young%7C2019-6-14%7C&flatten_folders=on&search_format=STANDARD&defaultStatus=WANTED&defaultStatusAfter=WANTED&quality_preset=0&anyQualities=HDTV&anyQualities=FULLHDTV&anyQualities=ANYHDTV&anyQualities=HDWEBDL&anyQualities=FULLHDWEBDL&anyQualities=ANYWEBDL&bestQualities=HDTV&bestQualities=FULLHDTV&bestQualities=ANYHDTV&bestQualities=HDWEBDL&bestQualities=FULLHDWEBDL&bestQualities=ANYWEBDL&whitelist=&blacklist='
remote_ip: 172.19.0.1
protocol: http
host: localhost:8081
host_name: localhost
files: {}
connection:
server_connection:
_start_time: 1610272530.0415654
_finish_time: None
path: /home/addShows/addNewShow
query:
arguments: {'fullShowPath': [b'/tv/Too Old to Die Young'], 'skipShow': [b''], 'providedSeriesProviderID': [b'THETVDB'], 'seriesProviderLanguage': [b'en'], 'whichSeries': [b'TheTVDB|THETVDB|http://thetvdb.com/?tab=series&id=|361979|Too Old to Die Young|2019-6-14|'], 'flatten_folders': [b'on'], 'search_format': [b'STANDARD'], 'defaultStatus': [b'WANTED'], 'defaultStatusAfter': [b'WANTED'], 'quality_preset': [b'0'], 'anyQualities': [b'HDTV', b'FULLHDTV', b'ANYHDTV', b'HDWEBDL', b'FULLHDWEBDL', b'ANYWEBDL'], 'bestQualities': [b'HDTV', b'FULLHDTV', b'ANYHDTV', b'HDWEBDL', b'FULLHDWEBDL', b'ANYWEBDL'], 'whitelist': [b''], 'blacklist': [b'']}
query_arguments: {}
body_arguments: {'fullShowPath': [b'/tv/Too Old to Die Young'], 'skipShow': [b''], 'providedSeriesProviderID': [b'THETVDB'], 'seriesProviderLanguage': [b'en'], 'whichSeries': [b'TheTVDB|THETVDB|http://thetvdb.com/?tab=series&id=|361979|Too Old to Die Young|2019-6-14|'], 'flatten_folders': [b'on'], 'search_format': [b'STANDARD'], 'defaultStatus': [b'WANTED'], 'defaultStatusAfter': [b'WANTED'], 'quality_preset': [b'0'], 'anyQualities': [b'HDTV', b'FULLHDTV', b'ANYHDTV', b'HDWEBDL', b'FULLHDWEBDL', b'ANYWEBDL'], 'bestQualities': [b'HDTV', b'FULLHDTV', b'ANYHDTV', b'HDWEBDL', b'FULLHDWEBDL', b'ANYWEBDL'], 'whitelist': [b''], 'blacklist': [b'']}
_cookies: Set-Cookie: _sr="2|1:0|10:1609831414|3:_sr|44:ZjM5NWIzYmMxODk1NTNjNDIzZjU2ZmI4NTE1MzMzYzc=|35228f009c184f94343b0825b331a0dce5d554062759b582bc187b91f0219104"