Giter Site home page Giter Site logo

vlc-shutdown-after-playback's Introduction

VLC: shutdown after playback (VSAP)

VLC Media Player does not have a built-in option to automatically shut down computer after playlist ends.

There are workarounds on internet for this issue but all I could find are tedious methods using VBS/Batch/Bash scripts + drag&drops (eg: https://wiki.videolan.org/VLC_HowTo/Shut_down_the_computer_at_the_end_of_the_playlist/) which I believe is terrible

So I came up with something slightly better: a watcher process which runs independently from VLC process and checks when movie is over/playlist is empty. The script is witten and compiled for Windows OS using Autoit3: https://www.autoitscript.com

Instructions

A. Download the latest version from Releases. Pick the right binary depending on the CPU architecture you have. If unsure, pick vsap_x86.exe

B. Run it. You'll be greeted with the VSAP configuration window:

  1. Minimize the settings window in taskbar.
  2. Exit VSAP.
  3. Check this if you want VSAP to automatically start when Windows starts up. If checked, on Windows startup, VSAP watcher is starting minimized.
  4. You can pick which action VSAP will take when a playlist ends. Either shut down or put computer to sleep.
  5. You can configure the countdown to action, timeframe in which user can abort the action.
  6. After you're done with configuring, hit "Start Watcher" button. VSAP watcher will go online and stay camo as taskbar tray icon. You may access the settings window by right clicking on the tray icon:

Now each time your movie/playlist ends, a pop-up will bounce on your screen warning your PC will shut down / go to sleep in N seconds; it has a button to abort the action as well.

Compatibility

  • Tested on VLC 3.0.20, it should work with all 3.x.x versions.
  • Tested on Windows XP Service Pack 3. It should work with XP, Vista, 7, 8, 10, 11, etc.

vlc-shutdown-after-playback's People

Contributors

tgbv avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ikem-krueger

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.