1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-20 02:43:23 -07:00

fix youtube-dl format arguments

apparently commas aren't correct?
i could've sworn this was working before.
maybe they changed it recently?
This commit is contained in:
Connor Olding 2019-05-30 01:26:28 -07:00
parent 9cf6a1821c
commit 95ad57f9c3

View File

@ -93,7 +93,7 @@ ytg() {
if [[ ! -e "$vid" && "$(expr substr "$vid" 1 4)" != "http" ]]; then
vid="ytdl://$vid"
fi
mpv_stream "$vid" --ytdl-format=22,95,300,best "$@"
mpv_stream "$vid" --ytdl-format=22/95/300/best "$@"
}
ytll() {
@ -101,7 +101,7 @@ ytll() {
}
ytgll() {
youtube-dl -q -f 22,95,300,best "$1" -o - | mpv_stream - --no-ytdl
youtube-dl -q -f 22/95/300/best "$1" -o - | mpv_stream - --no-ytdl
}
ai() {