From 95ad57f9c34f298c110c094adaa9462793384888 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Thu, 30 May 2019 01:26:28 -0700 Subject: [PATCH] fix youtube-dl format arguments apparently commas aren't correct? i could've sworn this was working before. maybe they changed it recently? --- home/streamcrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/streamcrap b/home/streamcrap index 1ed4a6e..15cabc6 100644 --- a/home/streamcrap +++ b/home/streamcrap @@ -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() {