Post Reply 
? in mp3 file name for playlists doesn't work
29-10-2022, 20:48 (This post was last modified: 29-10-2022 20:52 by simoncn.)
Post: #21
RE: ? in mp3 file name for playlists doesn't work
Your playlist appears to be encoded as NFD, not NFC. It has o and umlaut as two separate characters. From the URL you posted, the filename is encoded as NFC (o with umlaut is a single character).

I am not sure why this would cause a problem. MinimServer converts NFD internally to NFC. Please post your playlist as a file attachment instead of copying and pasting it inline.
Find all posts by this user
Quote this message in a reply
30-10-2022, 17:43
Post: #22
RE: ? in mp3 file name for playlists doesn't work
I get an error that I am not allowed to attach this type of file directly:

https://pixeldrain.com/u/bznioUY3
https://pixeldrain.com/u/GbQ5p1kV


(29-10-2022 20:48)simoncn Wrote:  Your playlist appears to be encoded as NFD, not NFC. It has o and umlaut as two separate characters. From the URL you posted, the filename is encoded as NFC (o with umlaut is a single character).

I am not sure why this would cause a problem. MinimServer converts NFD internally to NFC. Please post your playlist as a file attachment instead of copying and pasting it inline.
Find all posts by this user
Quote this message in a reply
30-10-2022, 23:02
Post: #23
RE: ? in mp3 file name for playlists doesn't work
Thanks for these files. For future reference, you can attach any type of file to a forum post by zipping it and attaching the .zip file.

The o+umlaut in the first playlist is a UTF-8 o+umlaut encoded as NFD. The question mark in the second playlist is a normal ASCII question mark.

The nest step is to check the encoding of the filenames on the Synology. If you zip these files using Compress in Synology File Station, the compressed files should preserve the original filename encoding. I would like to see one zipped file that contains a non-working o+umlaut and one zipped file that contains a non-working question mark.

The zipped files will be too large to attach to a forum post. If you can post the zipped files on pixeldrain, I will download them and let you know when I have done this so that you can remove them.

Many thanks for your help with this.
Find all posts by this user
Quote this message in a reply
31-10-2022, 09:28
Post: #24
RE: ? in mp3 file name for playlists doesn't work
Got it! OK, I compressed these in File Station. I think between these two you should get a non working umlaut and paths and filenames with question marks. The only case that isn't covered here is if the playlist file name itself has a question mark. I can do that as well, if that's helpful. But this seemed like a good start.

thank you!

(30-10-2022 23:02)simoncn Wrote:  Thanks for these files. For future reference, you can attach any type of file to a forum post by zipping it and attaching the .zip file.

The o+umlaut in the first playlist is a UTF-8 o+umlaut encoded as NFD. The question mark in the second playlist is a normal ASCII question mark.

The nest step is to check the encoding of the filenames on the Synology. If you zip these files using Compress in Synology File Station, the compressed files should preserve the original filename encoding. I would like to see one zipped file that contains a non-working o+umlaut and one zipped file that contains a non-working question mark.

The zipped files will be too large to attach to a forum post. If you can post the zipped files on pixeldrain, I will download them and let you know when I have done this so that you can remove them.

Many thanks for your help with this.


Attached File(s)
.zip  _playlists.zip (Size: 3.36 KB / Downloads: 1)
Find all posts by this user
Quote this message in a reply
31-10-2022, 09:52
Post: #25
RE: ? in mp3 file name for playlists doesn't work
My apologies for not being clear enough in my previous post. The zipped files that I need to see now are the audio files that cannot be played from these playlists. Please use Synology File Station to compress one audio file from the first playlist that cannot be played and one audio file from the second playlist that cannot be played.

The zipped versions of these two audio files will be too large to attach to a forum post. If you can post the zipped files on pixeldrain, I will download them and let you know when I have done this so that you can remove them.
Find all posts by this user
Quote this message in a reply
31-10-2022, 10:02
Post: #26
RE: ? in mp3 file name for playlists doesn't work
Ah no worries, here they are:

https://pixeldrain.com/u/6DToMxxe
https://pixeldrain.com/u/LwQwSjCp

I did notice that the ? in the file name in file station is shown as a square symbol. As a test, I tried renaming the file there with a ?, and it seemed to scan successfully in minim.

(31-10-2022 09:52)simoncn Wrote:  My apologies for not being clear enough in my previous post. The zipped files that I need to see now are the audio files that cannot be played from these playlists. Please use Synology File Station to compress one audio file from the first playlist that cannot be played and one audio file from the second playlist that cannot be played.

The zipped versions of these two audio files will be too large to attach to a forum post. If you can post the zipped files on pixeldrain, I will download them and let you know when I have done this so that you can remove them.
Find all posts by this user
Quote this message in a reply
31-10-2022, 15:26
Post: #27
RE: ? in mp3 file name for playlists doesn't work
Thanks very much for these files. The file with a "question mark" actually has the ASCII character 0x7f in its filename. This character is the control code DEL and is not a printable character. When this filename is viewed, the DEL character is replaced by some other symbol such as a question mark or a square.

The other file "Oszillator" has a valid name with no special characters. I had hoped the zip file would contain the full path including the folder name Funkstörung, but it only has the filename.

Do you have any files where the filename (not the folder name) contains an accented character that is causing the file to not play from a playlist? If you do, please zip one of these files. If not, I will think about what you can do to send me the exact encoding of the folder name Funkstörung.
Find all posts by this user
Quote this message in a reply
01-11-2022, 09:43
Post: #28
RE: ? in mp3 file name for playlists doesn't work
I did a bit more research and also asked if anyone had run into this on the Synology reddit.

The recommendation was to enable VFS, which was not enabled. After doing this, all the files with ? disappeared from OSX. If I went to file state and renamed the file with a ?, it would show back up, and they seem to be able to be scanned with minim watch.

I suppose I can go through and fix this manually, but is this essentially the same as converting the file from NFC to NFD? Might doing this (https://geraldonit.com/2020/02/08/apple-...fd-to-nfc/) as a batch process fix it?


(31-10-2022 15:26)simoncn Wrote:  Thanks very much for these files. The file with a "question mark" actually has the ASCII character 0x7f in its filename. This character is the control code DEL and is not a printable character. When this filename is viewed, the DEL character is replaced by some other symbol such as a question mark or a square.

The other file "Oszillator" has a valid name with no special characters. I had hoped the zip file would contain the full path including the folder name Funkstörung, but it only has the filename.

Do you have any files where the filename (not the folder name) contains an accented character that is causing the file to not play from a playlist? If you do, please zip one of these files. If not, I will think about what you can do to send me the exact encoding of the folder name Funkstörung.
Find all posts by this user
Quote this message in a reply
01-11-2022, 12:52 (This post was last modified: 01-11-2022 12:52 by simoncn.)
Post: #29
RE: ? in mp3 file name for playlists doesn't work
I am pleased to hear you have found a way to fix the filenames containing DEL showing as ?.

I don't know what is causing the problem you are having with folder names containing accented characters such as ö so I can't give advice on how to fix this. I have tested this playlists referring to files with Synology folder names containing NFC and also folder names containing NFD. Both of these are working for me. I suspect your folder name Funkstörung might be using some other encoding but I am not sure how to find out what this encoding is.

Are you able to use VFS to successfully fix the problem with the Funkstörung folder?

I have used convmv (the link you posted) and it works well if you know what encoding you have currently and what encoding you want. I suggest you try using convmv on one folder before you run it on your whole library.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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