Page 1 of 1

vlc in command line never quits

Posted: 13 Jul 2006 12:03
by dax
Hello everybody,

I need to run vlc (0.8.5) in command line with an url argument.
Vlc works, but it never quits. I am obliged to kill it by a ^C.

Is there an another manner, without any interface, to do that properly ?

Thanks in advance

Philippe

Posted: 13 Jul 2006 13:27
by fkuehne
Add vlc:quit after your last playlist item / at the end of your command-line and VLC quit after playing all items.

Posted: 13 Jul 2006 15:15
by dax
Add vlc:quit after your last playlist item / at the end of your command-line and VLC quit after playing all items.
Thanks a lot for your prompt answer, that's work !

An other stupid question :
how to suppress diagnostic messages ?
I have not seen any --quiet or --silent options

Thanks again

Philippe

Posted: 13 Jul 2006 21:43
by dionoea
--quiet should work.

Posted: 13 Jul 2006 22:10
by dax
--quiet should work.
Thanks, I'll try !

But what is the relation with --verbose 0 ?

Philippe

Posted: 13 Jul 2006 22:22
by dionoea
verbose 0 still prints some stuff (debug from libs used by VLC for example). --quiet will only print 1 line ("VLC media player <vesion string>")

quit switch is good, but

Posted: 16 Jul 2006 12:33
by Guest
Is there a way to time the quit command? In most of the streams I want to record, they just go on 24-7 and I only want 1-3 hours or so.

Re: vlc in command line never quits

Posted: 09 Aug 2015 11:46
by Huge
As of 2.1.6 version of VLC the playlist magic option syntax is

Code: Select all

vlc://quit
and for the situation
Is there a way to time the quit command? In most of the streams I want to record, they just go on 24-7 and I only want 1-3 hours or so.
there is another one

Code: Select all

vlc://pause:3
-- will pause for 3 seconds( or other number you give).

Hope it helps.