Open folder EXCEPT...

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Snake38
Blank Cone
Blank Cone
Posts: 12
Joined: 25 Nov 2015 22:46

Open folder EXCEPT...

Postby Snake38 » 20 Mar 2016 12:42

Hello,

I have a .bat file that can open all my songs in once :

folder MUSIC
sub-folders : Other, Classical, R&B, ....

Command is : start vlc.exe "C:\Users\Jerome\Music\"

BUT i want that the R&B folder doesn't be played in the list of VLC. I also don't want to move the R&B folder, i want it in C/Users/Jerome/Music/R&B

So what command line can i use ? something like "i open all EXCEPT R&B folder"...

Thanks a lot !

Snake38
Blank Cone
Blank Cone
Posts: 12
Joined: 25 Nov 2015 22:46

Re: Open folder EXCEPT...

Postby Snake38 » 24 Mar 2016 22:21

Up ?

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Open folder EXCEPT...

Postby da2424 » 25 Mar 2016 12:38

I don't know an exclusion command, sorry.
You could add all your wanted subfolders by command line to playlist, but that's not really beautiful, I know.

Snake38
Blank Cone
Blank Cone
Posts: 12
Joined: 25 Nov 2015 22:46

Re: Open folder EXCEPT...

Postby Snake38 » 25 Mar 2016 23:06

It's not a problem if it's not beautiful.

I tried :

Code: Select all

cd %ProgramFiles(x86)%\VideoLAN\VLC start vlc.exe --auto-preparse "C:\Users\Jerome\Music\Autre" "C:\Users\Jerome\Music\Classique" "C:\Users\Jerome\Music\Electro, Dance" ...."
The problem is : this works up to a point and that being that it'll add the folders, then choose one at random, expand all files within that one chosen, then play a random file within.

This would work fine if there were only one file within each folder but in my case there are many many files within each and I'm adding to them constantly. Probability kicks in and the next file VLC chooses 'at random' is most-likely to be one of the files from the first expanded folder.

What I'd like is to open VLC with multiple folders added to a playlist, expand all files within those folders enqueued, then start playing the whole list at random.

Any ideas ?

Snake38
Blank Cone
Blank Cone
Posts: 12
Joined: 25 Nov 2015 22:46

Re: Open folder EXCEPT...

Postby Snake38 » 16 Apr 2016 15:23

Up !


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 25 guests