i was so sleepy i forgot mpv supports playing playlists

This commit is contained in:
2023-11-03 13:49:18 -06:00
parent 6ab0d98ded
commit 6bbd07dc16

3
yt
View File

@@ -103,7 +103,8 @@ play() { # play a video after caching its title
queue() {
while test -n "$1"; do
mpv "$(tr '\n' ' ' <"$1")"
mpv "$1"
shift
done
}