Player - Device Audio, Loop - Play Streaming

No, why?

No, you may think you need it. In fact, there is hardly any major streaming app that uses a stop button and especially does not display one in the notifications.

But you could use the pause button to cancel/stop the stream and return to the application. From there, the stream can then be restarted (with the usual buffer time).

Update, Dic. 21, 2024. - Version: 1.0.4

Update, Jan. 04, 2025. - Version: 1.0.5

Thank you for the update
It would be nice to have a helper block for the audio types

Taifun

2 Likes

Thanks Taifun.

I was between putting the help block or leaving it like this, I had doubts that it would be the best, but now that you mention it I think it is better to put the help block.

I'll do it tonight.

2 Likes

ㅤ Added Helper-Block to GetMusicFiles.ㅤ V1.0.6
Jan. 05, 2025.

2 Likes

Update, v1.0.7
Jan. 11, 2025.

I congratulate you on the work you are doing.. I noticed that when you close the application and delete the notification that is in play the music continues to play and you can not stop it.. in my opinion you should make it so that when the notification is in play it cannot be deleted..

1 Like

Thanks a lot Daniel

It is true, in Android 14 this happens, in Android 11 it does not.

What version of Android do you have?

I will review it so that it also works on Android 14.

Yes I have android 14


If you mean that you click a close application button or the Back button, then it should be no problem to stop the sound. However, if you mean that you remove the app via the task manager and thus close it, then you are right. In this case, the sound may continue to play for a few seconds (at least if you are streaming the audiotrack). So there seems to be something left in the cache.

Yes if you want to stop the sound with the back button you can do it safely. I just wanted to inform him that on android 14 the notification does not work properly.

Update, v1.0.8
Jan. 19, 2025.

Update, v1.0.9
Jan. 23, 2025.

Update, v1.1.0
Feb 01, 2025.

1 Like

Is there an AIA example that I can learn from?

I have the one I've been testing with, I'll just check it and share it with you here.

Here is the aia project that I have been testing with, the blocks are not organized and there are probably some unnecessary blocks that are not being used, but here is the aia.

PlayerTest.aia (1.1 MB)

1 Like

thank you

1 Like

hello iwant to play mp3 file from online, how to get the "duration"?

1 Like