Hello,
I was trying to get some help in Linux section with no luck.
I have my media library on a Windows share. I mount that share as a folder on Ubuntu 10.10 where I have SS running. After I set that folder as music folder location and perform a scan, some of the songs are not added to DB. Those songs have international (Russian) characters in their file names and tags, and sub-folders where they are saved. Another copy of SS that runs on Win XP and has the same share mapped as a drive finds those songs, so the problem is not with tagging or file names.
After further investigation I noticed that SS on Ubuntu displays those files by replacing international characters with their codes, thus severely extending the full file path/name.
This fact gave me an idea that files are not indexed because path is too deep. I shared a subfolder on my music library to make path shorter and set it as a music folder location in SS. SS indexed all the songs successfully.
Here comes the question:
What can I do to keep existing folder layout of my music library and avoid running into path length limitations? Or how to make Ubuntu not to replace international characters with their codes?
Nautilus in Ubuntu shows filenames properly. SS version 7.5.3
Results 1 to 5 of 5
-
2011-01-27, 15:58 #1Junior Member
- Join Date
- Jan 2011
- Posts
- 4
Long folder/file names because of international characters
-
2011-01-27, 18:39 #2
How does the file names look via the terminal in ubuntu .
Nautilus ca be to smart sometimes.
What is the locale or language of the windows machine that hosts the files.
What is the local of ubuntu machine. (just type locale in a termoinal window and hit enter)
When mounting the share via fstab what have set these parameters to
iocharset and codepage
Example:
iocharset=utf8,codepage=unicode
I don't know all iocharset options but there is a bunch off them.--------------------------------------------------------------------
Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
Bedroom/Office: Boom
Kitchen: Touch + powered Fostex PM0.4
Misc use: Radio (with battery)
iPad1 with iPengHD & SqueezePad
(in storage SB3, reciever ,controller )
server HP proliant micro server N36L with ClearOS Linux
http://people.xiph.org/~xiphmont/demo/neil-young.html
-
2011-01-28, 04:01 #3Junior Member
- Join Date
- Jan 2011
- Posts
- 4
Folder and file names in terminal look just fine.
Linux locale is en_US.utf8. fstab mounts Windows share with iocharset=utf8 option; there is no codepade option specified.
Windows box that hosts the share is set to "English (United States)".
The scanner.log file, however, lists the files as this:
[11-01-27 17:41:48.5064] Slim::Utils::Scanner::scanDirectory (333) Scanning: /m/NATIVE/ROCK/Т/*о вс/09 - Т - *о все - *о все (Bonus Track).mp3
Thanks,
Greg
-
2011-01-28, 04:09 #4Junior Member
- Join Date
- Jan 2011
- Posts
- 4
A /var/lib/squeezeboxserver/prefs/tracks_persistent.json file, on the other hand, lists file names as this:
file:///m/NATIVE/ROCK/%D0%94%D0%94%D0%A2/%D0%9F%D1%80%D0%B5%D0%BA%D1%80%D0%B0%D1%81%D0%BD%D 0%B0%D1%8F%20%D0%BB%D1%8E%D0%B1%D0%BE%D0%B2%D1%8C/01%20-%20%D0%94%D0%94%D0%A2%20-%20%D0%9F%D1%80%D0%B5%D0%BA%D1%80%D0%B0%D1%81%D0%B D%D0%B0%D1%8F%20%D0%BB%D1%8E%D0%B1%D0%BE%D0%B2%D1% 8C%20-%20%D0%9F%D1%80%D0%B5%D0%BA%D1%80%D0%B0%D1%81%D0%B D%D0%B0%D1%8F%20%D0%BB%D1%8E%D0%B1%D0%BE%D0%B2%D1% 8C.mp3
-
2011-01-28, 04:29 #5Senior Member
- Join Date
- Sep 2006
- Location
- Zurich, Switzerland
- Posts
- 794
I think that there is a good chance of that setup not working with 7.5. It would be very interesting to hear if it works with 7.6

Reply With Quote

