We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d689f31 commit 79dd755Copy full SHA for 79dd755
tracker-add-auto.sh
@@ -35,8 +35,9 @@ while true; do
35
sleep 3m
36
rm -f "/tmp/TTAA.$id.lock"
37
}
38
+
39
# Get list of active torrents
- ids="$(transmission-remote "$host" --auth="$auth" --list | grep -vE 'Seeding|Stopped|Finished|[[:space:]]100%[[:space:]]' | grep '^ ' | awk '{ print $1 }')"
40
+ ids="$(transmission-remote "$host" --auth="$auth" --list | tail -n +2 | grep -vE 'Seeding|Stopped|Finished|[[:space:]]100%[[:space:]]' | grep '^ ' | awk '{ print $1 }')"
41
for id in $ids; do
42
add_date="$(transmission-remote "$host" --auth="$auth" --torrent "$id" --info | grep '^ Date added: ' | cut -c 21-)"
43
add_date_t="$(date -d "$add_date" "+%Y-%m-%d %H:%M")"
0 commit comments