B4J Question counting mp3 files in media player

oldmanofthesea

Member
Licensed User
what I mean is that I can play single files and they do fine. but when I have a list of 2 or more files I want to mp.play, using a for loop, the pgm does not wait for each mp3 file to finish before counting on.
 
Upvote 0

Daestrum

Well-Known Member
Licensed User
Longtime User
You will probably have to put the logic to load and start the next mp3 in the Mediaplayer.Complete sub. ( I am assuming it calls 'Complete' when the current track finishes playing).
 
Upvote 0
Top