Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Anki uses mpv to play media, which requires the lua interpreter. Without this, anki displays this error in the console and falls back to mplayer: mpv: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: Permission denied Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/aqt/sound.py", line 854, in setup_audio mpvManager = MpvManager(base_folder, media_folder) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/aqt/sound.py", line 408, in __init__ super().__init__(window_id=None, debug=False) File "/usr/lib/python3.12/site-packages/aqt/mpv.py", line 442, in __init__ super().__init__(*args, **kwargs) File "/usr/lib/python3.12/site-packages/aqt/mpv.py", line 104, in __init__ self._start_socket() File "/usr/lib/python3.12/site-packages/aqt/mpv.py", line 194, in _start_socket raise MPVProcessError("unable to start process") aqt.mpv.MPVProcessError: unable to start process mpv too old or failed to open, reverting to mplayer
- Loading branch information