fix loop
This commit is contained in:
parent
05905ea2b5
commit
dcd2030799
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@ class Sync(Thread):
|
||||||
)
|
)
|
||||||
self.mpv.observe_property('time-pos', self.time_pos_cb)
|
self.mpv.observe_property('time-pos', self.time_pos_cb)
|
||||||
self.mpv.fullscreen = kwargs.get('fullscreen', False)
|
self.mpv.fullscreen = kwargs.get('fullscreen', False)
|
||||||
self.mpv.loop = 'inf'
|
self.mpv.loop_file = False
|
||||||
self.mpv.loop_file = 'no'
|
self.mpv.loop_playlist = True
|
||||||
self.mpv.register_key_binding('q', self.q_binding)
|
self.mpv.register_key_binding('q', self.q_binding)
|
||||||
self.playlist = kwargs['playlist']
|
self.playlist = kwargs['playlist']
|
||||||
self.playlist_mtime = os.stat(self.playlist).st_mtime
|
self.playlist_mtime = os.stat(self.playlist).st_mtime
|
||||||
|
|
Loading…
Reference in a new issue