CDrummond / lms-material-app

Android WebView wrapper for LMS Material Skin
MIT License
52 stars 8 forks source link

Add support for MediaControls api on android #17

Closed pacjo closed 8 months ago

pacjo commented 8 months ago

(I was about to open the issue over at squeezelite, but I think it's better to it it here.)

Having ability to control audio from MediaControls would be a welcome addition to the app. I hope it's possible to implement.

related to #5

CDrummond commented 8 months ago

As you stated, related to #5 - and not going to be implemented for the same reasons. Also discussed on forums:

https://forums.slimdevices.com/forum/user-forums/3rd-party-software/106269-announce-material-skin?p=1668548#post1668548

Note, as per the description, this is a simple WebView wrapper.

When the skin is used via Chrome, then it can show a notification like this - but it hacks it by playing 10second silent track in a loop.

pacjo commented 8 months ago

Ok, thanks

CDrummond commented 3 months ago

FWIW, next release (0.6.0) uses MediaSession API.

pacjo commented 3 months ago

That's awesome! Can't wait to try it out.