SpotMyStatus icon indicating copy to clipboard operation
SpotMyStatus copied to clipboard

Feature Request: Sync album art as Profile Picture

Open jesse-chelin opened this issue 3 years ago • 1 comments

Story:

As a user, I want to sync the currently now playing song as my profile picture, so that my status and profile picture reflect the song I am listening to on slack.

In scope

  • Use Get Track to retrieve the currently playing songs artwork from Spotify
    • https://developer.spotify.com/documentation/web-api/reference/#/operations/get-track
  • Set the slack profile picture, using users.setPhoto API provided by slack
    • https://api.slack.com/methods/users.setPhoto
  • Allow a user to decide if they want their slack photo synced or not
  • When a song is no longer playing, change the slack photo back to the original before it was changed.

jesse-chelin avatar Feb 16 '22 03:02 jesse-chelin

hey @jesse-chelin, thanks for the idea. I never thought of this. I will look into it. At the moment the app is suffering due to Spotify's request throttling. They don't support batch requests and requesting the currently playing track for a couple thousand users gets rate limited. I believe the feature can be implemented without extra call to Spotify since artwork is returned with the current track. If you don't want to wait, pull requests are welcome

giorgimode avatar Feb 16 '22 23:02 giorgimode