How to Use VLC to Put Your Computer on a Sleep Timer

  • MORE

If you’re like me, watching movies and television shows is often done right before bedtime. As such, I typically fall asleep while watching.

hero

I just learned this trick recently, but VLC actually has a sleep timer built in. Now, I can set VLC to shut off after an hour (or 30 minutes), and know that my computer isn’t going to autoplay an entire playlist of content while I’m fast asleep each night.

1. Open VLC.

vlc 2. Create or open a playlist and select Media > Quit at the end of a playlist.

quit

3. Open Notepad and paste in the following code:

pasteSTART /WAIT C:\"Program Files"\VideoLAN\VLC\vlc.exe %1 vlc://quit

shutdown -s -t 60

4. Save the file with the extension .BAT (you can call it anything you want).

save5. Save your playlist by selecting the entire list, right-clicking, and choosing Save playlists to file.

list6. Choose a save location and file name, and then press Save.

file7. Drag the playlist file on to the BAT file you just created.

drag

Add a comment