Page 1 of 1

auto exit on end doesn't work?

Posted: 17 Mar 2011 11:31
by fishstyc
Should

Code: Select all

vlc.exe --play-and-exit video.avi
play the file and exit VLC afterwards?

It doesn't work for me (only tested on windows but it might be a general problem). I tried 1.1.5, and 1.1.8 NB from 2 days ago or something. it plays the file, then Vlc doesn't quit.

Re: auto exit on end doesn't work?

Posted: 17 Mar 2011 11:42
by Jean-Baptiste Kempf
use vlc://quit

Re: auto exit on end doesn't work?

Posted: 18 Mar 2011 09:47
by fishstyc
I found out that actually both ways work!

At first your way didn't work either, but I found out why:

In my VLC i changed the default playlist behaviour to play-and-pause (video file stops on the last frame), and this caused VLC to not go to the next playlist item automatically. So if someone else ever has this same problem, the following command-lines should both work.

Code: Select all

vlc.exe --no-play-and-pause --play-and-exit tob.avi
or

Code: Select all

vlc.exe --no-play-and-pause tob.avi vlc://quit