Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

5 Answers 5

up vote 4 down vote accepted

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

share|improve this answer
    
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.

http://www.winamp.com/plugin/winamp-sleeper-application/138943

share|improve this answer

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.

share|improve this answer

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.

share|improve this answer

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
:EOF

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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