AppleScripts that check for the current music player and controls whichever was used last. Allows external controllers or hotkeys to control iTunes and Spotify without needing separate mappings for each app.