about summary refs log tree commit diff stats
path: root/bin/yw
blob: 4e0337fc18c89429d61483cfd403a6163ae02a4a (plain) (blame)
1
2
3
4
#!/bin/sh
# for streaming things from yt-dlp to mpv. $1 is the url
yt-dlp -f b/bv*+ba --external-downloader curl -o - "$1" 2> $HOME_LOG/ytdl.log | mpv - > /dev/null
rm -f -- -.*.vtt