summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRaymaekers Luca <luca@spacehb.net>2025-03-09 11:34:11 +0100
committerRaymaekers Luca <luca@spacehb.net>2025-03-09 11:34:11 +0100
commit803e1254ef0a7d1711953f2789442ffb67e1af09 (patch)
tree1e44fac0fa01548b72e66df7e6dbfecb7c809aa2 /bin
parent2b1e81af5435011175756a3d2a4957c6845add60 (diff)
checkpoint
Diffstat (limited to 'bin')
-rwxr-xr-xbin/extra/myts8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/extra/myts b/bin/extra/myts
index aea4842..97a889d 100755
--- a/bin/extra/myts
+++ b/bin/extra/myts
@@ -33,7 +33,7 @@ fi
q="$@"
if [ -z "$q" ]; then
- >&2 printf 'Usage: %s query\n' "$0"
+ >&2 printf 'Usage: %s [-nm] query\n' "$0"
exit 1
fi
@@ -56,10 +56,10 @@ rm -f "$tsv" "$json"
if [ "$toMPDFlag" ]; then
>&2 printf 'Adding to mpd..\n'
- mpc add "$(yt-dlp --prefer-insecure -g -f140 "$url")"
+ mpc --no-resume-playback add "$(yt-dlp --prefer-insecure -g -f140 "$url")"
elif [ "$noVideoFlag" ]; then
- mpv --no-video "$url"
+ mpv --no-resume-playback --no-video "$url"
else
- mpv "$url"
+ mpv --no-resume-playback "$url"
fi
>&2 printf 'Done.\n'