youtube-tui

Shell scripts to query YouTube from a terminal.
git clone git://git.concealed.world/youtube-tui
Log | Files | Refs | README | LICENSE

commit 0887585eca4629eecc33219a602f303abeed69cf
parent d4c78d511952b0f94d5f8afb8e4defead36af0e4
Author: Nixx <nixx@firemail.cc>
Date:   Sun, 15 Aug 2021 17:05:46 +0100

Small fix

Diffstat:
Mytsearch | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ytsearch b/ytsearch @@ -334,7 +334,7 @@ if [[ $confirm == 'D' || $confirm == 'd' || $confirm == 'download' || $confirm = while [[ $playmatchcount -lt ${#playurl[@]} ]]; do fullurl="${playurl[$playmatchcount]}" copy "${website}${fullurl}" - [ $vformat ] && youtube-dl -i -f "${vformat}" "${streambase}${fullurl}" || youtube-dl -i "${streambase}${fullurl}" + [ $vformat ] && youtube-dl -i -f "${vformat}" --no-playlist "${streambase}${fullurl}" || youtube-dl -i --no-playlist "${streambase}${fullurl}" ((playmatchcount++)) done elif [[ $vid == 'a' || $vid == 'A' || $vid == 'audio' || $vid == 'Audio' ]]; then @@ -353,7 +353,7 @@ if [[ $confirm == 'D' || $confirm == 'd' || $confirm == 'download' || $confirm = while [[ $playmatchcount -lt ${#playurl[@]} ]]; do fullurl="${playurl[$playmatchcount]}" copy "${website}${fullurl}" - youtube-dl -ix --audio-format "mp3" "${streambase}${fullurl}" + youtube-dl -ix --audio-format "mp3" --no-playlist "${streambase}${fullurl}" ((playmatchcount++)) done else