Is there any mp3 player which can be set to play a certain playlist of mp3s, and when the playlist ends, it turns the computer off?

That way it could be used to play something while I sleep, and I don't have to worry about the computer staying on throughout the night.

An alternative would be, if there is no computer input for 1 hour, it then turns the computer off.

Any suggestions?

I'm on Windows xp.


There is a whole bunch of auto-shutdown plugins for Winamp.

Most popular one is called shutdown:

Shutdown plugin, image #1

Shutdown plugin, image #2

  • I've installed this, but have no idea how to find it or use it – Click Upvote Sep 9 '11 at 1:14
  • 2
    As shown on the first screenshot, after installing one additional menu entry will appear in the context menu when you right-click on the tray icon. Just check it, and PC will auto-shutdown after playlist will stop. Please take in mind that this may not happen if you have repeating playlist. – Andrejs Cainikovs Sep 9 '11 at 11:01
  • Thanks, that way of getting the menu is verry unintuitive – Click Upvote Sep 10 '11 at 13:11

The application linked below will shutdown your computer in a user-specified number of minutes, regardless of which mp3 player you are using.



Take a look at power options in the control panel. You can set what happens when the computer is idle for a specified time.

enter image description here

This page has more details.


You can set the computer to hibernate if it's idle. I can't remember where the options are exactly in XP, but in 7 they're in Control Panel > Hardware and Sound > Power Options

There should be a option to put the computer to sleep after a certain amount of time.

As long as your mp3 player leaves your machine completely idle this will kick in and shut the machine down 30 minutes (say) after your playlist ends.


You could use something like this batch file, which you could save to your desktop, and drag an .mp3 file onto it to start it.

@echo off
mplayer2.exe /play /close %1
shutdown /s /t 0

You could change the program and arguments to fit any media player which has the ability to play a file and then exit. I could not find any for WMP12, which I have on Windows 7, but I think this should work for WMP in XP.

update: I just re-read your question and realised you wanted to play a playlist. I think Winamp is your best option then. There are ways to get WMP to play using .pls playlist files (which would make this solution viable with WMP), but that is a another question. It would still work with other media players which play playlist files and have command line arguments for playing an exiting though, so I won't delete the answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.