More about Special Characters
|
25-04-2017, 17:08
Post: #1
|
|||
|
|||
More about Special Characters
I am creating playlists from iTunes, using a utility which claims to know about Unicode and has an option to cover this (java -jar itunesexport.jar -useM3U8Ext). I have many artists or albums which contain these characters, which then find their way into folder and file names, obviously. I have been using Minimserver under Windows for years and the .m3u8 extension for playlist files works splendidly.
Now I am migrating the Minimserver to Linux (Turnkey - Debian 8), along with the data and playlists from the Windows environment. Minimserver will find and serve up all of these files, no problem. The playlists with special characters work for most files, but some characters seem to cause problems and the Minimserver log on scanning says things like "Error: playlist Music/_Playlists/StrangeCharacters.m3u8: unknown folder for ../Rokia Traoré/Bowmboï/01 M'Bifo.m4a". Other files in the same playlist with special characters in the artist/album name play ok, e.g. "../Toumani Diabate's Symmetric Orchestra/Boulevard De L'Indépendance/02 Boulevard de l'Indépendance.m4a". Some characters seem to be more special than others. All suggestions welcome. Marmite. Server :: RaspberryPi3B+>Minimserver 2 Control : Android>BubbleUPnP / W10>Upplay / W10>Kazoo / iPhone>Kazoo Renderer: BubbleUPnP Server>Cambridge Audio CXN V2 |
|||
25-04-2017, 20:12
Post: #2
|
|||
|
|||
RE: More about Special Characters
This might be an issue with NFC (composed) vs NFD (decomposed) encodings of Unicode characters in filenames and playlists. See this thread for some information about this. As you will see from the referenced thread, I have made changes to MinimServer that fix some cases of this but there might be other cases that are still causing issues.
|
|||
25-04-2017, 20:54
Post: #3
|
|||
|
|||
RE: More about Special Characters
(25-04-2017 20:12)simoncn Wrote: This might be an issue with NFC (composed) vs NFD (decomposed) encodings of Unicode characters in filenames and playlists. See this thread for some information about this. As you will see from the referenced thread, I have made changes to MinimServer that fix some cases of this but there might be other cases that are still causing issues.Dunno if this helps, but it doesn't seem to be consistent. This entry in the playlist doesn't work: Code: ../Meshell Ndegéocello/The Spirit Music Jamia_ Dance Of The Inf/06 The Chosen.mp3 Code: ../Toumani Diabate's Symmetric Orchestra/Boulevard De L'Indépendance/02 Boulevard de l'Indépendance.m4a Marmite Server :: RaspberryPi3B+>Minimserver 2 Control : Android>BubbleUPnP / W10>Upplay / W10>Kazoo / iPhone>Kazoo Renderer: BubbleUPnP Server>Cambridge Audio CXN V2 |
|||
25-04-2017, 21:39
(This post was last modified: 25-04-2017 21:57 by MarmiteSandwich.)
Post: #4
|
|||
|
|||
RE: More about Special Characters
(25-04-2017 20:54)MarmiteSandwich Wrote: I will continue looking for clues.OK, I eliminated that particular inconsistency by deleting the offending folder in the Linux instance and recreating it from the Windows original. But the inconsistency remains with these 2: works: Code: ../Meshell Ndegéocello/The Spirit Music Jamia_ Dance Of The Inf/06 The Chosen.mp3 doesn't work: Code: ../Rokia Traoré/Tchamantché/08 Tchamantché.m4a Both folders on the Linux instance have been deleted and recreated from the original and contain the same accented character. Other entries which don't work are: Code: ../Rubén González/Introducing...Rubén González/04 MelodÃa Del Rio.m4a The following entries work: Code: ../Camarón de la Isla/Grands Cantaores du Flamenco/01 BulerÃas de la perla.m4a Stumped. Server :: RaspberryPi3B+>Minimserver 2 Control : Android>BubbleUPnP / W10>Upplay / W10>Kazoo / iPhone>Kazoo Renderer: BubbleUPnP Server>Cambridge Audio CXN V2 |
|||
25-04-2017, 21:55
Post: #5
|
|||
|
|||
RE: More about Special Characters
From your reference to Notepad and Wordpad, it sounds like you are looking on Windows for the cause of the problem. I suggest you look on Linux instead as the files might not have arrived there in the same condition that they left Windows.
Running the ls -l command from a Terminal window (to show actual filenames) and the cat command (to show paths in .m3u8 files) can be helpful. Also, check the start of the MinimServer log to see what platform default charset is being used. When posting paths that work or don't work, it would be helpful to say whether they are taken from running cat on a .m3u8 file or ls -l on a directory. |
|||
26-04-2017, 09:31
Post: #6
|
|||
|
|||
RE: More about Special Characters
I will do this. First I plan to reformat the Linux disk into a Linux native format, not FAT32 as at present. This might take some time...
Server :: RaspberryPi3B+>Minimserver 2 Control : Android>BubbleUPnP / W10>Upplay / W10>Kazoo / iPhone>Kazoo Renderer: BubbleUPnP Server>Cambridge Audio CXN V2 |
|||
26-04-2017, 09:56
(This post was last modified: 26-04-2017 10:16 by simoncn.)
Post: #7
|
|||
|
|||
RE: More about Special Characters
(26-04-2017 09:31)MarmiteSandwich Wrote: I will do this. First I plan to reformat the Linux disk into a Linux native format, not FAT32 as at present. This might take some time... The disk format will not make any difference to your issue. It is likely that the playlist entries are correct and the issue is with the filenames on the Linux machine. I suggest you take one of the files or folders that doesn't match the playlist entry and run the command ls -l >~/output.txt from the containing folder to get the actual characters in the file or folder name. If you attach the output.txt file to a post here, I will take a look. |
|||
27-04-2017, 17:37
Post: #8
|
|||
|
|||
RE: More about Special Characters
(26-04-2017 09:56)simoncn Wrote: It is likely that the playlist entries are correct and the issue is with the filenames on the Linux machine. I suggest you take one of the files or folders that doesn't match the playlist entry and run the command OK, here are all the errors, along with the line from the playlist which caused the error. Code: Error: playlist _Playlists/Blues & Ballads.m3u8: unknown folder for ../Rubén González/Introducing...Rubén González/04 MelodÃa Del Rio.m4a And I am attaching the best output.txt file I could manage. It shows the highest level folders (artist), within which the album folder and track file reside. I couldn't actually open any of them, because I couldn't find a way of typing the special characters into PuTTY which would work. Investigation much appreciated. Marmite Server :: RaspberryPi3B+>Minimserver 2 Control : Android>BubbleUPnP / W10>Upplay / W10>Kazoo / iPhone>Kazoo Renderer: BubbleUPnP Server>Cambridge Audio CXN V2 |
|||
27-04-2017, 18:05
Post: #9
|
|||
|
|||
RE: More about Special Characters
Please attach the output.txt file. You might have forgotten to click the Add Attachment button.
|
|||
27-04-2017, 18:13
Post: #10
|
|||
|
|||
RE: More about Special Characters
(27-04-2017 18:05)simoncn Wrote: Please attach the output.txt file. You might have forgotten to click the Add Attachment button.Quite so. Server :: RaspberryPi3B+>Minimserver 2 Control : Android>BubbleUPnP / W10>Upplay / W10>Kazoo / iPhone>Kazoo Renderer: BubbleUPnP Server>Cambridge Audio CXN V2 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)