auto exit on end doesn't work?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
fishstyc
Blank Cone
Blank Cone
Posts: 40
Joined: 19 Oct 2010 12:39

auto exit on end doesn't work?

Postby fishstyc » 17 Mar 2011 11:31

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: auto exit on end doesn't work?

Postby Jean-Baptiste Kempf » 17 Mar 2011 11:42

use vlc://quit
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

fishstyc
Blank Cone
Blank Cone
Posts: 40
Joined: 19 Oct 2010 12:39

Re: auto exit on end doesn't work?

Postby fishstyc » 18 Mar 2011 09:47

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


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 72 guests