Page 1 of 1

Opening files from a file containing file paths as a .csv

Posted: 24 Sep 2024 01:39
by CaptainCatFlex
Hello there,

I wanted to know if it was possible in the current version to open a list of file paths that are stored in a file as a .csv?

As an example, here I have a file named "files.csv" that contains the following:
"
D:\Misc\Private\Music\Perfect Dark - Institute Menu.mp3
D:\Misc\Private\Music\Perfect Dark Alien Conflict.mp3
D:\Misc\Private\Music\Perfect Dark Deep Sea Nullify Threat.mp3
D:\Misc\Private\Music\Perfect Dark Maian Tears.mp3
D:\Misc\Private\Music\Perfect Dark Soundtrack Skedar Mystery (1080p).mp3
"
As a feature, all files would be put in a playlist in this case, since they are music files.

Re: Opening files from a file containing file paths as a .csv

Posted: 24 Sep 2024 13:29
by RĂ©mi Denis-Courmont
CSV with a single column isn't really CSV.

You can write one URL per line and name it .m3u

Re: Opening files from a file containing file paths as a .csv

Posted: 24 Sep 2024 21:46
by CaptainCatFlex
.m3u, got ya, thank you.

Re: Opening files from a file containing file paths as a .csv

Posted: 15 Oct 2024 00:25
by CaptainCatFlex
Well here I come again, for a .m3u to be read, it will require
#EXTM3U
#EXTINF: <ID>, ...
<Path>
..
Is there not a way I can just open up a file containing file paths of my musics?

I am reorganizing playlists using my python codes and a plain text file with only filepaths would be enjoyable.

For the moment, my file.m3u will not open in VLC.

Re: Opening files from a file containing file paths as a .csv

Posted: 15 Oct 2024 00:34
by CaptainCatFlex
Hey there, it seems that for some reason or other, adding the prefix "file:///" to the paths works!
as for example:

"
file:///D:\Misc\Private\Music\Perfect Dark - Institute Menu.mp3
file:///D:\Misc\Private\Music\Perfect Dark Alien Conflict.mp3
file:///D:\Misc\Private\Music\Perfect Dark Deep Sea Nullify Threat.mp3
file:///D:\Misc\Private\Music\Perfect Dark Maian Tears.mp3
file:///D:\Misc\Private\Music\Perfect Dark Soundtrack Skedar Mystery (1080p).mp3
"

will successfully open and read files. The only thing is that it will display the ugly "file:///"+filepath in the displaying playlist file names.