How to auto load music files from a folder to the playlist

macOS specific usage questions
godzfire
Blank Cone
Blank Cone
Posts: 18
Joined: 06 Nov 2012 06:04

How to auto load music files from a folder to the playlist

Postby godzfire » 04 Jul 2018 18:15

I have a really simple thing I'd like to do with VLC that I can't seem to find the way to do it:

I want to set up a playlist that is linked specific folder that I put music where if I add or remove stuff in that folder, it will update in the main VLC playlist when I open VLC. Right now I have to manually delete/clear out the playlist and drag the new audio files onto it, which is really non-user friendly.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to auto load music files from a folder to the playlist

Postby Jean-Baptiste Kempf » 05 Jul 2018 10:13

You can ask VLC to open this folder. It will play all files in it.

And you can ask VLC to always open this folder on start.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

godzfire
Blank Cone
Blank Cone
Posts: 18
Joined: 06 Nov 2012 06:04

Re: How to auto load music files from a folder to the playlist

Postby godzfire » 05 Jul 2018 15:42

Okay, and HOW is this done then?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to auto load music files from a folder to the playlist

Postby Jean-Baptiste Kempf » 07 Jul 2018 18:56

Preferneces -> All -> Playlist -> Default stream. And put the URL of the folder there.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

godzfire
Blank Cone
Blank Cone
Posts: 18
Joined: 06 Nov 2012 06:04

Re: How to auto load music files from a folder to the playlist

Postby godzfire » 07 Jul 2018 21:04

Preferneces -> All -> Playlist -> Default stream. And put the URL of the folder there.
Did that, restarted VLC, and all I get is (null) in playlist and "Connection failed, VLC could not connect to ":554"." and "Your input can't be opened. VLC is unable to open the MRL '/Users/USER/Desktop/Bob & Brian/'. Check the log for details."

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to auto load music files from a folder to the playlist

Postby Jean-Baptiste Kempf » 08 Jul 2018 18:01

Then look in the logs. :D

You might need to put an URL, starting with file://
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

godzfire
Blank Cone
Blank Cone
Posts: 18
Joined: 06 Nov 2012 06:04

Re: How to auto load music files from a folder to the playlist

Postby godzfire » 09 Jul 2018 04:45

Jean, I know that being someone who regularly uses and troubleshoots VLC that you know where these things are, but for the end user, we don't. So when you say to do something, you need to provide the steps in order to accomplish this. For example, "look in the logs". Where are the logs? I don't see it in any of my drop down menus. How can I look at something I don't know where it is. Not trying to be smart about it, just saying please explain in steps.

Same thing with the second part stating I might need to put a URL. I'm trying to link a local folder, so what does a URL have to do with it? I tried the file:// prefix but got the same error: "Your input can't be opened
VLC is unable to open the MRL 'file://Users/USER/Desktop/Bob & Brian/'. Check the log for details."

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to auto load music files from a folder to the playlist

Postby Jean-Baptiste Kempf » 11 Jul 2018 10:17

It would be missing a /

Play the folder in VLC, look at the logs, and see the URL used by VLC. Copy paste it as the default stream.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Wayne
New Cone
New Cone
Posts: 3
Joined: 08 Aug 2018 01:21

Re: How to auto load music files from a folder to the playlist

Postby Wayne » 08 Aug 2018 01:36

Referring to godzfire's basic question: Where is the log file located?
I have a similar error message opening an rtsp stream. But I can't find any info where to find the referenced log file. VLC 3.0.3, Mac OS
Wayne
PS. I'm just following the earlier posted question. If I get an answer, I'll post in a more easily searchable topic.

Lornadoo
Blank Cone
Blank Cone
Posts: 52
Joined: 13 Oct 2016 21:27
VLC version: 3.0.11.1
Operating System: Mac OS 10.14.6

Re: How to auto load music files from a folder to the playlist

Postby Lornadoo » 08 Aug 2018 21:13

As far as I know, VLC is not dynamic when it comes to playlists. In other words, once it has loaded the items from the folder into the playlist, it is static and does not change, even if you have deleted items from or added items to the source folder. It does not update unless you manually update it. Devs, please correct me if I am wrong.

Wayne
New Cone
New Cone
Posts: 3
Joined: 08 Aug 2018 01:21

Re: How to auto load music files from a folder to the playlist

Postby Wayne » 09 Aug 2018 01:04

Regarding my post above: [shft+cmd+M] (ie. Menu:Window>Messages)
It does not seem to be persistent. So window must be open when error occurs, to capture log details.
Sorry to pollute this thread, but the question was asked.

onthevergeoflosingit
New Cone
New Cone
Posts: 1
Joined: 19 Jul 2020 04:58

Re: How to auto load music files from a folder to the playlist

Postby onthevergeoflosingit » 19 Jul 2020 05:19

I know this is old but I found it tremendously helpful and figured out the last bit:

Open your media with VLC and play it. Pause it and go back to the playlist by clicking the "Show/Hide Playlist" button. Make sure your media is highlighted on the playlist. Then go to Window>Media information. The full file address can be found at the bottom in a box labeled "location" (you can also get here using the [cmd+I] shortcut). Example:

file:///Users/onthevergeoflosingit/Documents (Local)/School/Lecture Videos/L02 Lipids Recording Pt1.mp4

I removed the file name to get the full address of the folder I want:
file:///Users/onthevergeoflosingit/Documents (Local)/School/Lecture Videos/

Now go to Preferences>Show All>Playlist. Make sure "Auto start" is checked***. Make sure "Display playlist tree" is checked. In the box "Default stream" paste the address of the desired folder you copied earlier. Save. Restart VLC. It should load all files in the folder each time you start VLC.

***A side note: I find "Auto start" annoying but it's the only way i can get the library to update the file contents. Feel free to correct me if anyone finds a better way.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests