Mpd has wrong filesystem charset coding default

Bug #138665 reported by Almer S. Tigelaar
4
Affects Status Importance Assigned to Milestone
mpd (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I was puzzled when several mp3 files that I have did not play on my system. Clicking them caused either
no response or caused an other song to start (when playlist shuffling was enabled).

I eventually found out that this was due to the use of special characters in the filenames of some of my
music files, such as ö and é, etc... These are stored in UTF-8 on the (ubuntu default) ext3 filesystem.
Setting the filesystem_charset in /etc/mpd.conf to "UTF-8" (and re-creating the mpd database afterwards)
solved the problem for me.

The reason I am reporting this problem is that I do not understand why the default filesystem encoding
in mpd.conf is set to "ISO-8859-1" on ubuntu, while the most common filesystem used when installing
ubuntu: ext3 (and possibly other filesystems too) encode their filenames in UTF-8 ....

I suggest that the ubuntu mpd package sets filesystem_charset to "UTF-8" by default _OR_ the installation
script can detect the filesystem coding of the root (/) filesystem. Although I have no idea how this could be
realized other than by expanding the entries in /etc/fstab (i.e. expanding 'defaults' to iocharset='utf-8' or
somesuch).

Revision history for this message
Almer S. Tigelaar (almer) wrote :

For completeness the version numbers:

Using: Ubuntu 7.04 (Feisty Fawn)
Mpd: 0.12.2

Ubuntu Package Information:
=================
Package: mpd
Priority: optional
Section: universe/sound
Installed-Size: 432
Maintainer: Ubuntu MOTU Developers <email address hidden>
Original-Maintainer: Decklin Foster <email address hidden>
Architecture: amd64
Version: 0.12.2-2ubuntu2

Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

Hi Almer,

Thanks for your bug report. I am closing this bug as it has been fixed in our development release gutsy gibbon. If you want this to be fixed in feisty, please follow the procedure described on https://wiki.ubuntu.com/StableReleaseUpdates. Feel free to ask help on IRC or by mail. Personnally, I am not sure it worth an stable release update as it's only a configuration file setting.

Changed in mpd:
importance: Undecided → Medium
status: New → Fix Released
Revision history for this message
Almer S. Tigelaar (almer) wrote :

Hi Lionel,

Thanks for fixing this in Gutsy. I agree, this fix need not be 'backported' to Feisty, it is by no means critical, just annoying.
All the better that is has been fixed now in the next release :)

With kind regards,

Almer.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.