I’m working on an audio app for a client. It is a meditation podcast to help users fall asleep. Check app here.
Among the mandatory features the client would like to have, users should be able to add a track to their favorites, and then listen to their favorites playlist continuously. I am struggling to find a way to do it with the Audio Player component.
The continuous play is one of the key features of the app so the tracks already have an ID and a “next” ID so that users can listen to the audio content of the app without interruption. Adding a favorites playlist with continuous play feature means each user would create an additional custom order for the tracks in the database.
Has anyone of you an idea of how I could do this?
Thanks a lot!
Yeah, and you’d be able to reduce it to 1 loading screen with 1 countdown timer list of songs if you did it that way.
Next, previous, and song complete action links to song loader screen.
Song loader screen contains a list of all songs where song id is equal to song selection input.
On the Song selection input, put a rand function with the song numbers. Like, for me, i had 5 songs on that example, I’d put RAND(1,5) as the custom math formula in the input.
I’m still having some trouble with my app (probably due to my previous settings).
Would you be ok to share your version so that I can clone it?
Thanks,
No worries! I’ve finally found a way to make it work
Not sure but I think I might have done a mistake before when duplicating the countdown lists… I think it’s safer to re-create those instead of duplicating them in order to avoid errors in the data when changing the input value.