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...
The new version released for Mac (1.0.1.805.gd2412973) has had its support for AppleScript removed. I had written scripts to implement functionality that allowed me to control my music using headphone controls.
Can you please bring this AppleScript support back?
And in future, can you stop removing usable features without any notice?
Solved! Go to Solution.
Calm down, it's glitch in .plist, it's easily fixable before official fix. Just right click spotify.app and select show contents, and use text editor..
Just change:
<key>NSAppleScriptEnabled</key>
<true/>
<key>OSAScriptingDefinition</key>
<string>Spotify.sdef</string>
to:
<key>NSAppleScriptEnabled</key>
<true/>
<key>OSAScriptingDefinition</key>
<string>applescript/Spotify.sdef</string>
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
same here. recent update to 1.0.1.1060.gc75ebdfd broke applescripts from https://github.com/jacktams/Spotify-Applescripts
Dang, me too... I also use applescripts! Please help!!
Calm down, it's glitch in .plist, it's easily fixable before official fix. Just right click spotify.app and select show contents, and use text editor..
Just change:
<key>NSAppleScriptEnabled</key>
<true/>
<key>OSAScriptingDefinition</key>
<string>Spotify.sdef</string>
to:
<key>NSAppleScriptEnabled</key>
<true/>
<key>OSAScriptingDefinition</key>
<string>applescript/Spotify.sdef</string>
Perfecto!! Thanks, worked like a charm and allowed my ScreenSleeves to work properly again!
@vjarvens wrote:
Calm down, it's glitch in .plist, it's easily fixable before official fix. Just right click spotify.app and select show contents, and use text editor..
Just change:
<key>NSAppleScriptEnabled</key>
<true/>
<key>OSAScriptingDefinition</key>
<string>Spotify.sdef</string>to:
<key>NSAppleScriptEnabled</key>
<true/>
<key>OSAScriptingDefinition</key>
<string>applescript/Spotify.sdef</string>
Note, for some reason the 'play track' command still does not work, even after pointing to the correct dictionary.
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
Hello all,
I was pointed here from the Skip Tunes support site since the change breaks their functionality.
I was trying to implement the fix, but the contents of my plist file don't have AppleScript anywhere. The entire file contents are below:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleExecutable</key> <string>Spotify</string> <key>CFBundleIconFile</key> <string>Icon.icns</string> <key>CFBundleIdentifier</key> <string>com.spotify.client</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>Spotify</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>1.0.1.935.g010041b2-97</string> <key>CFBundleShortVersionString</key> <string>1.0.1.935.g010041b2</string> <key>LSMinimumSystemVersion</key> <string>10.6.0</string> <key>NSMainNibFile</key> <string>MainMenu</string> <key>NSPrincipalClass</key> <string>NSApplication</string> <key>NSSupportsAutomaticGraphicsSwitching</key> <true/> <key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleTypeRole</key> <string>Viewer</string> <key>CFBundleURLIconFile</key> <string></string> <key>CFBundleURLName</key> <string>Spotify Media</string> <key>CFBundleURLSchemes</key> <array> <string>spotify</string> </array> </dict> </array> </dict> </plist>
Is there a version skew?
Thanks for any enlightenment you can provide.
Markie
For less techy Spotify users (and anyone who loves convenience): here's a little tool I wrote that automates the workaround posted around the net: http://dangercove.github.io/Spotify-AppleScript-Patch/.
Looks like the latest Spotify version has reinstated the AppleScript library. Thanks for fixing!
Back in version 1.0.3:
1.0.6.80.g2a801a53 just broke applescript
I applied the fix for editing the Info.plist
from
<string>Spotify.sdef</string>
to
<string>applescript/Spotify.sdef</string>
but that seems to no longer work (unless the computer needs restarting).
I'm using the alfred workflow to control spotify.
Any workaround???
You shouldn't need to make any changes, as the bug was fixed in Spotify. Make sure you're running the latest version. You can delete what you have and re-download the installer if you're not sure.
Good luck,
Markie
I've been tinkering with a small project relying on the applescript integration from time to time over a year or so, and it seems like i've stumbled upon yet another couple of issues.
So, is it just me having these issues or is the applescript integration broken again?
Cheers!
I don't use the player position, but since the last time Spotify broke AppleScript the artwork property has been broken. So it's not just you.
it still returns the song length in milliseconds two years on 😞 every widget that shows a progress bar looks stuck right at the beginning >.> the widgets that show numbers show the "elapsed" time is in seconds, but the "total" time is milliseconds.
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…