From 5804f84f8327884efdb68f519d778d982a5932ed Mon Sep 17 00:00:00 2001 From: Kyle Yasuda <33813108+ksyasuda@users.noreply.github.com> Date: Thu, 6 Oct 2022 20:41:15 -0700 Subject: [PATCH] fix streaming menu (#19) --- ani-cli | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ani-cli b/ani-cli index fceb496..bedf408 100755 --- a/ani-cli +++ b/ani-cli @@ -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 }