Bug 12025 - Playing filenames with Danish characters
: Playing filenames with Danish characters
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 7.4.0
: Other Other
: -- normal (vote)
: 8.0.0
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-11 12:45 UTC by avr300
Modified: 2009-10-06 08:55 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
SClog (340.61 KB, application/octet-stream)
2009-05-23 08:15 UTC, avr300
Details

Note You need to log in before you can comment on or make changes to this bug.
Description avr300 2009-05-11 12:45:03 UTC
Running 7.4-26509 on FreeNAS 0.69.1, Slimnas 1.30.


When playing filenames with Danish character (æ Æ) I get:

Warning: [21:23:41.7769] Use of uninitialized value in concatenation (.) or string at /mnt/data/slimnas/squeezecenter/Slim/Player/StreamingController.pm line 726.

[09-05-11 21:23:47.9324] Slim::Formats::readTags (163) File missing: /mnt/data/musik/Nikolaj & Piloterne/Sidder På En Raket/03. Jeg har det fint.flac

[09-05-11 21:23:50.2296] Slim::Formats::readTags (163) File missing: /mnt/data/musik/Nikolaj & Piloterne/Sidder På En Raket/01. Du kan svæve rundt.flac

[09-05-11 21:23:51.4461] Slim::Formats::readTags (163) File missing: /mnt/data/musik/Nikolaj & Piloterne/Sidder På En Raket/01. Du kan svæve rundt.flac

[09-05-11 21:23:53.1922] Slim::Formats::readTags (163) File missing: /mnt/data/musik/Nikolaj & Piloterne/Sidder På En Raket/01. Du kan svæve rundt.flac


It's the Danish character "æ" which causes the problem. The file "Du kan svæve rundt.flac" exists and is named "Du kan svæve rundt.flac" in filesystem.

Web displays the file correct, but Classic says "file:///mnt/data/music/Nikolaj%20&%20.....Du%20%kan%20%sv%C3%A6ve%20rundt.flac...

As you can see, "æ" translates to into %C3%A6



Sometimes the Classic just turns off.
Comment 1 James Richardson 2009-05-11 13:06:32 UTC
Works fine on Mac/Windows systems.  Could this be related to the other Scan Bugs you are working on Michael?
Comment 2 avr300 2009-05-11 13:22:30 UTC
Futher info - it works on 7.3.3-26407 and 7.4-26443
Comment 3 Michael Herger 2009-05-11 13:47:24 UTC
As you've recently updated your SlimNAS - are you sure it's related to the SC build and not to SlimNAS? I wouldn't know of any recent change in that area of SC.
Comment 4 avr300 2009-05-11 13:56:04 UTC
As written - it works on 7.3.3-26407 and 7.4-26443

but now after.

Look like SC to me.
Comment 5 Michael Herger 2009-05-11 23:08:09 UTC
> As written - it works on 7.3.3-26407 and 7.4-26443

Both tested with SlimNAS 1.3?
Comment 6 avr300 2009-05-11 23:15:41 UTC
Yes. Exactly the same setup. Just pointed to the others releases, saved, and restarted SC.
Comment 7 avr300 2009-05-13 05:31:20 UTC
(In reply to comment #6)
> Yes. Exactly the same setup. Just pointed to the others releases, saved, and
> restarted SC.

Tested again yesterday, 7.3.3-26407 and 7.4-26443 IS working.
Comment 8 avr300 2009-05-13 13:09:55 UTC
Update, tested 26555. That now works ?!?
Comment 9 Michael Herger 2009-05-15 00:15:22 UTC
(In reply to comment #8)
> Update, tested 26555. That now works ?!?

All the better than :-). I'm closing this bug. Feel free to re-open if you're able to reproduce the issue. Thanks!
Comment 10 avr300 2009-05-23 08:15:27 UTC
Created attachment 5259 [details]
SClog
Comment 11 avr300 2009-05-23 08:18:07 UTC
Must reopen this. Somehow it stopped working.

squeezecenter-7.3.3-26407-noCPAN - working

None of the 7.4's I have here is working. If "æøå" is containing either in the filename or/and in the ID3 tag, then SC 7.4 won't display/play the file.

Web doesn't shown the files.
Comment 12 avr300 2009-05-25 12:23:17 UTC
Update. Now it gets complicated - or more simpel ?

When the directory / path contains æøå, then SC won't show files containing æøå - and only the files containing æøå.

Then renaming the directory / directories (and leaving the files contaning æøå), then SC displays and plays all files, nomatter they contains æøå or not. And they are displayed correct - with æøå.

So the problem is not the files - it's the path they lives in, if that contains æøå, then SC gets upset.

As written, it's not a problem in 7.3.
Comment 13 Michael Herger 2009-07-29 05:06:51 UTC
BTW: how did you get 7.4 running on FreeNAS/SlimNAS?
Comment 14 avr300 2009-07-29 10:02:27 UTC
(In reply to comment #13)
> BTW: how did you get 7.4 running on FreeNAS/SlimNAS?

I just installed it, I guess. It was a version before the SQL change.
Comment 15 Michael Herger 2009-07-30 00:52:58 UTC
Most likely a FreeNAS/SlimNAS issue. As the scanning code is completely re-written for SC 8.0, we should re-investigate then.
Comment 16 avr300 2009-07-30 14:19:37 UTC
I'm on 7.3 now and I'm ok with it. But I'm more than willing to test as soon as I'm able to run 7.4 (8.0?) on FreeNAS. Just say the word.
Comment 17 Michael Herger 2009-10-06 00:14:09 UTC
There's now a SlimNAS 1.4.99 available which is compatible with SBS 7.4. Could you please give it another try?
Comment 18 avr300 2009-10-06 08:47:27 UTC
It's working.
Comment 19 Michael Herger 2009-10-06 08:55:43 UTC
Thanks for the thumbs up.