AAAAAAAAA
This commit is contained in:
parent
bc1d9b1089
commit
c134ca7337
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,8 @@ while true; do
|
|||
# Get list of active torrents
|
||||
ids="$(transmission-remote "$HOSTPORT" --authenv --list | grep -vE 'Seeding|Stopped|Finished|[[:space:]]100%[[:space:]]' | grep '^ ' | awk '{ print $1 }')"
|
||||
for id in $ids; do
|
||||
echo Processing $id
|
||||
|
||||
if [ ! -f /tmp/TTAA.$id.lock ]; then
|
||||
hash="$(transmission-remote "$HOSTPORT" --authenv --torrent "$id" --info | grep '^ Hash: ' | awk '{ print $2 }')"
|
||||
torrent_name="$(transmission-remote "$HOSTPORT" --authenv --torrent "$id" --info | grep '^ Name: ' | cut -c 9-)"
|
||||
|
|
Loading…
Add table
Reference in a new issue