This script applet runs in the background while an iTunes playlist is playing waiting for the accompanying "STOP_TRACK_05sec.mp3" track to "play". When it does, the script will stop iTunes and advance to the next track, which you can then re-start manually. Please be sure to read the documentation.
Perhaps Also of Interest...
downloaded 2m 26s ago
Delete files downloaded and cached by Apple Music
downloaded 16m 46s ago
Drag-and-drop to convert audio files with iTunes
downloaded 16m 56s ago
Recreate a playlist such that its visible columns mirror the Music library
downloaded 17m 20s ago
List tracks not assigned to playlists
downloaded 18m 29s ago
Display/export a text file list of chosen tag data in library or playlist
downloaded 21m 14s ago
Display, create text file listing info of dead tracks