Bugzilla – Bug 9236
Directories with names containing cyrillic chars disappear from MusicFolder
Last modified: 2009-07-31 10:27:52 UTC
Pretty much self descriptive. Names of such directories/files are shown as a bunch of spaces on both SB3 display and web gui when one tries to reach the file via MusicFolder. I've noticed it only recently, but chances are that all 7.3 builds are affected. I can bisect per request.
Are you using local storage? What locale (OS vs. reported in SC)?
Here we go: ==== xxx@yyyy:~$ locale LANG=ru_RU.KOI8-R LC_CTYPE="ru_RU.KOI8-R" LC_NUMERIC="ru_RU.KOI8-R" LC_TIME="ru_RU.KOI8-R" LC_COLLATE="ru_RU.KOI8-R" LC_MONETARY="ru_RU.KOI8-R" LC_MESSAGES=C LC_PAPER="ru_RU.KOI8-R" LC_NAME="ru_RU.KOI8-R" LC_ADDRESS="ru_RU.KOI8-R" LC_TELEPHONE="ru_RU.KOI8-R" LC_MEASUREMENT="ru_RU.KOI8-R" LC_IDENTIFICATION="ru_RU.KOI8-R" LC_ALL= ==== SqueezeCenter Version: 7.3 - 22783 @ Wed Aug 20 03:07:14 PDT 2008 - Debian - EN - utf8 Server IP address: 192.168.2.2 Perl Version: 5.10.0 i486-linux-gnu-thread-multi MySQL Version: 5.0.51a-12 Platform Architecture: i686-linux ==== Note: when browsing Artists or Albums everything works just fine.
what would SC's configuration look like if you removed the --charset parameter from SC's service configuration? (Must be somewhere in /etc/*/squeezecenter*)
With commented out 'CHARSET=utf8' in /etc/init.d/squeezecenter I'm getting SqueezeCenter Version: 7.3 - 22857 @ Sat Aug 23 03:07:35 PDT 2008 - Debian - EN - koi8-r and it fixes the 'MusicFolder' view for me.
P.S. There were no need to rescan, just to restart squeezecenter
Thanks for the feedback. The question that comes to my mind is whether it would still work _after_ a rescan? We've had similar reports recently, with the --charset parameter breaking scanning in many installations, when we though it would fix most of those issues...
Confirmed: full rescan without forced utf8 charset works just fine here.
P.S. I know what is missing. I had to add # locale settings if [ -r /etc/default/locale ]; then . /etc/default/locale export LANG fi to the end of /etc/default/squeezecenter (long time ago) so correct locale is set for SC upon OS bootup. Your fix solved the issue for most of the people since 99% of them are using UTF8 locale.
Thanks for the feedback! Closing this bug as it's a configuration issue. Might be related/dupe of bug 9126.
Michael, You might still want to change /etc scripts you are including into Debian package so locale is being set correctly for the rest of the people.
Nick - we do. We're currently watching the balance, whether there are more issues caused by this change than it fixes. Thus your feedback is important to us. Thanks!
Reduce number of active targets for SC