Post Reply 
Problem with UTF-8 in playlists (.m3u8 files)
29-09-2015, 10:16
Post: #1
Problem with UTF-8 in playlists (.m3u8 files)
I'm running the latest version of Minimserver on a Raspberry Pi running raspbian wheezy. Most things work flawlessly (thanks for a great piece of software!) but it seems to have some problems with filenames containing UTF-8 characters in .m3u8 playlists. To illustrate:

Code:
reiter@pi:~$ grep "^Minim" /opt/minimserver/data/minimserver.log
MinimServer 0.8.3 update 66, Copyright (c) 2012-2015 Simon Nash. All rights reserved.
Code:
reiter@pi:~$ grep charset /opt/minimserver/data/minimserver.log
Platform default charset is UTF-8
10:50:59.418 main: ComponentClassLoader: using parent class loader for package java.nio.charset
10:50:59.419 main: ComponentClassLoader: using parent class loader for class java.nio.charset.UnsupportedCharsetException
10:51:01.436 main: ComponentClassLoader: using parent class loader for class java.nio.charset.Charset
Code:
reiter@pi:~$ grep "05 Durme" /opt/minimserver/data/minimserver.log|head -3
10:53:08.434 main: found file 05 Durme_ Bana Y\u00fccelerden Seyreden Dilber.m4a
10:53:08.436 main: using cache entry for Music/Aman Aman/Música I Cants Sefardis D'Orient I Occident/05 Durme_ Bana Yücelerden Seyreden Dilber.m4a
Error: playlist Playlists/Nur Musik.m3u8: unknown file /platte/Music/Manuel/Music/Aman Aman/Música I Cants Sefardis D'Orient I Occident/05 Durme_ Bana Yücelerden Seyreden Dilber.m4a
(additional lines are identical to the last one just for different playlists, hence the 'head -3')
Code:
reiter@pi:~$ ls -l "/platte/Music/Manuel/Music/Aman Aman/Música I Cants Sefardis D'Orient I Occident/05 Durme_ Bana Yücelerden Seyreden Dilber.m4a"
-rwxrwxrwx 1 501 501 5008487 Sep 22 20:41 /platte/Music/Manuel/Music/Aman Aman/Música I Cants Sefardis D'Orient I Occident/05 Durme_ Bana Yücelerden Seyreden Dilber.m4a

I notice the discrepancy between "found file 05 Durme_ Bana Y\u00fccelerden" and the direct display of the "ü" character in the cache and playlist entries in the log file, but don't have any idea how to proceed from here.

Files not containing any non-ASCII characters from the same playlist get picked up correctly and added to the playlists.

Any help is greatly appreciated! Thanks in advance!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Problem with UTF-8 in playlists (.m3u8 files) - Manul - 29-09-2015 10:16

Forum Jump:


User(s) browsing this thread: 1 Guest(s)