AppleScript(s) for controlling Spotify:
- UnattendedSpotifyQuietener.applescript - will gradually, when a machine is idle, reduce the volume of the system until it reaches zero. At zero the Spotify playback will be paused. Does nothing if Spotify is not running, or if it is not playing.