diff --git a/CHANGES.md b/CHANGES.md index ff64db4..bf8a689 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,9 @@ -### 0.20.17 (2019-12-25 01:40:00 UTC) +### 0.20.18 (2019-12-30 12:15:00 UTC) + +* Update UnRar for Windows 5.71 to 5.80 x64 + + +### 0.20.17 (2019-12-25 01:40:00 UTC) * Fix Synology DownloadStation test dev mode diff --git a/lib/rarfile/UnRAR.exe b/lib/rarfile/UnRAR.exe index e87c694..78e572c 100644 Binary files a/lib/rarfile/UnRAR.exe and b/lib/rarfile/UnRAR.exe differ diff --git a/sickbeard/clients/download_station.py b/sickbeard/clients/download_station.py index ee0be72..73b4abd 100644 --- a/sickbeard/clients/download_station.py +++ b/sickbeard/clients/download_station.py @@ -37,6 +37,10 @@ class DownloadStationAPI(GenericClient): self.url = self.url_base + 'DownloadStation/task.cgi' self._errmsg = None self._testmode = False + self._auth_version = None + self._auth_path = None + self._task_version = None + self._task_path = None common_errors = { -1: 'Could not get a response', 100: 'Unknown error', 101: 'Invalid parameter', @@ -112,6 +116,7 @@ class DownloadStationAPI(GenericClient): tasks = self._client_request(('list', 'getinfo')[getinfo], t_id=rid, t_params=dict(additional='detail,file,transfer'))['data']['tasks'] else: + # noinspection PyUnresolvedReferences tasks = (filter(lambda d: d.get('id') == rid, self._testdata), self._testdata)[not rid] result += tasks and (isinstance(tasks, list) and tasks or (isinstance(tasks, dict) and [tasks])) \ or ([], [{'error': True, 'id': rid}])[err] @@ -274,6 +279,7 @@ class DownloadStationAPI(GenericClient): :rtype: string or bool """ if self._testmode: + # noinspection PyUnresolvedReferences return self._testid tasks = self._tinf()