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

Feature requests for VLC.
CaptainCatFlex
New Cone
New Cone
Posts: 8
Joined: 12 Sep 2024 04:29

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

Postby CaptainCatFlex » 24 Sep 2024 01:39

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15239
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 24 Sep 2024 13:29

CSV with a single column isn't really CSV.

You can write one URL per line and name it .m3u
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

CaptainCatFlex
New Cone
New Cone
Posts: 8
Joined: 12 Sep 2024 04:29

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

Postby CaptainCatFlex » 24 Sep 2024 21:46

.m3u, got ya, thank you.

CaptainCatFlex
New Cone
New Cone
Posts: 8
Joined: 12 Sep 2024 04:29

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

Postby CaptainCatFlex » 15 Oct 2024 00:25

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.

CaptainCatFlex
New Cone
New Cone
Posts: 8
Joined: 12 Sep 2024 04:29

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

Postby CaptainCatFlex » 15 Oct 2024 00:34

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.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 7 guests