Bug#928095: gerbera: Default config.xml uses mime-type x-flac not flac and so does not process flac correctly.

Jacob Head debian.bugs at jacob-head.com
Sat Apr 27 22:37:16 BST 2019

Package: gerbera
Version: 1.1.0+dfsg-3+b1
Severity: normal

Dear Maintainer,

On a fresh installation of gerbera, using the web interface to add my
~/home/user/music directory to the database, I noticed that only mp3 files were
being properly cataloged. All of the flac files were being placed under

It seems that the reason for this is that line 113 of the default
/etc/gerbera/config.xml reads:

<treat mimetype="audio/x-flac" as="flac" />

whilst Debian treats a flac as audio/flac.

Changing this line to:

<treat mimetype="audio/flac" as="flac" />

and rebuilding the database results in the correct extraction of the relevant

There is some upstream discussion of this here:


but it does not look like the fix has worked its way down.

I hope it will be quite quick to correct!



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gerbera depends on:
ii  adduser                  3.118
ii  libavformat58            7:4.1.1-1
ii  libavutil56              7:4.1.1-1
ii  libc6                    2.28-8
ii  libcurl3-gnutls          7.64.0-2
ii  libduktape203            2.3.0-1
ii  libexif12                0.6.21-5.1
ii  libexiv2-14              0.25-4
ii  libexpat1                2.2.6-1
ii  libffmpegthumbnailer4v5  2.1.1-0.2+b1
ii  libgcc1                  1:8.3.0-6
ii  libixml10                1:1.8.4-2
ii  libjs-bootstrap          3.4.1+dfsg-1
ii  libjs-jquery             3.3.1~dfsg-3
ii  libjs-jquery-cookie      12-1.1
ii  libjs-jquery-ui          1.12.1+dfsg-5
ii  libjs-prototype          1.7.1-3
ii  libmagic1                1:5.35-4
ii  libmariadb3              1:10.3.14-1
ii  libsqlite3-0             3.27.2-2
ii  libstdc++6               8.3.0-6
ii  libtag1v5                1.11.1+dfsg.1-0.3
ii  libupnp13                1:1.8.4-2
ii  libuuid1                 2.33.1-0.1
ii  lsb-base                 10.2019031300
ii  zlib1g                   1:1.2.11.dfsg-1

gerbera recommends no packages.

Versions of packages gerbera suggests:
ii  chromium [www-browser]      73.0.3683.75-1
ii  firefox-esr [www-browser]   60.6.1esr-1
ii  lynx [www-browser]          2.8.9rel.1-3
ii  opera-stable [www-browser]  60.0.3255.59

-- Configuration Files:
/etc/gerbera/config.xml changed [not included]

-- no debconf information

More information about the pkg-multimedia-maintainers mailing list