So VLC is only skipping Playlist entries for filenames containing square brackets, but it's indexing them fine so that they show up in the Audio tab?After various re-saving of the data and re-reading, I now have the problem mainly only with entries in playlists!
Correct!!!The fd:// issue is a known one and is an Android limitation, although I agree with Spike that VLC's behavior is not ideal and it really ought to do a better job instead of confusing users unnecessarily with cryptic filenames.
So VLC is only skipping Playlist entries for filenames containing square brackets, but it's indexing them fine so that they show up in the Audio tab?After various re-saving of the data and re-reading, I now have the problem mainly only with entries in playlists!
Thank you for your interest!Could you please share this .m3u file?
Please excuse my inexperience, but I can of course now create a text file on my Linux computer, save some of these lines "../320kbs NEU/LP`s (nach Interpreten)/David Bowie/Legacy [Disc 2]/01 Under Pressure.mp3" under each other in it, rename it to .m3u and then send it to you!It's probably an encoding issue. That's why I need a sample file to verify that.
Okay, thanks for the explanation, but I don't use any of these cloud solutions!If it's an encoding issue and I create the file with another editor that uses a different charset, I may not be able to reproduce the issue. That's why I ask for your exact file. You can share it with the sharing service you prefer (Google Drive, Dropbox...).
Here is why I ask for a file:
I created a .m3u file with VLC desktop with the following folder / files:
- toto/without.mp3
- [toto]/With bracket in folder.mp3
- [toto]/[With brackets in file name].mp3
Generated playist: https://pastebin.com/n4MiQJQH
So I am not able to reproduce.
Code: Select all
#EXTM3U
#EXTINF:45,With brackets in folder
../Folder/Folder%20(3)/Artist-folder%20%5BDisc%202%5D/01%20Title%20%5BUK%5D.mp3
Code: Select all
#EXTM3U
#EXTINF:45,With brackets in folder
../Folder/Folder (3)/Artist-folder [Disc 2]/01 Title [UK].mp3
Ok, so you can see here very nicely that VLC stores the characters wrong!This is once again probably an encoding issue on your part.
I once again tried with a generated m3u file from VLC with a path looking like yours and here is what I got:
Generated by VLC desktop, working:Generated by hand, not working:Code: Select all
#EXTM3U #EXTINF:45,With brackets in folder ../Folder/Folder%20(3)/Artist-folder%20%5BDisc%202%5D/01%20Title%20%5BUK%5D.mp3
These characters need to be escaped. BTW, the second one doesn't open on VLC desktop either.Code: Select all
#EXTM3U #EXTINF:45,With brackets in folder ../Folder/Folder (3)/Artist-folder [Disc 2]/01 Title [UK].mp3
Aza, I suppose the question is, do these characters really need to be escaped? According to Wikipedia there's no formal format spec for M3U; it's just a de facto format with ASCII encoding specified for M3U and UTF-8 for M3U8 file extensions. However the Wiki and Winamp's "Unofficial M3U and PLS file specification" both include examples where spaces in file paths for example are not escaped as %20 (which presumably holds good for square brackets and other such chars as well).These characters need to be escaped. BTW, the second one doesn't open on VLC desktop either.
Thanks also to you, for your comment!Aza, I suppose the question is, do these characters really need to be escaped? According to Wikipedia there's no formal format spec for M3U; it's just a de facto format with ASCII encoding specified for M3U and UTF-8 for M3U8 file extensions. However the Wiki and Winamp's "Unofficial M3U and PLS file specification" both include examples where spaces in file paths for example are not escaped as %20 (which presumably holds good for square brackets and other such chars as well).These characters need to be escaped. BTW, the second one doesn't open on VLC desktop either.
So is there a case for VLC to be able to read local file paths without character escaping also?
Return to “General VLC media player Troubleshooting”
Users browsing this forum: Rémi Denis-Courmont and 46 guests