alfred-spotify-controls
alfred-spotify-controls copied to clipboard
Spotify just updated and the scripts stopped working
Latest build of Spotify and this no longer works:
on alfred_script(q)
tell application "Spotify"
playpause
end tell
end alfred_script
Anybody know how to troubleshoot?
Solution src: community.spotify.com
Just right click spotify.app, select show contents, and use any text editor to edit the
Info.plist
file
// old line (towards the bottom)
<string>Spotify.sdef</string>
// new line
<string>applescript/Spotify.sdef</string>
Then restart spofity and Alfred 2
@matbrady did this work for you in the most recent release 1.0.2.6.g9977a14b
? It worked for me in the previous version, but didn't work with this one.
You definitely have to quick and restart both spotify and alfred. No computer restart is needed.
Nice. Restarting Alfred did the trick. I restarted Spotify multiple times to no avail but didn't realize Alfred restart was necessary. Thanks!
@matbrady This just broke again:
https://community.spotify.com/t5/Live-Ideas/Bring-back-Applescript-support/idc-p/1068934#M31916
I'm guessing Spotify updated again, and re-doing the fix to the plist file and restarting got this working again.
@justin808 yeah I noticed. It's unfortunate we have to patch this every time they push an update that doesn't enable AppleScripts.
Looks like they'll be patching it in a future desktop version: https://community.spotify.com/t5/Live-Ideas/Bring-back-Applescript-support/idc-p/1068934#M31916
On Tue, Mar 24, 2015 at 6:39 AM, Mat Brady [email protected] wrote:
@justin808 yeah I noticed. It's unfortunate we have to patch this every time they push an update that doesn't enable AppleScripts.
Reply to this email directly or view it on GitHub: https://github.com/phpfunk/alfred-spotify-controls/issues/35#issuecomment-85444915