add forced to list of preserved track comments

This commit is contained in:
2022-12-28 11:52:12 +01:00
parent 2e029290f9
commit 9278aea593
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
# command -v notify-send 1>/dev/null || echo "The \"notify-send\" command is not available. Aborting." && exit 1
SAVEDIR=$(xdg-user-dir DOWNLOAD)
[[ "$1" =~ ^magnet ]] && notify-send -a "Clipboard Watcher" "Magnet URL copied to the clipboard."
aria2c -d "$SAVEDIR" --input-file <( echo "$1" ) --bt-metadata-only=true --bt-save-metadata=true
# TODO: spawn aria2c in a subshell in case a magnet link takes forever to load