View Issue Details

IDProjectCategoryView StatusLast Update
0016409MMAPlaybackpublic2020-08-07 13:22
Reporterrusty Assigned To 
PriorityurgentSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.7 
Target Version1.4.0Fixed in Version1.4.0 
Summary0016409: MediaMonkey fails to terminate / remove from the notification drawer immediately (regression)
DescriptionThere have been several reports of playback related problems in which MM cannot be terminated or fails to close as expected following playback:

Log ID: G8ZQV5YF6H
Description: Can not stop mma and it opens on bt connection
user: Peke

Log ID: JHG8RRWCG9
Description: play, then stop MMA via notification bar --> MMA doesn't terminate
User: Rusty
i.e. in previous versions of MMA, stopping MMA via the 'stop' button on the notification bar closed MM. This no longer occurs. This isn't a horrible issue as MM can still be terminated by swiping the app closed, but it's still annoying as there's no way to remove the notification from within the notifications drawer. More importantly, I believe that this issue is partially the cause of the more severe issue outlined below

Log ID: SAQLXEBIBP
Description: MMA won't close after playing via Chromecast
User: Rusty
This issue occurs consistently as follows:
1) Play MM via chromecast
2) Attempt to Stop playback via the notifications bar
--> MM stops playback, but chromecast connection isn't terminated
3) Tap MM in the notifications bar and then tap the chromecast button in MM, and then 'Stop chromecast' to terminate the chromecast connection
--> Chromecast connection appears to terminate
4) Pull down notifications bar
--> MM notification continues to display and shows that the Chromecast connection is active!!
5) Press 'Play' in the notifications bar
--> Nothing happens!
6) Open MMA and press Play
--> Nothing happens!
7) Attempt to terminate MM by 'swiping' the app
--> It appears to terminate, but it remains open in the notifications bar!
The only way to get out of this situation is to reboot the device!!


TagsNo tags attached.
Fixed in build932

Activities

peke

2020-03-02 03:11

developer   ~0056986

Log ID: G8ZQV5YF6H Steps:
1. Make sure MMA is closed and in Options set MMA do not react on Connection
2. Disconnect BT
3. Connect BT
4. MMA shows in Notification
5. Tap STOP -> Nothing
6. Open MMA -> Play -> Nothing
7. LOG sent
8. Leave device
9. MMA closed

martin

2020-03-03 13:14

developer   ~0057022

Fixed in build 1.3.7.905

peke

2020-03-04 00:48

developer   ~0057030

Verified 905 Tested on BT Headphones and speaker.

Test observation: For past 6h of testing MMA background usage is lower by 40% than period before installation of 905

rusty

2020-03-04 04:53

administrator   ~0057035

Verified 905--the original usecase is fixed.

The only reason I'm re-opening it is because the behaviour when clicking 'Stop' in the notifications drawer is not immediate. i.e. Click 'stop' --> after about 1s, the player gets removed from the notification drawer. It should happen immediately.

martin

2020-03-04 08:12

developer   ~0057036

The notification is visible when PlaybackService is running.
Stop button stops PlaybackService, which has to release some sources first.
Maybe there can occur some delay, but I can not replicate it (it happens immediately on my side), please send a debug log.

rusty

2020-03-20 04:50

administrator   ~0057241

Pressed Play. Switched to browser. Then presed Stop via notification drawer
--> 3S for the notification to close
Debug log: NPFE26ACKX

martin

2020-03-20 13:11

developer   ~0057245

Based on your log, it can happen only when "Always respond to remote buttons" is enabled.
The issue is that PlaybackService started again for 3s to activate media session. This happens when MMA receives "onBecameForeground" event only. I can't replicate it, because I don't know why MMA receives this event on you phone.
To quick fix, you can try to disable "Always respond to remote buttons".
I think this is a very special case with low priority currently.

rusty

2020-03-20 14:13

administrator   ~0057247

Tested in build 910 by disabling 'Always respond to remote buttons' and the problem persists.
Debug log: MS89DC7YDZ

martin

2020-03-20 18:12

developer   ~0057249

Last edited: 2020-03-20 18:14

Re: MS89DC7YDZ
14:10:24.662 STOP_ACTION
14:10:24.796 hide All Notifications
On MMA side everything looks correct.

martin

2020-07-28 20:01

developer   ~0059168

Related to https://issuetracker.google.com/issues/147792378
("This is expected behavior if you have the latest security patch installed - FGS notifications must be visible for at least 5 seconds".)

Notification about the "stop" playback state caused 5s delay.
Fixed in build 1.4.0.0932

peke

2020-08-06 16:06

developer   ~0059257

Stop verified 932

I can't replicate BT issue anymore. If React on Connection is disabled MMA do not show.

rusty

2020-08-07 13:22

administrator   ~0059259

Verified 932.