Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Please see below the most popular frequently asked questions.
Loading article...
Loading faqs...
Please see below the current ongoing issues which are under investigation.
Loading issue...
Loading ongoing issues...
Steps to reproduce:
Paste the following:
tell application "Spotify" playpause end tell
Expected result:
Spotify toggles playing
Actual result:
error "The variable playpause is not defined."
Root cause:
Scripting definition file, Spotify.sdef, has been moved to the "applescript" subdirectory, but the path in Info.plist hasn't been updated.
Workaround:
Patch Spotify.app/Contents/Info.plist with:
51c51 < <string>Spotify.sdef</string> --- > <string>applescript/Spotify.sdef</string>
Solved! Go to Solution.
helped so much thank you!
Good news!
Apple script support will be coming back in a future update!
https://community.spotify.com/t5/Live-Ideas/Bring-back-Applescript-support/idc-p/1068934#M31916
"Status changed to: Watch this space
I tried this solution... it worked for a few minutes.. and then broke again after reboot...
Once I tried to fix it with this suggestion, I had to make the adjustment, then I closed the app. When I opening it again, this warning displayed. I clicked allow and now it is good to go again.
Thanks for the workaround. It works for all commands, except "play track"
Example:
tell application "Spotify" play track "spotify:track:4JOj52PuNDT1qt8yVosxM5" end tell
This is doing anything (whereas playpause is working as expected for example). Is that the case also for you ?
Thanks
I have the same problem with this patch working for all commands except play track
Bump!
I need this fixed as I use USBOverdrive on the Mac to configure buttons on my G930.
Thanks for the workaround.
For me, using Mac and Simplify app to show mini player, it is working with this workaround but I do not get any album art.
Any ideas?
I'm using Spotify Mac 1.0.2.1060
Same problem here!
This is still broken in 1.0.1.160.gc75ebdfd and the patch suggested by chmod666 does not fix the "play track" command.
Please, this needs to be fixed asap as third party tools rely on scripting abilities.
Not sure what your script is running in but I had to restart both Spotify and the app that was invoking the script after making the change to the Spotify plist file. Try that perhaps?
Could you pleas give a brief description on how to edit the script for those of who have not edited scripts before?
Break down the work around...
Cant find the file "Spotify.app/Contents/Info.plist " anywhere in Preferences files.
Thanks!
Hi,
See this guide for how to edit the script
https://www.unifiedremote.com/tutorials/how-to-get-spotify-version-spotify-101xxx-on-mac-osx
helped so much thank you!
Thank you!
Awesome. This seems to have solve the issue with my widgetds not working. The only thing mising is album art. Anyone have any ideas as to how to fix this?
TIA
Good news!
Apple script support will be coming back in a future update!
https://community.spotify.com/t5/Live-Ideas/Bring-back-Applescript-support/idc-p/1068934#M31916
"Status changed to: Watch this space
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…