- Paste (or type, or whatever) the
.scpt
file below into Script Editor. - Export the script as an application (no need for code signing). Doesn't really matter where, but put it somewhere you can find it.
- Optional, but makes usage much less annoying: edit
No Live Spotify Tracks.app/Contents/Info.plist
and add the valueNSUIElement = "1"
(i.e.<key>NSUIElement</key><string>1</string>
) to keep the app from showing up in the Dock. - Add the application as a login item (System Preferences > Users & Groups > User > Login Items).
- To start the application without logging out and back in first, just do
'No Live Spotify Tracks.app/Contents/MacOS/applet' &
and enjoy.
Last active
June 21, 2018 03:44
-
-
Save Aehmlo/cd569a95f636a2193d809f9f5a9e98c1 to your computer and use it in GitHub Desktop.
Prevent live tracks in Spotify on macOS.
This file contains 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
repeat while true | |
delay 1 | |
tell application "Spotify" | |
if (name of current track contains "live") or (name of current track contains "Live") then | |
next track | |
end if | |
end tell | |
end repeat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment