diff --git a/player/player.py b/player/player.py index 21003a9..be06cf7 100755 --- a/player/player.py +++ b/player/player.py @@ -49,8 +49,8 @@ class Sync(Thread): ) self.mpv.observe_property('time-pos', self.time_pos_cb) self.mpv.fullscreen = kwargs.get('fullscreen', False) - self.mpv.loop = 'inf' - self.mpv.loop_file = 'no' + self.mpv.loop_file = False + self.mpv.loop_playlist = True self.mpv.register_key_binding('q', self.q_binding) self.playlist = kwargs['playlist'] self.playlist_mtime = os.stat(self.playlist).st_mtime