On OSX the llatest version (1.0.1.1060.gc75ebdfd) has all Applescript support removed!?
I would really see the Applescript support brought back.
Yes. I'm pretty sure this is just a mistake from the devs on the last deploy but all of my scripts return a "
error "Spotify got an error: Can’t continue «event spfyNext»." number -1708" now
This is super lame as mty keyboard does not have media keys and I use these applescripts to play/pause next and prev tracks on spotify!
Please bring back AppleScript support!
Yes, all AppleScript support in latest version has been removed for no reason whatsoever. We would truly appreciate bringing it back as clearly many of us use advanced AppleScripts to control the application in other ways than mouse-clicks.
Thanks!
Yes please bring back AppleScript support. I had a nice little macro in Keyboard Maestro that would let me hit a Mac key to skip ahead 15 seconds but I can't do it any more. This simple AppleScript below used to work great:
tell application "Spotify" set CurrentPosition to the player position set NewPosition to CurrentPosition + 15 set the player position to NewPositionend tell
But now in Spotify 1.0.1.1060.gc75ebdfd it returns the error:
"/var/folders/nn/0kphrdvx58z_s08qns7vm6s40000gn/T/Keyboard-Maestro-Script-EB15F600-6811-493C-B3CD-5EA177F77A26:62:70: script error: Expected end of line but found identifier. (-2741)"
See: https://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/New-Mac-Update-AppleScript-support-removed/m-p/995843/highlight/true#M104799
Caveat for me was that I had to additionally restart Alfred2 before it began working again.
This is a temporary fix: http://hyperdock.bahoom.com/spotify_fix
Thanks McManCSU and eproxus! I followed the steps from http://hyperdock.bahoom.com/spotify_fix and now Spotify AppleScript is fine. I didn't have to restart my Mac as the the article suggested -- that's problably something specific to Hyperdock.
Thx for the fix!
Still broken on 1.0.2.6.g9977a14b.
This is caused by a bug in the app's Info.plist definition. There's a very simple fix (until Spotify fixes it for good) described here: https://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/New-Mac-Update-AppleScript-support-removed/td-p/995843
This is now back in version 1.0.3:
https://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/Release-Notes-Spotify-for-Desktop-1-0-3/td-p/1075073
Can confirm, this is working in 1.0.3
TY for listening Spotify dev team
artwork retrieval still broken
2015-04-07
Hey folks, this returned with the 1.0.3 Desktop app update.
dds
Sorry for the previous message:
are any of this commands working at all?
track n : A Spotify track.
properties
artist (text, r/o) : The artist of the track.
album (text, r/o) : The album of the track.
disc number (integer, r/o) : The disc number of the track.
duration (integer, r/o) : The length of the track in seconds.
played count (integer, r/o) : The number of times this track has been played.
track number (integer, r/o) : The index of the track in its album.
starred (boolean, r/o) : Is the track starred?
popularity (integer, r/o) : How popular is this track? 0-100
id (text, r/o) : The ID of the item.
name (text, r/o) : The name of the track.
artwork (image data, r/o) : The track's album cover.
album artist (text, r/o) : That album artist of the track.
spotify url (text) : The URL of the track.
I tried them with no hope, any of those commands when you run them are gives an error --> 'error "Spotify got an error: Can’t get spotify url." number -1728'. Is there any chance that you guys are fixing this?
Artwork still not working in desktop version 1.0.14.124.
Track length is now given in milliseconds, while track position in seconds like it used to.
Is artwork retrieval working at all anymore? I'm having to contact the API for that… Feels like a waste of bandwidth for everyone just to get a desktop widget showing current track working! 😕