Hi there,
I'm wondering what would be the best solution for an app that
- Allows users to upload a song they created, and then have that song be available to all other users in the app and downloadable to them.
Would file management work for this, and if it does can you do the following
- Upload a json file containing all of the currently available songs (after being moderated by ourselves).
- Unity downloads that json file and shows a list of all the songs
- User clicks a 'play sample' button and then unity downloads the sample from the cdn and plays it.
- User decides to buy that song, unity downloads the real song from the cdn.
So the json would look something like this
{ "Songs": { "song1": { "info": { "title": "song 1", "filename": "song1.mp3", "samplename": "song1sample.mp3" } }, "song2": { "info": { "title": "song 2", "filename": "song2.mp3", "samplename": "song2sample.mp3" } } } }
If the user buys the song, can the cdn then download the mp3 by searching for the song? Or how would I then find the song that the user has bought to download it?
Thanks