Difference between revisions of "VLC HowTo/Shut down the computer at the end of the playlist"

From VideoLAN Wiki
Jump to navigation Jump to search
m (vlc://quit ref)
Line 7: Line 7:
  
 
You can quit {{VLC}} after playback is finished, by adding  
 
You can quit {{VLC}} after playback is finished, by adding  
<pre>vlc:quit</pre> in it..
+
<pre>vlc://quit</pre> to the playlist.
  
 
= Shutdown =
 
= Shutdown =
Line 15: Line 15:
 
Make a .bat file. The first command would be launching VLC, the second one is  
 
Make a .bat file. The first command would be launching VLC, the second one is  
 
<pre>SHUTDOWN -s -t 01</pre>.  
 
<pre>SHUTDOWN -s -t 01</pre>.  
Add Vlc:quit to leave.
+
Add vlc://quit to leave.
  
 
Launch {{VLC}} through the shortcut to the bat file.
 
Launch {{VLC}} through the shortcut to the bat file.

Revision as of 01:45, 28 September 2008

This page describes how to switch off your computer automatically, when VLC has finished playing a file. Other "how to" pages

General idea

It is not a feature included in VLC media player but small scripts can do it for you.

Quit VLC

You can quit VLC media player after playback is finished, by adding

vlc://quit

to the playlist.

Shutdown

Windows

Make a .bat file. The first command would be launching VLC, the second one is

SHUTDOWN -s -t 01

.

Add vlc://quit to leave.

Launch VLC media player through the shortcut to the bat file.

Linux

Make a .sh.

#! /bin/sh

vlc && shutdown -h now