fixing issue with 100-199 episode anime not waiting

master
nate-moo 2021-02-08 17:06:37 -05:00 committed by GitHub
parent 5b5e0c1e7e
commit c8390161ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ def play_episode(episode, *, player, title, episodes="0:0"):
elif player == "android":
p = subprocess.Popen(['am', 'start', '-a', 'android.intent.action.VIEW', '-t', 'video/*', '-d', f'{episode.source().stream_url}'])
if episodes == None or ':' in episodes:
if "0:1" not in episodes:
if episodes != "0:1":
input("Press enter to continue\n")
else:
p = subprocess.Popen([player, episode.source().stream_url])