hnarayanan / shpotify

A command-line interface to Spotify.
https://harishnarayanan.org/projects/
2.01k stars 153 forks source link

Shpotify some times doesn't show track and artist #128

Closed henrik242 closed 4 years ago

henrik242 commented 4 years ago
🐀 spotify status 
Spotify is currently playing.
Artist: Brotherhood
Album: Two Worlds And In Between 2013-2017
Track: Heaven and The End 
Position: 0:53 / 3:39
🐀 spotify prev
Going to previous track.
Spotify is currently playing.
Artist: 
Album: Metropakt
Track:  
Position: 0:00 / 2:41
🐀 spotify status 
Spotify is currently playing.
Artist: 
Album: Metropakt
Track:  
Position: 0:04 / 2:41
🐀 spotify next
Going to next track.
Spotify is currently playing.
Artist: 
Album: Two Worlds And In Between 2013-2017
Track:  
Position: 0:00 / 3:39
🐀 spotify status 
Spotify is currently playing.
Artist: 
Album: Two Worlds And In Between 2013-2017
Track:  
Position: 0:04 / 3:39

Shpotify 2.1 from Homebrew on macOS 10.15.4

hnarayanan commented 4 years ago

Do you really have a chick for your console prompt? 😸

henrik242 commented 4 years ago

It's my easter themed prompt. Guess it's time to change it again :)

siralmat commented 4 years ago

Hello! I stumbled across this thread while troubleshooting the same problem in my own Spotify script.

This is a newly introduced bug in Spotify: it appears that when you manually change the current track (by moving to the next/previous track, selecting a new track, or pausing/unpausing), it updates the current track properties except for the title and artist/album artist, which are blanked out. They only update correctly when the player moves to a new track on its own, after the current track ends. A few other users have reported the bug on the Spotify support forums so hopefully a fix will be out soon...

Anyway, I just wanted to share this to hopefully save you some debugging headaches. πŸ™‚Awesome project, btw!

hnarayanan commented 4 years ago

Yay. We just wait then.

hnarayanan commented 4 years ago

Closing because this is an issue with the Spotify app.