-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Most recent release broke Synology Downloadstation integration #9460
Comments
Pls use the issue template. |
I can confirm that commenting out the two line change from #9366 makes this stop for me. |
Not sure why this got closed but I fixed the issue by updating downloadstation.py to use the new Version 2 of the DownloadStation API. I can do a PR for it if you want. |
If you could do a PR, that would be much appreciated. But maybe a good idea to consult with @BenjV |
The two lines form #9366 will use the url (if available) to the torrent instead of the torrent file because the latest version of downloadstation broke the old API for downloading via torrent files. I am working on a overhaul of the downloadstation client of medusa, that will use the "SYNO.DownloadStation2.Task" and that will fix the problem with downloading via the torrent file, but I will see if I can fix just this problem earlier. |
@BenjV I have a working version of downloadstation.py using "SYNO.DownloadStation2.Task". I can submit this change if you want and you can review it or you can do you own if you want. |
I have already a working version which uses the "SYNO.DownloadStation2.Task", I am making some more changes, like checking the download location to be a correct and available share and only logging in again when the cookie is expired and not on every action. |
@BenjV Sounds good thank you! The previous release of medusa had a workaround where I could still get up and running by installing the old downloadstation. I'm not sure there is a workaround for this release. |
@Tailslide |
@BenjV The issue I saw was with a private tracker and a torrent file. As you said, sending the torrent url to the download station doesn't work since it can't authenticate. I just took the original code and converted it to the V2 api and seems to be running with no issues. Looks like no one else is complaining so far and my problem has a temporary fix so maybe you don't need to rush any changes out. |
I'll take my time, but I was already busy to cleanup and upgrade the downloadstation client of Medusa. |
I'm now experiencing this issue as well w private trackers. Is there a workaround or do I need to wait for a fix to be applied? I'm running Medusa in a docker container so I guess that limits workaround possibilites some... |
@andersjohansson3 You can revert back to the previous version of Medusa And the older version of downloadstation |
There is no workaround. There is a new api available for DownloadStation, but Synology has not yet released documentation for it. |
@p0psicles |
The changes have been merged develop. |
@p0psicles Sorry I can't. I switched to a new NAS and set it up with docker containers, not using download station anymore. |
With the last release of Medusa on Synology, Torrents are sent to Download Station that's OK but they have status "Waiting" and don't start :( There's no info about that in Medusa log: |
I have discover in setup/ torrent search an error when I try to test connection with DownloadStation: But the user in the setup is the administrator of the NAS... |
The Synology webapi to current versions of Download Station only function if you set admin as the user. Also other usernames who have admin privs don't function. |
seansfkelley/nas-download-manager#177 (comment) I know it's an old thread, but I still have this problem. And it seems there is now at least some documentation from Synology. Is there a way to get this updated? |
As I wrote on that post:
So you have to create a user in your Nas and give that user permission to use DownloadStation (control panel, application privileges, select downloadsStation and Edit). And the "system Internal User" sc-medusa must have read/write privs on the share where DownloadStation puts the downloaded video's |
Describe the bug
Since applying the latest release, downloads are stuck on snatched and look like this in DownloadStation.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Download works
Screenshots
Medusa (please complete the following information):
Debug logs (at least 50 lines):
2021-04-20 14:18:18 INFO SNATCHQUEUE-SNATCH-328634 :: [0286e89] Downloading [filename] with 191 seeders and 7 leechers and size 2.12 GB from [search provider], through a SearchType.MANUAL_SEARCH search
2021-04-20 14:18:18 INFO SNATCHQUEUE-SNATCH-328634 :: [0286e89] Beginning to snatch release: [filename]
Additional context
I'm wondering if this fix here doesn't work with sites that require a login.
#9366
The text was updated successfully, but these errors were encountered: