[vlc-devel] Re: [PATCH] play-and-exit feature for playlists

Sigmund Augdal Helberg sigmund.augdal at gmail.com
Sun Sep 3 00:11:24 CEST 2006

On Sat, 2006-09-02 at 23:19 +0300, Rémi Denis-Courmont wrote:
> Le samedi 2 septembre 2006 23:13, Georgi Chorbadzhiyski a écrit :
> > the following patch adds --play-and-exit parameter for playlists.
> > When this parameter is set and there are no more items in the
> > playlist VLC exists instead of just reporting "nothing to play".
> Is this any different from using the "vlc:quit" virtual item?
The problem with vlc:quit is if you want to play something from some
script run in the background. Currently you can do:
vlc -I dummy somefile vlc:quit 

This will work nearly the way you want it, but if the user presses the
stop hotkey while the video is playing you will get a dangling process
which you perhaps have no way to kill. A --play-and-exit should be
different from this by also quiting if the playlist for any other reason
ends up in the stopped state. As I understand it this patch does not do
that, but can easily be improved to also do this.


> Sounds like that one deserves more publicity in the documentation.

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list