0

Is it possible to use libspotify to obtain the URI of a track and play it using a higher level Media Player? For instance, I'm interested in doing this with a QMediaPlayer in Qt. I ask this because one of Spotify's sample applications uses lower level API's to write the samples directly.

I'd rather do this simpler, similar to how Grooveshark's API works by returning a URL for the track and simply setting that on the high level media player.

Joey Carson
  • 2,973
  • 7
  • 36
  • 60

1 Answers1

0

No, the only way to get audio for a Spotify track is using libspotify's audio delivery callback, which delivers raw PCM data.

iKenndac
  • 18,730
  • 3
  • 35
  • 51