subsonic - cyrillic characters in filenames

Status
Not open for further replies.
Joined
Sep 25, 2016
Messages
3
Hi All!
Tried to search for solution, but nothing found did work for me.
Having subsonic 6.0_1 plugin in FreeNAS 9.10.1. Having many folders/files in Russian (with cyrillic symbols). I can play them fine in WEB UI and Android client. But the names are displayed in fuzzy characters (like Джеки Чан ).
I've switched the UI to Russian language, restarted and reste the folders several times, but to no result. Is it possible to achieve the names to be displayed using the correct encoding?
Thanks!
Mark.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I made a change that might screwed up UTF-8 characters. can you send me one of the files you are having issues with?

If you are ok with reconfiguring subsonic you can do this.
* stop subsonic
* edit /usr/local/etc/rc.d/subsonic and change UTF-8 to en_US.UTF-8
* rm -r /var/db/subsonic
* start subsonic
 
Last edited:
Joined
Sep 25, 2016
Messages
3
I made a change that might screwed up UTF-8 characters. can you send me one of the files you are having issues with?

If you are ok with reconfiguring subsonic you can do this.
* stop subsonic
* edit /usr/local/etc/rc.d/subsonic and change UTF-8 to UTF-8.en_US
* rm -r /var/db/subsonic
* start subsonic

Hi Joshua!
Thank you for the prompt reply!
Unfortunately it didn't help. Now that part of the file looks like:
subsonic_prestart() {
export LC_CTYPE="UTF-8.en_US"
and it had one effect - no cyrillic-character folders were pulled in during the scan at all. I've also tried UTF-8.ru_RU, KOI8-R and KOI8-R.ru_RU variants, but each will not scan russian folders.
Any ideas?
Thanks.
Mark.
 
Joined
Sep 25, 2016
Messages
3
Hi Joshua!
Thank you for the prompt reply!
Unfortunately it didn't help. Now that part of the file looks like:
subsonic_prestart() {
export LC_CTYPE="UTF-8.en_US"
and it had one effect - no cyrillic-character folders were pulled in during the scan at all. I've also tried UTF-8.ru_RU, KOI8-R and KOI8-R.ru_RU variants, but each will not scan russian folders.
Any ideas?
Thanks.
Mark.
Hi Joshua!
It works now! I've combined your advice with your older post, now the file looks like that:
subsonic_prestart() {
export LC_CTYPE="UTF-8.en_US"
export LC_ALL="en_US.UTF-8"
export LANG="en_US.UTF-8"
Now it pulls in all the folders and shows the correct character set.
Thank you!
Mark.
 
Status
Not open for further replies.
Top