I found these plugins:
http://www.winamp.co...etails.php?id=145717 -> a sleep timer
http://www.winamp.co...details.php?id=64006 -> offtopic, but seems to be a very nice plugin, features alarm, snooze, etc.
The plugin i mentioned above, does not check for idle, it only can be set to turn of winamp at a given time.
Though, it wouldn't be hard to do such ahk script, not associating it with Idle Mute ( because i don't want to alter the code since it's not mine), you could have something like this:
#persistent
#SingleInstance,Force
;winamp shutdown
SetTimer, Sleeper, 10000
return
Sleeper:
If A_TimeIdlePhysical < 1800000 ;number of miliseconds to wait before closing winamp - this command ignores artificial keypresses, and makes the script only work in windows xp or 2k
return
Process, Exist, Winamp.exe ; change here, if you use another player
if ErrorLevel != 0
Process, Close, Winamp.exe ; change here if you use another player
ExitApp ;terminates the app, since winamp isn't running anymore.
return
This program is a very fast and ugly solution, it doesn't close winamp, terminates it. Which means that if you wanted to have the last playlist the next time you open winamp, it might not be the best solution, as winamp won't save anything since it was last opened.
As i have posted before, i can't do any ini files (yet) because, i have not learned how to do them. I will in a few days. In the meantime, I commented the important parts if you'd like other settings