Hi,
just discovered a strange behavior. Files with umlauts or other special characters in the file name fail to play on my MDs but are playing fine on the core (where they are stored).
Error in DEClog:
Quote
08 12/16/08 17:45:22.982 Received Message from 36 (.[36;1mXine Player / Wohnzimmer.[0m) to 33 (.[36;1mOnScreen Orbiter WZ / Wohnzimmer.[0m), type 1 id 809 Command:.[35;1mDisplay Alert.[0m, retry none, parameters: <0x7d079950>
08 12/16/08 17:45:22.982 Parameter 9(Text): File not found: /home/public/data/audio/Nils Landgren - Christmas With My Friends/10 - Nils Landgren - Gläns över sjö och strand.mp3 <0x7d079950>
08 12/16/08 17:45:22.982 Parameter 70(Tokens): xine_player_message <0x7d079950>
08 12/16/08 17:45:22.982 Parameter 182(Timeout): 10 <0x7d079950>
08 12/16/08 17:45:22.982 Parameter 251(Interruption): 0 <0x7d079950>
08 12/16/08 17:45:22.983 Received Message from 23 (.[36;1mXine Plug-in / Arbeitszimmer.[0m) to 36 (.[36;1mXine Player / Wohnzimmer.[0m), type 1 id 38 Command:.[35;1mStop Media.[0m, retry none, parameters: <0x5782e950>
08 12/16/08 17:45:22.983 Parameter 41(StreamID): 1001 <0x5782e950>
08 12/16/08 17:45:22.983 Parameter 42(MediaPosition): <0x5782e950>
05 12/16/08 17:45:23.094 .[33;1mConnect() failed, Error Code 111 (Connection refused)).[0m <0x5a834950>
Any ideas why this is going wrong? I hope I don't have to rename all of those files... :-\
Thanks,
/chriss
Hi Chriss,
you know that using spaces, special chars and umlauts in filenames is not the best practice?
br, Hari
Does the file exist under that exact name and path on your MD, or does it get mangled somehow?
Hi chriss
I had to add
iocharset=utf8
to the options of my /home mount on the MD to get such files to play.
/etc/fstab should contain a line somewhat like this:
//192.168.0.50/home /home cifs iocharset=utf8,forcedirectio,credentials=/usr/pluto/var/sambaCredentials.secret 1 1
br,
sambuca
hari,
Quote from: hari on December 16, 2008, 06:25:45 PM
you know that using spaces, special chars and umlauts in filenames is not the best practice?
Well, I think, if a file system and the applications support those characters, I should be able to use them without problems ;D
zaerc,
Quote from: Zaerc on December 16, 2008, 07:24:50 PM
Does the file exist under that exact name and path on your MD, or does it get mangled somehow?
thanks for this hint. This is exactly the problem. I was about to dig into this but sambuca already came up with a solution.
sambuca,
thank you very much. I will try that!
/chriss
EDIT: just verified the solution. works perfect :) thanks again. I'll post this to trac to have it included in 0810
Quote from: chriss on December 17, 2008, 10:22:48 AM
Quote from: hari on December 16, 2008, 06:25:45 PM
you know that using spaces, special chars and umlauts in filenames is not the best practice?
Well, I think, if a file system and the applications support those characters, I should be able to use them without problems ;D
well, maybe you are correct but I'm a bit more pessimistic about that. I've seen too many problems in my life regarding umlauts and whatnot. A bit funny that we still hit those things in 2008 :-)
@sambuca: good find!
br, Hari
Just on a side-note, we also still need to convert the DB itself to UTF-8 properly.
Quote from: sambuca on December 17, 2008, 09:29:55 AM
Hi chriss
I had to add
iocharset=utf8
to the options of my /home mount on the MD to get such files to play.
/etc/fstab should contain a line somewhat like this:
//192.168.0.50/home /home cifs iocharset=utf8,forcedirectio,credentials=/usr/pluto/var/sambaCredentials.secret 1 1
br,
sambuca
Hi Sambuca
I am having the same problem. Could you explain all that so that a linux newby like me can just follow instructions step by step?
Would appreciate very much
thanks
Roberto
Hi roberto99
I'll try to give some more details, I'm cannot verify every detail as I'm not at my home:
You have to log in to the console of either the MD or the core. On the MD press ctrl+alt+f1 to get to a console. log in as root, no password should be required. type nano /etc/fstab
If this editor (nano) is not installed, you will be told that. To install it type apt-get install nano
.
Find the line and change it.
Ctrl+o to save, ctrl+x to exit.
You could try umount and then mount the /home share to apply the new settings but it might be as easy to just reboot.
hope this helps,
sambuca
Ok, thanks, I'll try
greets
Roberto