Post Reply 
files with ë or é etc do not make it into playlist
10-01-2024, 22:01 (This post was last modified: 10-01-2024 22:41 by MiniMe.)
Post: #11
RE: files with ë or é etc do not make it into playlist
Yep the filenames were local Mac generated, local Mac appended the right volume address, and then playlist was copied onto NAS. This would break the playlist as you indicated, in case of non ascii.
If I (test) create the .m3u8 while working on NAS folder / server side and not doing anything local Mac the playlist works fully but at the expense of time and flexibility.
Find all posts by this user
Quote this message in a reply
10-01-2024, 23:02
Post: #12
RE: files with ë or é etc do not make it into playlist
You can use the iconv command on the Mac to convert the NFD playlist into an NFC playlist. For example, this command:

iconv -f UTF-8-MAC -t UTF-8 example.m3u8 > example2.m3u8

will create a file example2.m3u8 that has all NFD characters converted to NFC.
Find all posts by this user
Quote this message in a reply
10-01-2024, 23:29 (This post was last modified: 11-01-2024 21:01 by MiniMe.)
Post: #13
RE: files with ë or é etc do not make it into playlist
that's super helpful

I used grep -p -n "[^ -~]" example.m3u8 that helped me list out 99% of list names with strange characters.

Since db moves between systems here and there I decided to replace the strange characters by ascii a-z to resolve all compatibility / language issues.
Problem solved.

Thanks for helping with the clues, I appreciate!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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