Player - Device Audio, Loop - Play Streaming

Unfortunately, that doesn't work for me.

As I said, use AudioExoPlayer.

I have now tested AudioExoPlayer. After about 7 minutes, playback stops. When I turn the screen back on, the player continues to play. I tested with ExoPlayerTest2 (5).aia.

I'll post a working app tomorrow.

:question:

Try this one:

Hello, an initial test of your APK was successful. I tested it.

version

That block does not exist.

Block

Thank you. Peter

What kind of aix did you use?

Block

Does this procedure belong to AudioExoPlayer, or did you write it?

Thanks, I'll have to try that right away. Best regards, Peter

1 Like

Yes, and please give feedback, as I have simplified (rewritten) the extension.

I have now integrated AudioExoPlayer and your Prevent Doze extension into my radio app. It works great. The stream runs without stopping. Unfortunately, it didn't work with JoeDevPlayer.
Thank you very much. Best regards, Peter

1 Like

Update v1.6 Hybrid Version MediaPlayer + ExoPlayer.


Now it's possible.

Hi @Joejsanz, I've been using some of your extensions for a while now, but with the default App Inventor player. I was really interested in being able to use the controls to manage start and stop from the headphones like on your player. I wanted to ask if you could kindly create an extension with just this feature, so I can manage play and stop on the player I already use.
Thank you very much and congratulations on your work.

I am sure it will need less time for you to change Your code than for him or any other extension developer to write an extension for you. That really wouldnt be fair. What do you think about that?

A good idea. I'll give it a try.
Thank you very much. Best regards, Peter

1 Like

Hi Django, I honestly wasn't even thinking about having a developer work just for me. I wrote this message thinking that maybe someone else, like me, might enjoy having a single extension with just that one feature. I've never written extensions myself, but I have some programming knowledge, and my thought (perhaps wrongly) was: maybe I could just copy the few lines of code that handle this function and paste it into a new extension file, and that's it, since he'd already created an extension that handles this function... :slightly_smiling_face:

1 Like

If possible, I'm testing that extension and others that complement it for use with the AI2 Player.

1 Like

Thank you so much Joejsanz, if I can help you in any way I'd be happy to do so.