#1101150 amarok requires mariadb-server for embedded database to work

Package:
amarok
Source:
amarok
Description:
easy to use media player based on the KDE Platform
Submitter:
Iván Sánchez Ortega
Date:
2025-03-23 23:15:02 UTC
Severity:
normal
#1101150#5
Date:
2025-03-23 23:05:06 UTC
From:
To:
I recently uninstalled the `mariadb-server` package in my debian system. After
doing that, Amarok was unable to access the mysql-embedded database containing
the music collection.

Also, running `amarok --debug` on a terminal displays the following error
(which is also displayed in a graphical error dialog):

[ERROR__] [MySqlStorage] "MySQLe something failed! on library initialization
failed, return code 1"

(Re)installing the `mariadb-server` package makes this error go away, and the
embedded music collection database works as expected.

This error is debian-specific. An Amarok developer tested it on another distro
and could not reproduce, see https://bugs.kde.org/show_bug.cgi?id=501747 .

As a quick&dirty fix, I suggest adding `mariadb-server` as a "recommended"
dependency of the Amarok package.