stop on error

This commit is contained in:
j 2023-11-15 11:01:51 +01:00
parent 2d8dfa2ec5
commit c8cb320d4d

View file

@ -234,7 +234,10 @@ def main():
player = Sync(mode=args.mode, playlist=args.playlist, fullscreen=not args.window)
while player.active:
try:
player.mpv.wait_for_playback()
except:
break
player.stop()