We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92e59dd commit 1244f40Copy full SHA for 1244f40
1 file changed
yt-cli.sh
@@ -61,10 +61,13 @@ subscribed_menu()
61
while [[ "$URL_PLAYLIST" != " Return" ]]; do
62
URL_PLAYLIST=$(shift; get_youtube 0 $SUBSCRIBED_CHANNEL_SELECTED $TYPE_MEDIA_SEARCH_SELECTED)
63
if [[ "$URL_PLAYLIST" != " Return" ]]; then
64
- local URL=$(get_youtube 1 "$URL_PLAYLIST")
65
- if [[ "$URL" != " Return" ]]; then
66
- shift; open_video $URL
67
- fi
+ local URL=-1
+ while [[ "$URL" != " Return" ]]; do
+ URL=$(get_youtube 1 "$URL_PLAYLIST")
+ if [[ "$URL" != " Return" ]]; then
68
+ shift; open_video $URL
69
+ fi
70
+ done
71
fi
72
done
73
elif [[ $TYPE_MEDIA_SEARCH_SELECTED != "Return" ]]; then
0 commit comments