mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
A possible fix for "mpv timed out, restarting"
https://forums.ankiweb.net/t/anki-wont-open-mpv-timed-out/7579/6
This commit is contained in:
parent
2265bfe71d
commit
fae816e68e
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ class MPV(MPVBase):
|
|||
|
||||
# XXX We manually have to check for the existence of the property name.
|
||||
# Apparently observe_property does not check it :-(
|
||||
proplist = self.command("get_property", "property-list")
|
||||
proplist = self.command("get_property", "property-list", timeout=5)
|
||||
if name not in proplist:
|
||||
raise MPVError(f"no such property {name!r}")
|
||||
|
||||
|
|
Loading…
Reference in a new issue