Skip to content

Instantly share code, notes, and snippets.

@ranvel
Created January 2, 2026 02:48
Show Gist options
  • Select an option

  • Save ranvel/0049700cfe3471fed0301a80569843a7 to your computer and use it in GitHub Desktop.

Select an option

Save ranvel/0049700cfe3471fed0301a80569843a7 to your computer and use it in GitHub Desktop.
skip crappy songs on Music.app
while true; do
osascript -e '
tell application "Music"
if it is running and player state is playing then
try
if rating of current track is 20 then next track
end try
end if
end tell
'
sleep 0.5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment