fix: mpv in verify_sync

This commit is contained in:
Honney OC committed 2026-09-14 00:23:56 +00:00
1 parent 51ce536f18
commit 4a5e05cfa2
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ sync:
@if [ -x $(PY) ]; then PYTHONPATH=. $(PY) apply_sync.py --config $(CONFIG) --lag $(LAG); else PYTHONPATH=. python3 apply_sync.py --config $(CONFIG) --lag $(LAG); fi @if [ -x $(PY) ]; then PYTHONPATH=. $(PY) apply_sync.py --config $(CONFIG) --lag $(LAG); else PYTHONPATH=. python3 apply_sync.py --config $(CONFIG) --lag $(LAG); fi
verify: verify:
@if [ -x $(PY) ]; then LC_NUMERIC=C PYTHONPATH=. QT_STYLE_OVERRIDE=Fusion $(PY) verify_sync.py --config $(CONFIG) --lag $(LAG); else LC_NUMERIC=C PYTHONPATH=. QT_STYLE_OVERRIDE=Fusion python3 verify_sync.py --config $(CONFIG) --lag $(LAG); fi @if [ -x $(PY) ]; then LC_NUMERIC=C PYTHONPATH=. QT_QPA_PLATFORM=xcb QT_STYLE_OVERRIDE=Fusion $(PY) verify_sync.py --config $(CONFIG) --lag $(LAG) --mode short; else LC_NUMERIC=C PYTHONPATH=. QT_QPA_PLATFORM=xcb QT_STYLE_OVERRIDE=Fusion python3 verify_sync.py --config $(CONFIG) --lag $(LAG) --mode short; fi
ast: ast:
@AUDIO_A=$$(python3 -c "import tomllib; c=tomllib.load(open('config.toml','rb')); print(c['extract'].get('file_a',''))" 2>/dev/null); \ @AUDIO_A=$$(python3 -c "import tomllib; c=tomllib.load(open('config.toml','rb')); print(c['extract'].get('file_a',''))" 2>/dev/null); \
-1
View File
@@ -349,7 +349,6 @@ class VerifyWindow(QtWidgets.QMainWindow):
"""Set up mpv player embedded in the video container widget.""" """Set up mpv player embedded in the video container widget."""
self.mpv_player = mpv.MPV( self.mpv_player = mpv.MPV(
wid=str(int(self.video_container.winId())), wid=str(int(self.video_container.winId())),
vo="x11",
input_default_bindings=False, input_default_bindings=False,
input_vo_keyboard=False, input_vo_keyboard=False,
cursor_autohide=False, cursor_autohide=False,