Download

Stream Audio from Spotify, Apple Music, SoundCloud or any other suggested /possible places

Hello UE Family, Jenna here with a hard question, I have been trying to research this for the past 3 weeks and still no promising path forward so im looking to the community to see if I can get steered in the right direction with this tone. Bottomline on top, I have two use cases I am trying to achieve.

  1. As a game user, I want the ability to open the game app and while playing a certain level in the game a specific song from spotify/Apple Music/ soundcloud (which ever is possible) should be playing on repeat in the background. It must stream from one of the big streaming service so it can count as a music stream for the artist. I explain this further in the second use case below as to why we need it to count as a stream for the artist.

  2. As a game user, I want the ability to enter the game app and press a button called music, Where I will be taken to a page with a list of specific songs from a artist, lets say for example 10 songs from a specific artist. When I click to listen to the songs, it should stream the song from either spotify/Apple Music/ soundcloud. Before folks say this is too much trouble why dont we just add the audio files to the UE project, I need to be able to stream the song from an actual reputable app in the music industry because we need the song plays to count, at the end of the day if their song was streamed 10 K times, from our game app we want to make sure these streams count so we can show these stream numbers to a record label, and record labels will only recognize the big players, spotify, Apple Music, soundcloud.

I have read in UE there is a plugin out there that lets you control the spotify app with unreal engine, but that is different than what we are trying to do for our use cases above. For reference here is the article:

Considerations:

  1. Spotify Free User VS Premium User consideration: if the end user playing the game is not a premium spotify user, then for use case 1, I dont think there is a way to stream a specific song to the end user, please correct me if my understanding is not correct. Please see here for reference to spotify documentation regarding Premium user vs free users. . Under the section Free and Premium users it states that non premium users will experience the typical shuffling of songs and not get the specific song they intended to land on, unless they are premium user. Please correct me if I am misunderstanding this. If that is the case, does anyone know of any work around, or any other service I should we leaning towards?