diff --git a/player/player.py b/player/player.py index de97dd3..a934e81 100755 --- a/player/player.py +++ b/player/player.py @@ -234,7 +234,10 @@ def main(): player = Sync(mode=args.mode, playlist=args.playlist, fullscreen=not args.window) while player.active: - player.mpv.wait_for_playback() + try: + player.mpv.wait_for_playback() + except: + break player.stop()