double nested relative playlist paths are wrong
Windows 10
VLC 3.0.20
File Layout
C:\Users\Yay295\Desktop\parent.m3u8
C:\Users\Yay295\Desktop\child\child.m3u8
C:\Users\Yay295\Desktop\child\grandchild\Song #1.wav
parent.m3u8
C:\Users\Yay295\Desktop\child\child.m3u8
child\child.m3u8
child.m3u8
C:\Users\Yay295\Desktop\child\grandchild\Song #1.wav
grandchild\Song %231.wav
Playing parent.m3u8 will cause VLC to attempt to load the song using four different paths:
-
C:\Users\Yay295\Desktop\child\child.m3u8
→C:\Users\Yay295\Desktop\child\grandchild\Song #1.wav
-
C:\Users\Yay295\Desktop\child\child.m3u8
→grandchild\Song %231.wav
-
child\child.m3u8
→C:\Users\Yay295\Desktop\child\grandchild\Song #1.wav
-
child\child.m3u8
→grandchild\Song %231.wav
The first three load correctly; the fourth one gives this error:
Your input can't be opened:
VLC is unable to open the MRL 'file:///C:/Users/Yay295/Desktop/grandchild%5CSong%20%231.wav'. Check the log for details.
The music file does not need a #
in its name for this to happen.
This error also occurs if the music file is in the child
folder, but I wanted to show that the \
also gets encoded.
This error occurs when either \
or /
are used for the path separator.