Created attachment 627944 [details] emerge --info app-misc/anki After that latest stable media-video/mpv update to version 0.32.0-r1, anki (version app-mics/anki-2.1.13-r1) fails to find mpv when trying to play audio from cards. If run from a console, it prints "mpv too old, reverting to mplayer", and when trying to effectively play audio from a card, the attached pop-up window appears. While the problem did arise after a mpv update, it's unlikely to be the culprit, since mpv itself works fine. It seems that anki itself has problems detecting the version, incorrectly labelling it as "too old" when it's not.
Created attachment 627946 [details] Pop-up window showing error.
Created attachment 627948 [details] Add emerge --info media-video/mpv for completeness
NOTE: This is resolved upstream in 2.1.20 https://github.com/ankitects/anki/commit/ccd715013609133c55e83924734efa78abc03326 https://anki.tenderapp.com/discussions/ankidesktop/38186-mpvprocesserror-unable-to-start-process
(In reply to cburroughs from comment #3) > NOTE: This is resolved upstream in 2.1.20 > > https://github.com/ankitects/anki/commit/ > ccd715013609133c55e83924734efa78abc03326 > > https://anki.tenderapp.com/discussions/ankidesktop/38186-mpvprocesserror- > unable-to-start-process Then this means that this bug is effectively a duplicate of https://bugs.gentoo.org/700010 Please bump to a more recent version.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbf4348280a355c7def871019405fc563730ed7c commit bbf4348280a355c7def871019405fc563730ed7c Author: Chris Burroughs <chris.burroughs@gmail.com> AuthorDate: 2019-11-08 02:37:38 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-06-12 06:59:45 +0000 app-misc/anki: bump to 2.1.15 and modernize ebuild - claiming maintainer timeout to update version and fix bugs, --juippis * Bump to EAPI 7 * Enable python 3.{7,8} support * Fix missing test dependencies * Add missing jsonschema dependency * Backport argument fix to allow mpv versions > 0.31 to be used by anki * Correct and expand LICENSE * Resolve NonexistentDeps DEPEND warning (leftover from PyQtWebEngine split, but no version of PyQt5 with a webengine use flag is still in the tree.) * Use default pkg_setup from eclass and rely on default value for S variable * Clarify optional runtime dependencies needed (mpv OR mplayer) * Move optional runtime dependencies to optfeature * Adjust SRC_URL after upstream re-arranging NOTE: The upstream LICENSE includes "Qt's bundled translations: LGPL3", but since we are building from source that is not directly included. More recent upstream versions have clarified this in the LICENSE file. Bug: https://bugs.gentoo.org/625894 Bug: https://bugs.gentoo.org/645314 Bug: https://bugs.gentoo.org/651472 Bug: https://bugs.gentoo.org/688798 Closes: https://bugs.gentoo.org/700010 Closes: https://bugs.gentoo.org/715624 Bug: https://bugs.gentoo.org/722502 Bug: https://bugs.gentoo.org/724482 Bug: https://bugs.gentoo.org/724990 Closes: https://bugs.gentoo.org/726522 Signed-off-by: Chris Burroughs <chris.burroughs@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16054 Signed-off-by: Joonas Niilola <juippis@gentoo.org> app-misc/anki/Manifest | 1 + app-misc/anki/anki-2.1.15.ebuild | 93 ++++++++++++++++++++++++++ app-misc/anki/files/anki-2.1.15-mpv-args.patch | 26 +++++++ 3 files changed, 120 insertions(+)