Subsonic doesn't show folders with foreign characters

Need help? Post your questions here.

Moderator: moderators

Subsonic doesn't show folders with foreign characters

Postby karvanapa » Sun Jun 20, 2010 8:42 pm

Subsonic doesn't show folders with foreign characters. Song names are with characters like ä,ö and å are shown correctly.

I've installed Subsonic on Ubuntu with following information:
4.0.1 (build 1524)
jetty-6.1.x, java 1.6.0_0, Linux (48.0 MB / 56.1 MB)

I've found threads with similar problems but none of them seem to help. I think that the folder names in my music folder are not in UTF-8 because I've moved files and folders from my Windows machine using samba.

When I updated from 3.9 to 4.0 Subsonic indexed all folders, but after I restarted my Ubuntu machine this problem appeared again. Nothing seems to help...
karvanapa
 
Posts: 13
Joined: Sun Jun 20, 2010 8:24 pm

Postby karvanapa » Mon Jun 21, 2010 7:33 pm

I noticed now that some of the files with foreign characters are shown correctly, but in some of them the characters are shown as � mark and subsonic wont play them.

I've tried to reinstalling subsonic and java-packages but no help. Doesn't anyone have any ideas?
karvanapa
 
Posts: 13
Joined: Sun Jun 20, 2010 8:24 pm

Postby ccandreva » Tue Jun 22, 2010 12:45 am

Make sure the LANG environment variable is set. With the standard Fedora packages it wasn't, and I had to add these lines to /etc/sysconfig/subsonic

Code: Select all
LANG=en_US.UTF-8
LC_COLLATE=C
User avatar
ccandreva
 
Posts: 104
Joined: Fri May 28, 2010 8:22 pm

Postby karvanapa » Tue Jun 22, 2010 4:23 pm

It works now! I noticed that after restaring Subsonic folders started to work. I didn't notice it before because I didn't rebuild the index.

I tried putting these lines:
LANG=en_US.UTF-8
LC_COLLATE=C

into /etc/init.d/subsonic and /etc/default/subsonic but it didn't help.

Then I tried the same with:
export LC_CTYPE
LC_CTYPE=en_US.UTF-8

Everything started to work after I put these lines into /etc/default/subsonic.

Thank you for pointing me into to the right direction ccandreva!
karvanapa
 
Posts: 13
Joined: Sun Jun 20, 2010 8:24 pm

Postby frason » Mon Jul 05, 2010 7:33 am

karvanapa wrote:It works now! I noticed that after restaring Subsonic folders started to work. I didn't notice it before because I didn't rebuild the index.

I tried putting these lines:
LANG=en_US.UTF-8
LC_COLLATE=C

into /etc/init.d/subsonic and /etc/default/subsonic but it didn't help.

Then I tried the same with:
export LC_CTYPE
LC_CTYPE=en_US.UTF-8

Everything started to work after I put these lines into /etc/default/subsonic.

Thank you for pointing me into to the right direction ccandreva!


Thanks, I added the lines you wrote to /etc/init.d/subsonic
Now it works fine. :)
frason
 
Posts: 16
Joined: Mon Jul 05, 2010 7:24 am

Postby krizze » Mon Jul 12, 2010 11:19 am

Thanks a bunch, stupid me started renaming files and stuff, now I don't have to anymore ;)
krizze
 
Posts: 9
Joined: Tue Oct 06, 2009 12:22 pm
Location: Oslo, Norway

Postby jbaile38 » Wed Jul 21, 2010 10:47 am

Anyone know how you would you go about doing this with the standalone version running on linux?
jbaile38
 
Posts: 2
Joined: Sun Jul 18, 2010 8:21 pm

Postby dimaj » Wed Jul 21, 2010 4:28 pm

I'm curious too...
Do we have to modify the .sh script?
Paid Subsonic Customer

http://blog.dimaj.net
dimaj
 
Posts: 6
Joined: Tue Jul 20, 2010 10:08 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 35 guests