This commit is contained in:
j 2023-10-31 11:18:28 +01:00
parent 05905ea2b5
commit dcd2030799

View file

@ -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