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 iTunesShut, if it should quit automatically after it has done its job, or not....
[ 
Problems downloading? Read our
downloading guide 
Support for iTunesShut is available from the
publisher/developer site