Realtime playlist?

Feature requests for VLC.
bumdrew
New Cone
New Cone
Posts: 4
Joined: 20 Nov 2012 14:02

Realtime playlist?

Postby bumdrew » 20 Nov 2012 14:19

Is it possible to make VLC run a playlist that would update in realtime based on the contents of a folder or drive path.

What I am trying to achieve is a shared drive in my work place that music can be added to or removed from by the users on the network, that I can then set to play on VLC player, I would like VLC player to then play the contents of that drive whilst adding/removing anything in realtime as the users add/remove items.

I can think of a work around, I could just get users to add and remove as they will and restart VLC playing the contents of the drive each morning to keep the playlist accurate to the contents of the drive but I would really like to set up a more hands off system.

I've tried a bit of googling and not really come across anything. Any help much appreciated. :)

bumdrew
New Cone
New Cone
Posts: 4
Joined: 20 Nov 2012 14:02

Re: Realtime playlist?

Postby bumdrew » 22 Nov 2012 10:04

Can anyone advise whether this is the right place to be posting this thread? Is there a better area of the forum for this post where I would get more of a response?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Realtime playlist?

Postby mederi » 22 Nov 2012 20:34


bumdrew
New Cone
New Cone
Posts: 4
Joined: 20 Nov 2012 14:02

Re: Realtime playlist?

Postby bumdrew » 27 Nov 2012 11:47

Hi Mederi, thanks so much for the reply. Your post get's me halfway where I want to be. The add on will auto-delete anything in the current playlist removed from the folder in realtime or is supposed to. Now all I need is a solution for it to add media to the playlist in pretty much the same way. So auto-adding items to the playlist as they are added to the directory. If anyone could point me in the right direction that'd be great :)

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Realtime playlist?

Postby mederi » 28 Nov 2012 15:15

I have already pointed you in the right direction.
> How to read directory, how to update playlist, parse paths, ... : Add Similar, Add Similar With Sort

Code: Select all

... vlc.playlist.enqueue({new_item}) ... -- Load directory contents into a table local contents = vlc.net.opendir(path) ...
> How to delete all inactual playlist items: basaquer's Playlist Cleaner
You just need to put it together. It is a good idea. So make your own script or try to ask basaquer to combine your idea with his script to make it universal also for adding new multimedia files from a desired folder to the playlist. Here is an example of dialog box with options to choose from:

Code: Select all

[v] delete inactual playlist items [ ] add new items extensions: [mp3,mp4,avi] path: [D:\multimedia files\] [ ] add subfolders [START]
Looking forward to new extension you will share with us :)

basaquer
New Cone
New Cone
Posts: 3
Joined: 29 Nov 2012 05:03

Re: Realtime playlist?

Postby basaquer » 04 Dec 2012 05:11

mederi pointed me to this discussion, i'd be willing to help work towards something with this if needed. i guess my main concern would be the gui scripting options in vlc are kinda clunky...

bumdrew
New Cone
New Cone
Posts: 4
Joined: 20 Nov 2012 14:02

Re: Realtime playlist?

Postby bumdrew » 04 Dec 2012 11:45

OK guys, thanks so much for the help so far. TBH I am feeling pretty dumb at the moment, I have tried to implement the extensions with little success, mainly due to user error I'm sure. Thanks again for your help, when I can commit more time than a few mins to this I will make a proper effort and get back to you.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 22 guests