Search code examples
iphoneiosspotifycocoalibspotify-2.0libspotify

Searching spotify user's music library for particular genre


I am developing third party app on spotify platform. In that, user have to select spotify user's music library playlist (top 100 songs by Spotify user). So, I am trying to search spotify library for particular genre. I am using SPSearch with Query genre:pop. But for some generics like "rock" it return nil.

I am using latest build of cocoalibspotify. Please can somebody tell how to get Spotify user track list or playlist for particular genre?


Solution

  • The full advanced search documentation can be found here.

    Note that this will search the entire Spotify catalog, not just the user's own library. There's currently no built-in way to only search the user's library at this time.