mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
allow input.conf in Anki data folder
https://anki.tenderapp.com/discussions/beta-testing/1964-anki-2128-alpha#comment_48382756
This commit is contained in:
parent
4033f6d37e
commit
5f2987d0f8
1 changed files with 1 additions and 2 deletions
|
@ -331,8 +331,7 @@ class MpvManager(MPV, SoundOrVideoPlayer):
|
|||
mpvPath, self.popenEnv = _packagedCmd(["mpv"])
|
||||
self.executable = mpvPath[0]
|
||||
self._on_done: Optional[OnDoneCallback] = None
|
||||
conf_path = os.path.join(base_path, "mpv.conf")
|
||||
self.default_argv += ["--no-config", "--include=" + conf_path]
|
||||
self.default_argv += ["--config-dir=" + base_path]
|
||||
super().__init__(window_id=None, debug=False)
|
||||
|
||||
def play(self, tag: AVTag, on_done: OnDoneCallback) -> None:
|
||||
|
|
Loading…
Reference in a new issue