moritz-weber / mucke

mucke - android music player
GNU General Public License v3.0
226 stars 12 forks source link

The music notification bar is very broken on xiaomi #109

Open Minblud opened 1 year ago

Minblud commented 1 year ago

Describe the bug The notification for your music app is very broken. First the timeline is always set to the end of the song. Second it's always on the pause button and when I click it it does pause but it stays on the pause button and I can't unpause it unless I go back to the app. The heart always shows that it's full even tho it isn't in the app. Also when I click on the heart 1 click it works and sets it to quarter but when I click a second time to set it to half a heart it won't set unless I click a 3rd time then it will set it to a half heart. All this is happening while the heart is still full in the notification bar. Also there isn't a shuffle button on there

To Reproduce Steps to reproduce the behavior: There isn't it's just broken like that there is no steps.

Expected behavior I expect it to work like all the other apps they all work fine and the notification isn't broken

Screenshots Screenshot_2023-07-01-02-41-52-537_com mi global bbs Screenshot_2023-07-01-03-06-55-468_rocks mucke

Smartphone (please complete the following information):

Additional context I already explained everything

moritz-weber commented 1 year ago

Thanks for the report. For Android 12+, the battery optimization can cause problems with the notification. This usually only occurs after losing audio focus (see #68). Maybe Xiaomi handles this differently. Could you try disabling battery optimization for mucke?