I could fix the issue by using separate YaRRS2 feeds for each event / series of torrents but that would be a lot of working. So I wa hoping there was a way I could automate the process using a shell script.
I was thinking I could use the Execute Plugin to run a Bash script when a new torrent is added. I've tried
Code: Select all
/usr/bin/deluge-console "recheck $1"
Being a novice script writer, I'm think what needs to be done by the script is-
1. Set the global default to add torrents in a paused state.
2. When a new torrent is added, wait X number of seconds in order to give LabelPlus time to finish.
3. Recheck the newly added torrent.
4. Unnpause torrent when recheck is complete.
I can set non-LabelPlus labels (deluge's default labels) using the YaRSS2 plugin. So would it be possible for the script to only force recheck torrents that match a given label (or even LabelPlus label)? That way, if a torrent doesn't match the given label, it could be unpaused immediately.
Any help in writing a script to automate the process I've described would be greatly appreciated.