VLC HowTo/Shut down the computer at the end of the playlist

From VideoLAN Wiki
Revision as of 01:45, 28 September 2008 by Fenugrec (talk | contribs) (vlc://quit ref)
Jump to navigation Jump to search
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