fix streaming menu (#19)

This commit is contained in:
Kyle Yasuda 2022-10-06 20:41:15 -07:00 committed by GitHub
parent fd954e7ede
commit 5804f84f83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -632,15 +632,17 @@ main() {
for ep in $episodes; do
open_episode "$selection_id" "$ep" "$download_dir"
wait
if ((!is_autoplay && is_select_episodes)); then
show_menu
else
wait
fi
((is_download)) && sleep 2
done
if ((is_download)); then
notification "Finished downloading episodes: $episodes for $selection_id... exiting"
exit 0
elif ((!is_autoplay && is_select_episodes)); then
show_menu
fi
}