Adding command line option

Samuel Hocevar sam at zoy.org
Thu Jun 28 01:24:26 CEST 2001


On Wed, Jun 27, 2001, Vince Busam wrote:

> I'm interested in adding a --quit command line option to vlc which will
> cause it to exit when the playlist is done.  I've figured out how to add
> the proccessing of this option, but what's the best place to check if this
> variable is set, and actually quit the app?

   This feature is already there, in the dummy input plugin. The
`vlc:quit' playlist entry will cause vlc to quit. There is also a pause
command, for example:

      vlc foo.mpeg vlc:pause:2 bar.mpeg vlc:quit

   I can't remember if this was in 0.2.80, but it's in current CVS.

-- 
Sam.




More information about the vlc-devel mailing list