ap-atul / music_player_lite

An elegant and lightweight music player for android
The Unlicense
119 stars 22 forks source link

The notification isn't shown properly #6

Open PalanixYT opened 3 years ago

PalanixYT commented 3 years ago

The audio player shows a normal notification, instead of using Android's built in "option" (I'm not sure what the right name would be)

Great project btw!

ap-atul commented 3 years ago

Can you share an image of the notification? Not sure what you are mentioning.

PalanixYT commented 3 years ago

here vinyl is using the android player space, but mpl uses standard notification space

ap-atul commented 3 years ago

Thanks for pointing this out. Will take a look into it this weekend 🙂

ap-atul commented 2 years ago

Did a bit of research. Not sure how to solve this? If you know more about this, feel free to contribute.

VishnuSanal commented 2 years ago

If you know more about this, feel free to contribute.

I think OP was referring to this. This blog might help.

PS: @AP-Atul If you think this can be implemented to Music Player Lite, I'd love to work on this :)

ap-atul commented 2 years ago

@VishnuSanal I would love to have someone else contributing too. You can surely do a better job than me Feel free to change/delete/update the code.

VishnuSanal commented 2 years ago

@AP-Atul I tried this, but I wasn't able to get it working. I tried adding the code for MediaControls on PLayerSevice#configureMediaSession() and muting the existing notification. But, I wasn't able to get it working. I am dropping this. Good luck for implementing this from your side. :) Thanks for the amazing app, BTW :D I'll keep a look on the issues section & see if I can find anything to work on.

Wjxfi commented 1 year ago

https://github.com/MaximillianLeonov/Musicmax did it

Wjxfi commented 1 year ago

https://apt.izzysoft.de/fdroid/index/apk/com.github.pakka_papad did it too