-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
on complete script #494
Comments
figured it out, had to provide auth parameters. |
Thanks, this helped me as well. |
Just to confirm...is this what your transmission-purge-completed.sh looks like:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Complete torrents once finished, are not being removed. I have used this script in a non-docker environment previously without any issue. i can see script being called but nothing happens.
I have following configurations in the docker-compose file:
/scripts_dir is defined in the volume to the folder where the script is.
script is as follows:
`
#!/bin/sh
the folder to move completed downloads to
port, username, password
#SERVER="9091 --auth transmission:transmission"
SERVER="9091 "
echo "Starting on port #$SERVER"
use transmission-remote to get torrent list from transmission-remote list
use sed to delete first / last line of output, and remove leading spaces
use cut to get first field from each line
TORRENTLIST=
transmission-remote $SERVER --list | sed -e '1d;$d;s/^ *//' | cut --only-delimited --delimiter=" " --fields=1
transmission-remote $SERVER --list
for each torrent in the list
for TORRENTID in $TORRENTLIST
do
echo Processing : $TORRENTID
done`
The text was updated successfully, but these errors were encountered: