Hypnos (was Berceuse/iTunesShut) can shut down, sleep or restart your Mac or pause/quit iTunes, if the playlist has finished.
Shut down, sleep or restart your Mac or pause/quit iTunes, if a given number of songs are played or repeated. Performs the actions after a given time (duration in minutes) has elapsed (=timer). Fade-Out the volume of iTunes automatically and tell Hypnos, if it should quit automatically after it has done its job, or not.