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.
Plan
Premium
Country
USA
Device
Mac
Operating System
Mojave
Spotify Version
1.1.30.658.gf13cde74
My Question or Issue
I maintain a little Spotify menu bar tool (https://github.com/joshspicer/SpotStatus) that displays my currently playing track in my Mac status bar. I have Sonos speakers that I connect to via Spotify Connect (the green "listening on X" bar at the bottom of desktop client).
I used to be able to fetch the current track from my Desktop Spotify player with Applescript. I'm not sure when it happened, but that seems to be gone.
I would love to be able to fetch song information from the running desktop client, even when playing music through Spotify Connect/Airplay/etc...
Thanks!
Repro:
if application "Spotify" is running then
tell application "Spotify"
if player state is playing then
return name of current track
else
return ""
end if
end tell
else
return ""
end if
Run this in the MacOS "Script Editor". When playing a song with Spotify Connect/Airplay/etc., will return "". It used to return the track name.
I am having the same problem happening with my Slack status script
I'm having problems even with getting the normal Spotify info from AppleScript too like https://community.spotify.com/t5/Desktop-Mac/You-broke-AppleScript-Again/m-p/4937134#M541534
My AppleScript if it helps: https://github.com/SwagLyrics/SwSpotify/blob/203577dbe967f8f7bf0049135e55a35b2b858bc1/SwSpotify/spot...
same issue where current track doesnt work, downgrading to 1.1.30.658 restores this functionality
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…