prolessyt
(ProLessSkill)
#1
Hello there,
I’m making a music app and I can’t figure out how to do these things;
- Loop music - something like Spotify’s music loop
- Play next track automatically - I want it to play the next track automatically when the current one ends.
Help will be appreciated
Peter
(Moderator)
#2
What have you tried. Most of the time users like to help if they can see that you did some effort yourself.
1 Like
Robert
(rickastlee)
#3
Which media player component do you prefer using? With a simple player these can be helpful (replace 1 with next song’s index in list).
1 Like
DevYB
(Ayoub Mounchid)
#4
Hi @Robert
How I can do this with Exoplayer??
Robert
(rickastlee)
#5
Exoplayer also has an event named Status Cannged
and a property (modifiable) isPlaying
.
DevYB
(Ayoub Mounchid)
#6
But to do like that, we need statues “player is completed”.
Right?
Robert
(rickastlee)
#7
Right, but you don’t have to set status as it is automatically changes.
DevYB
(Ayoub Mounchid)
#8
I tried and it did not change the track automatically when the track is completed…
Robert
(rickastlee)
#9
Which blocks have you tried? Status changes automatically, not the current song.
DevYB
(Ayoub Mounchid)
#10
Can you show me the blocks please? because i don’t understand as well.
techcvr
(Vishal)
#11
Auto change - 1st get the song duration then set a timer of that duration if the timer is complete the change the next song.
Robert
(rickastlee)
#12
No need to get song duration. Just set the song and start playing it when previous song finished.
Hello!
Can this be achieved with airtable?
Robert
(rickastlee)
#14
As Airtable is able to store cells, yes.
Can you please send blocks?
techcvr
(Vishal)
#16
Did you try ??? Show your blocks…
I tried replacing the blue list block with Spreadsheet.View Name
techcvr
(Vishal)
#18
what i mean to say is what have you tried to make those option
Play next track automatically
techcvr
(Vishal)
#20
so what is the problem… if you don’t show your work then i wont be able to help you… upload your blocks screenshots