How to shut down computer

From VideoLAN Wiki

Jump to: navigation, search
This page describes how to Switch off your computer automatically, when VLC has finished playing a file. Other "how to" pages

Contents

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