I'm developing an iOS app that needs to get the artist's name and the song's title from a track playing on Spotify in background.
This is the flow:
- User is listening something on Spotify (web or native app)
- User opens my app
- App finds out which track is playing
- Another track plays
- App detects this and get the new track metadata
I tried to get that using the MediaPlayer framework (MPMusicPlayerController class) but nothing happens.
I looked in the Spotify SDK Api reference and found nothing too.
Is it possible ?
Thanks!