I'd like to quickly get a list of artist names in a user's "library" or playlists. Is there an easy / asynchronous way to do this?
相关问题
- Is there a way to play audio on a mobile browser w
- How to know when the user changes the song with th
- Monitoring Spotify track change in Applescript?
- Newest Spotify update: Autohotkeys script broke
- launchWebAuthFlow with Spotify returns “Authorizat
相关文章
- Spotify API Create Temp Playlist Not Loading
- How to refresh Access Token on Spotify SDK for And
- Spotify session management
- Update on Spotify API not allowing auto play
- How to change BPM value of Spotify Song Swift
- Get current song playing in Spotify on iPhone
- Get spotify currently playing track
- Starting a Song from Spotify Intent
Take a look at the example project "Guess the Intro" included with CocoaLibSpotify. The method
waitAndFillTrackPool
in that project shows how to get a list of all the tracks in the user's playlists.Once you have that list, you can do the following to get the artists from them, put them through a set to thin out duplicates, then wait until they're loaded.