projects
/
ffpreview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0e4750
)
* Tell mpv to ignore ordered-chapters as thumbnails don't account for them either
author
Volodymyr Poltavets
<Volodymyr.Poltavets@feig.de>
Mon, 3 May 2021 15:45:25 +0000
(17:45 +0200)
committer
Volodymyr 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
patch
|
blob
|
history
diff --git
a/ffpreview.py
b/ffpreview.py
index 64bc68f0763473f34bc0cd00f582e242926d6553..cf8b0cf2aaad71295073297c47e7ac4922cfd0d8 100755
(executable)
--- a/
ffpreview.py
+++ b/
ffpreview.py
@@
-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: