Download Function and Asian / Unicode Characters in Filename

Need help? Post your questions here.

Moderator: moderators

Download Function and Asian / Unicode Characters in Filename

Postby pxeclipse » Wed Dec 10, 2008 7:21 pm

Anyone have this problem? I can download english songs from my subsonic web interface and it will pop up the correct information, but if I try to do that with asian (chinese, japanese) named mp3's, it will come out with something like:

Do you want to save this file?
Name: CADQQZ5Z.
Type: Unknown File Type

I think the system has a problem with unicode / asian characters in the filename... any fix for this?

Thanks..
pxeclipse
 
Posts: 6
Joined: Wed Dec 10, 2008 7:15 pm

Postby pxeclipse » Fri Dec 19, 2008 5:37 pm

Also noticed.. ratings for albums with unicode characters don't show up in the main screen either.

Example:

If i put stars on an english only album, it will immediately show up in the highest rated section, but if I do this this an album that has chinese, it won't show up. Same thing with newest.. well most of them don't show.
pxeclipse
 
Posts: 6
Joined: Wed Dec 10, 2008 7:15 pm

Postby pxeclipse » Wed Apr 01, 2009 4:36 am

Hi..

Reporting updates. (I refer to the Unicode characters as asian characters but i assume it might have issues with other non asian characters that aren't in english as well?)

After 3.6, music with asian characters now download as "01 -- - ---", with dashes instead of the actual characters. (which is a little better than before, where it was just a bunch of random characters.)

When trying to download an entire album with asian characters in it, the zip is empty. I think probably because it can't handle those character types. Windows has the same problem, only newer versions of winrar can zip up asian characters, but the native windows zip compressor can't. So, it takes a while to download an album, and once you do and you look in the zip its empty.

Playlists with music that have asian characters don't work. It will say that it saved, but when you try to load it you end up with an empty playlist.

On the welcome screen, no asian albums are really listed. Newest, frequently played, etc all don't show asian albums. Even if you mark them with stars they dont show up

I'm wondering if there is a way to fix these things? Drives me nuts. Excellent program though, thanks!.
pxeclipse
 
Posts: 6
Joined: Wed Dec 10, 2008 7:15 pm

Postby Supervisor » Sun Apr 12, 2009 10:27 pm

Hi!

I too have the same problem with Russian characters in the filename!
Music with russian characters download as "02 -"!

Sindre, please help!!!
Supervisor
 
Posts: 1
Joined: Sun Apr 12, 2009 10:12 pm

Postby U-Boat » Fri Apr 24, 2009 5:02 am

Dear all.
I'm Japanese user.

I got same problem too.

My system...

Server
CentOS3
Tomcat6
Jdk6update13
subsonic.war

Client
Windows2000/XP

Left menu and playlist's Japanese filenames are not decode correctly.

Each OS's are having default filename's encoding charctor code.

It's can get and set following code.

# get
java.lang.System.getProperty("file.encoding");

# set
java.lang.System.setProperty("file.encoding", encoding);

http://java.sun.com/j2se/1.4.2/docs/api ... ystem.html

Maybe following functions are effected by file.encoding property.

java.io.File.getName();
java.io.File.list();
java.io.File.listFiles();

etc.

Please join some codes for getting filenames part.
It's hopefully can overwrite the property by web.xml's setting.

Because Japanese are many system encoding.

Old Linux : EUC-JP
Old Windows : Shift-JIS
Latest Linux : UTF-8
Latest Windows : UTF-8

I'd like to save UTF-8 named files on EUC-JP Linux.

But EUC-JP Linux would return EUC-JP by GetProperty("file.encoding").
U-Boat
 
Posts: 4
Joined: Fri Apr 24, 2009 4:46 am

Postby U-Boat » Fri Apr 24, 2009 6:08 am

Hi all.

I found that songlist and playlist are mainly made by MP3's tag info of tilte normally.
But filename was used too when the tag's title propety was blank.

By MP3 Tag's spacification, it should be written in UTF-16, ( UTF-8 ) or Latain-1.

But many applications are accept another encoding.
Infact that there are many informal mp3's.

I suggest to add MP3 tags encoding settings each folder by folder.
U-Boat
 
Posts: 4
Joined: Fri Apr 24, 2009 4:46 am

Postby pxeclipse » Wed Jun 24, 2009 8:59 am

Hi. any word on this issue.. or an acknowledgement or something? Thanks.
pxeclipse
 
Posts: 6
Joined: Wed Dec 10, 2008 7:15 pm

Postby jasonchewy » Mon Jun 29, 2009 6:52 pm

Same problem.
Also that if the folder OR file contains any unicode character.
The playlist would just skip that file/folder.

This means a big chunk of my songs aren't playing through subsonic.

Please fix!!
jasonchewy
 
Posts: 3
Joined: Mon Jun 29, 2009 6:45 pm

Postby pxeclipse » Mon Jul 06, 2009 2:02 pm

Same problem.
Also that if the folder OR file contains any unicode character.
The playlist would just skip that file/folder.


Yeah.. that happens if it's a linux install. I tried the install on my QNAP NAS and i have that problem... unicode folder / files completely skipped and not appearing. Don't know how to fix that either.

Windows install it appears but a lot of other problems exist in a windows install too.
pxeclipse
 
Posts: 6
Joined: Wed Dec 10, 2008 7:15 pm

Postby jasonchewy » Mon Jul 06, 2009 2:13 pm

pxeclipse wrote:
Same problem.
Also that if the folder OR file contains any unicode character.
The playlist would just skip that file/folder.


Yeah.. that happens if it's a linux install. I tried the install on my QNAP NAS and i have that problem... unicode folder / files completely skipped and not appearing. Don't know how to fix that either.

Windows install it appears but a lot of other problems exist in a windows install too.


I'm on a windows install.
jasonchewy
 
Posts: 3
Joined: Mon Jun 29, 2009 6:45 pm

Postby twent4 » Tue Jul 07, 2009 1:20 am

Not going to add anything useful to this, but i just posted a question regarding foreign language support (Cyrillic/Russian, specifically... didn't realize this thread was so similar in nature, my apologies to Sindre). Subsonic seems to read it fine after you log into your desktop environment, but KDM/GDM and I'm guessing other managers don't seem to load the language support, you have to log in first.
I've been able to play and download Russian music from my server only if subsonic was started after i had logged in.
twent4
 
Posts: 17
Joined: Tue Jul 07, 2009 1:06 am

Postby DimaH » Tue Jul 07, 2009 9:37 am

I have the same problem!
My Cyrillic files and folders playing, all ok.
But when i download cyrillic album, name of zip file is 2005_-______.zip, when i download cyrillic mp3 file, name of mp3 file is 01_-______.mp3.
All cyrillic symbol renames symbol underscores (_)
Subsonic run on Windows 7, testing on Windows XP Professional.
DimaH
 
Posts: 14
Joined: Thu May 14, 2009 4:35 am

Postby guitargurus » Wed Jul 22, 2009 6:31 pm

Same problem here.... I've had to rename hundreds of files.
guitargurus
 
Posts: 32
Joined: Fri Apr 10, 2009 6:40 pm

Postby jasonchewy » Tue Aug 11, 2009 4:16 pm

Found a temporary solution, hopefully this will help a bit.

I looked at the Subsonic Help menu, and see the log there.
I find the problem occurs during transcoding of the mp3, and it can't read the unicode filename.
So I went to the settings and made a fresh player setting that don't do any transcoding, and no limit on the bitrate.
And there you go, the file I wasn't able to play a sec ago is now playing.

Of course it would still be good for some transcoding when I'm streaming music on the internet and not on my LAN.

Knowing this...hopefully the developers of Subsonic can do something about it.
jasonchewy
 
Posts: 3
Joined: Mon Jun 29, 2009 6:45 pm

Re:

Postby DimaH » Mon Nov 07, 2011 7:21 am

DimaH wrote:I have the same problem!
My Cyrillic files and folders playing, all ok.
But when i download cyrillic album, name of zip file is 2005_-______.zip, when i download cyrillic mp3 file, name of mp3 file is 01_-______.mp3.
All cyrillic symbol renames symbol underscores (_)
Subsonic run on Windows 7, testing on Windows XP Professional.

Subsonic version 4.5 and problem still remains.
DimaH
 
Posts: 14
Joined: Thu May 14, 2009 4:35 am

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 42 guests