* Tell mpv to ignore ordered-chapters as thumbnails don't account for them either
authorVolodymyr Poltavets <Volodymyr.Poltavets@feig.de>
Mon, 3 May 2021 15:45:25 +0000 (17:45 +0200)
committerVolodymyr Poltavets <Volodymyr.Poltavets@feig.de>
Mon, 3 May 2021 15:45:25 +0000 (17:45 +0200)
Fixes off-by-ordered-chapters-duration while seeking to time code

ffpreview.py

index 64bc68f0763473f34bc0cd00f582e242926d6553..cf8b0cf2aaad71295073297c47e7ac4922cfd0d8 100755 (executable)
@@ -401,7 +401,7 @@ def s2hms(ts):
     return res
 
 def click_thumb(event):
-    cmd = 'mpv --start=' + event.widget.cget('text') + ' --pause "' + cfg.vid + '"'
+    cmd = 'mpv --no-ordered-chapters --start=' + event.widget.cget('text') + ' --pause "' + cfg.vid + '"'
     Popen('exec ' + cmd, shell=True)
 
 try: