Open sam5558 opened 3 years ago
Looking at the Synology API it looks like the destination folder can be specified on each task. In this case you would want to be able to specify the download folder per series? I would have to refresh my memory about how the options can be defined, but this might be possible.
Thank you for the reply.
In this case you would want to be able to specify the download folder per series?
Yes please.
Also, would it be possible to specify the filename also with the download folder ? A processed rename would be very handful !
Cheers,
I added basic support for setting the destination for a download, however the path must already exist in the synology so if you base it on the series name and add a new series you would have to create the folder ahead of time.
I don't think the API supports setting the output filename, I always just used sickbeard to process all the series downloads and rename/move files into the desired destinations.
I've tried with your updated synology.py, but all i'm getting is a "Destination does not exist".
I've tried with absolute path (/volume1/medusa/scheduled) and relative path (medusa/scheduled)... Also tried with some basic folders in synology (like homes), still the same issue. I've tried to see if it's a permission issue, so i gave the internal user "sc-flexget" read/write access to these targeted directories... still nothing :D
Let's say that before commenting i've tried pretty all that crossed my mind. Maybe i'm doing something wrong, so help would be welcome.
Thank you anyway for the update. Here is one of the multiple scenarios i have done :
web_server:
bind: 0.0.0.0
port: 8290
web_ui: yes
tasks:
anime:
rss: https://nyaa.si/?page=rss&q=1080+vostfr&c=0_0&f=0
series:
- Boku no Hero Academia 5:
begin: 03
alternate_name:
- Boku no Hero Academia S5
- My Hero Academia Season 5
- ivy - Fluorite Eye's Song:
begin: 03
from_group:
- Tsundere-Raws
- To Your Eternity
synology:
host: x.x.x.x
port: 5001
secure: true
verify: false
username: xxxx
password: xxxx
destination: homes
PS: On another note, i've tried using some variables in the desination path, something like "medusa/scheduled/{{ series_name }}" didn't have luck with it either :
There is a FlexGet process already running for this config, sending execution there.
2021-04-12 21:09:08 VERBOSE details anime Produced 75 entries.
2021-04-12 21:09:08 VERBOSE task anime REJECTED: `My Hero Academia Season 5 - 03 VOSTFR 1080p WEB x264 -NanDesuKa (CR)` by seen plugin because entry with title `My Hero Academia Season 5 - 03 VOSTFR 1080p WEB x264 -NanDesuKa (CR)` is already marked seen in the task anime at 2021-04-12 20:41
2021-04-12 21:09:09 VERBOSE task anime REJECTED: `To Your Eternity - 01 VOSTFR 1080p WEB x264 -NanDesuKa (CR)` by retry_failed plugin because waiting before retrying entry which has failed in the past. (failure reason: Failed to add magnet link: Destination does not exist)
2021-04-12 21:09:09 VERBOSE task anime REJECTED: `To Your Eternity - S01E01 VOSTFR 1080p WEB x264 -NanDesuKa (ADN)` by retry_failed plugin because waiting before retrying entry which has failed in the past. (failure reason: Failed to add magnet link: Destination does not exist)
2021-04-12 21:09:09 VERBOSE details anime Summary - Accepted: 0 (Rejected: 3 Undecided: 72 Failed: 0)
Hey, Nice plugin for synology you got here ! Love it. Just a quick question, for someone who wants to send multiple series torrents to multiple folders, is it possible to specify this in the synology plugin ? I believe it's not but asking anyway.
Thank you