Skip to content

Commit

Permalink
Workaround to fix an issue with DS 3.8.16.3566. (#9401)
Browse files Browse the repository at this point in the history
* Workaround to fix an issue with DS 3.8.16.3566.

* update changelog

* Update other changelogs.
  • Loading branch information
p0psicles authored Apr 4, 2021
1 parent c00daf9 commit 0fe90ae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
#### New Features

#### Improvements
- Vueify history page. ([9201](https://github.com/pymedusa/Medusa/pull/9201))
- Nebulance: Prevent duplicate results for provider. ([9333](https://github.com/pymedusa/Medusa/pull/9333))

#### Fixes
- AnimeBytes: Fix exception when processing multi-ep BD specials. ([9396](https://github.com/pymedusa/Medusa/pull/9396))
- Fix issue with sending torrents to Synology downloadstation. ([9401](https://github.com/pymedusa/Medusa/pull/9401))
- Fix a number of issues with trakt sync. ([9319](https://github.com/pymedusa/Medusa/pull/9319))

-----

Expand Down
4 changes: 4 additions & 0 deletions medusa/clients/torrent/downloadstation.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ def _add_torrent_uri(self, result):
return self._check_response()

def _add_torrent_file(self, result):
# The API in the latest version of Download Station (3.8.16.-3566)
# is broken for downloading via a file, only uri's are working correct.
if result.url[:4].lower() in ['http', 'magn']:
return self._add_torrent_uri(result)

torrent_path = app.TORRENT_PATH

Expand Down

0 comments on commit 0fe90ae

Please sign in to comment.