Created
January 2, 2026 02:48
-
-
Save ranvel/0049700cfe3471fed0301a80569843a7 to your computer and use it in GitHub Desktop.
skip crappy songs on Music.app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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