Ask user to exit after finishin watchin one anime

This commit is contained in:
CronyAkatsuki 2021-07-13 16:41:15 +02:00
parent 2c688028ce
commit 882f9abbcd

8
adl.py
View File

@ -318,16 +318,19 @@ while True:
if action == "n" or action == "N" or action == "": if action == "n" or action == "N" or action == "":
next_episode(title, episode) next_episode(title, episode)
wanna_update_title_after_watch(title, episode, score) wanna_update_title_after_watch(title, episode, score)
exit_ask()
break break
# watch all left episodes # watch all left episodes
elif action == "l" or action == "L": elif action == "l" or action == "L":
all_from_last(title, episode) all_from_last(title, episode)
wanna_update_title_after_watch(title, episode, score) wanna_update_title_after_watch(title, episode, score)
exit_ask()
break break
# watch every episode available # watch every episode available
elif action == "a" or action == "A": elif action == "a" or action == "A":
all_episodes(title) all_episodes(title)
wanna_update_title_after_watch(title, episode, score) wanna_update_title_after_watch(title, episode, score)
exit_ask()
break break
# custom range of episodes # custom range of episodes
elif action == "i" or action == "I": elif action == "i" or action == "I":
@ -336,6 +339,7 @@ while True:
continue continue
else: else:
wanna_update_title_after_watch(title, episode, score) wanna_update_title_after_watch(title, episode, score)
exit_ask()
break break
# something? # something?
elif action == "1" or action == "2" or action == "3" or action == "4" or action == "5" or action == "6" or action == "7" or action == "8" or action == "9": elif action == "1" or action == "2" or action == "3" or action == "4" or action == "5" or action == "6" or action == "7" or action == "8" or action == "9":
@ -344,6 +348,7 @@ while True:
continue continue
else: else:
wanna_update_title_after_watch(title, episode, score) wanna_update_title_after_watch(title, episode, score)
exit_ask()
break break
# rewatch current episode # rewatch current episode
elif action == "r" or action == "R": elif action == "r" or action == "R":
@ -352,6 +357,7 @@ while True:
continue continue
else: else:
wanna_update_title_after_watch(title, episode, score) wanna_update_title_after_watch(title, episode, score)
exit_ask()
break break
# watch custom episode # watch custom episode
elif action == "c" or action == "C": elif action == "c" or action == "C":
@ -360,10 +366,12 @@ while True:
continue continue
else: else:
wanna_update_title_after_watch(title, episode, score) wanna_update_title_after_watch(title, episode, score)
exit_ask()
break break
# update anime meta # update anime meta
elif action == "u" or action == "U": elif action == "u" or action == "U":
update_question(title, episode, score) update_question(title, episode, score)
exit_ask()
break break
# skip the anime # skip the anime
elif action == "s" or action == "S": elif action == "s" or action == "S":