mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-10-28 04:44:11 -07:00
fix streaming menu (#19)
This commit is contained in:
parent
fd954e7ede
commit
5804f84f83
8
ani-cli
8
ani-cli
@ -632,15 +632,17 @@ main() {
|
|||||||
|
|
||||||
for ep in $episodes; do
|
for ep in $episodes; do
|
||||||
open_episode "$selection_id" "$ep" "$download_dir"
|
open_episode "$selection_id" "$ep" "$download_dir"
|
||||||
wait
|
if ((!is_autoplay && is_select_episodes)); then
|
||||||
|
show_menu
|
||||||
|
else
|
||||||
|
wait
|
||||||
|
fi
|
||||||
((is_download)) && sleep 2
|
((is_download)) && sleep 2
|
||||||
done
|
done
|
||||||
|
|
||||||
if ((is_download)); then
|
if ((is_download)); then
|
||||||
notification "Finished downloading episodes: $episodes for $selection_id... exiting"
|
notification "Finished downloading episodes: $episodes for $selection_id... exiting"
|
||||||
exit 0
|
exit 0
|
||||||
elif ((!is_autoplay && is_select_episodes)); then
|
|
||||||
show_menu
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user