Bugzilla – Bug 8897
Accents in File name.
Last modified: 2009-07-31 10:25:50 UTC
Hello I have encountered a problem with SqueezeCenter Version 7.0.1 associated with the use of unorthodox characters in the file name. This problem did not occur in Slim Server 6.5.4, I have two files in my music folder "C:\mp3\Bartok - Hungarian Sketches Sz97 - Philharmonia - Neeme Jarvi.mp3" "C:\mp3\Bartók - Hungarian Sketches Sz97 - Philharmonia - Neeme Järvi.mp3" Note the second file name has two accented characters - ó in Bartók and ä in Järvi - I hope they get transmitted through the e-mail system!. Both these files play perfectly when selected in the SqueezeCenter player I see in the browser. However, I prefer to play my MP3 files using the SqueezeCenter Web interface, sending the commands using wget. When I do this, the file name WITHOUT the accents plays ok, but the file name WITH accents does not play at all. I have uninstalled 7.0.1, reverted to 6.5.4, and confirmed that this problem does NOT occur using exactly the same gwet commands with SlimServer 6.5.4. Both files, with and without accents play perfectly. I have examined other files, and any file name with an accent has this problem. Something must have changed with the web interface between 6.5.4 and 7.0.1. Are you aware of anything? I am using Windows XP Pro. Thanks in advance for any guidance you may be able to provide. I would prefer not to have to remove accents from all my file names!!
Could you please post the exact url you're using? Are you sending from a non-Windows platform to a Windows server? Please note that you probably have to url encode filenames. BTW: "Accents in File name" is not a bug, but a feature ;-).
Anoop: Can you add the RightNow ticket number or CC the customer on this bug.
RightNow ticket # 080723-001201
Here is the second message I sent to Anoop which I think answers your question about the exact url All you need to do is take a couple of mp3 files; rename one to: "Bartók - Hungarian Sketches Sz97 - Philharmonia - Neeme Järvi.mp3" and the other to: "Bartok - Hungarian Sketches Sz97 - Philharmonia - Neeme Jarvi.mp3" (ie replace the accented characters with unaccented characters) Now put the following in the address bar of your browser (the command corresponding to the with-accent name). You'll need to change the IP address to that of your SqueezeCenter; mine is 10.1.1.15; the location of your MP3 files; mine are in C:\mp3\ and your authorisation code. http://10.1.1.15:9000/status.txt?p0=playlist&p1=play&p2=C:\mp3\Bartók - Hungarian Sketches Sz97 - Philharmonia - Neeme Järvi.mp3&;cauth=b8ebfc4f81470c34062239b7539ad6f7 (Note, you'll need to be careful that any wordwrap introduced by our e-mail link doesn't introduce a line break anywhere in this long URL) My experience is that this file plays with 6.5.4, but not with 7.0.1 Now put the following in the address bar of your browser (the command corresponding to the file name with unaccented characters). You'll need to make the IP address and mp3 location changes etc again. http://10.1.1.15:9000/status.txt?p0=playlist&p1=play&p2=C:\mp3\Bartok - Hungarian Sketches Sz97 - Philharmonia - Neeme Jarvi.mp3&;cauth=b8ebfc4f81470c34062239b7539ad6f7 I find this file plays with both 6.5.4 and 7.0.1. Thus I conclude that something has changed in 7.0.1 to prevent file names containing accented characters from playing when using the web interface. I've tried this with both IE7 and Firefox 3 on Windows XP Pro and Vista Ultimate. What do you think?
And with respect to your comment about url encoding the filename a couple of points - first, I haven't found it necessary to url encode for 6.5.4 and second, I have tried url encoding. File names without accents work with 7.0.1 whether I url encode or not. File names with accents however, don't work whether I url encode or not.
Are you running everything on Windows (app and client)? Haven't run any tests yet. Just another data point.
Yes, everything is on Windows. I have had the applications SqueezeCenter 7.0.1 and Slim Server 6.5.3 each on three different Windows computers - Windows XP Home, Windows XP Pro and Vista Ultimate. Browsing from the same or another networked computer using IE6, IE7, Firefox2 and Firefox 3. Although I probably haven't tried all conceivable combinations, I think I have done enough to convince myself that this effect is consistent - or I am making the same mistake with all of them!
change 22266 - fix encoding of p0-p* parameters on Windows malone - please note that the "status.txt?p0..." style interface is deprecated. You should consider moving to the JSON/RPC interface.
That's the first I've heard of the web interface being deprecated. Yes, I have considered using JSON/RPC but after not being able to find an appropriate tutorial on the web and reluctant to negotiate the learning curve (I'm not a professional programmer), I decided to stay with the web interface which works so well for me in 6.5.4. Are you now saying that I shouldn't be using the web interface with 7.0.1?
> Are you now saying that I shouldn't be using the web interface with 7.0.1? I'm saying that I've (hopefully!) fixed the issue today (7.1.1+ only - sorry!). Thus you have another grace period ;-).
Thanks for that - I couldn't find the 7.1.1. you referred to, so I downloaded SqueezeCenter-7.2-22272 and it doesn't play file names with accents using the web interface. I've spent enough time on this now so I think I'll stick with 6.5.4 which works well for me.
I'm sorry, checked the change in to the wrong branch. Backported it in change 22375 to 7.1.1. Please give it a try.
This bug has been fixed in the 7.3.0 release version of SqueezeCenter! Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Reduce number of active targets for SC