-
Notifications
You must be signed in to change notification settings - Fork 148
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate media player notitications #443
Comments
That's curious.
|
|
Frankly I dont even recognize the notification popup in your screenshots. The OS skin is probably overriding the notification here (the 4 dots, side by side widgets, rounded play button, etc) There is high probability that rollback to previous versions wont help. If you are comfortable with installing custom APK not vetted by G Playstore, given by a stranger on the internet, then we can think of going down this road. |
Yup, looks like we are talking about a new Android feature here: https://android-developers.googleblog.com/2020/08/playing-nicely-with-media-controls.html?m=1
Here a build of version 1.1.2, before I've made some innocent change to the notification code: https://608-115534318-gh.circle-artifacts.com/0/outputs/circleci/release/vinyl_master_4a7107cd_210512-2020-circleci-release.apk Please uninstall and reinstall, and telle how it goes. |
Hm, that seems to have fixed it. I went through the same procedure I mentioned earlier a few times on this version and haven't gotten any duplicate players. I wonder what changed? |
Now that's troubling! |
Bug report with precise steps that help reproducing the issue right away - I dont expect that on noob level 👍 -- Can you please check if this build is any better? https://609-115534318-gh.circle-artifacts.com/0/outputs/circleci/release/vinyl_android-11-notification_070ffed7_210512-2246-circleci-release.apk It should contain the fix, or at least a work around for now. More details in #444 |
Now the duplicates are back again... |
Even with the apk containing the fix? |
Hopefully this can help give some insight |
Will get in touch with you via this thread. Thanks for the feedback! |
Not a problem, thanks so much for maintaining this app, it's quite wonderful |
The "shuffle all" item is intended for Android Auto only (and it can be other item, depending on your library section order) - I guess these are items that are shown with the rounded button in your case. I've made a new attempt to disable them if they are being requested from the system - can you please have a look? |
That seems to have fixed the duplication issue |
I might revisit that behavior, but if you killed the app explicitly, that's what to be expected, no? |
Sorry I didn't specify, I meant to say that it was the behavior I was expecting. Before if I closed the app (even if I force stopped the app in settings) the duplicates would still be there, but on this new version you sent me it no longer does that, ergo it's fixed. I haven't seen any issues with the media player in this new version, so I think it's fixed now. |
@littlelamp100 I have a question: Have you noticed the following behaviour? I have it on my emulator device, just wonder if this is the case on a real one. After launch, the now-playing notification is not shown on the first play (must pause/play for it to show up in the notif dropdown) |
I haven't noticed anything like that on my device |
Just checking - you meant on the latest build you sent in this thread, correct? |
Yes sir |
OK, so I will pretend that I dont see this weird behaviour, or it is linked with my slow emulation setup :-) The official release will come later, there are other issues still to be tackled. |
Should be fixed now |
Description
Sometimes I am getting duplicates of the media player notification, and the old ones can't be cleared. It looks like I have different queues from different apps, but only one of them correctly shows what's playing. This is not a problem with the classic notification, only the modern one.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would have expected the older media player notifications to be cleared out, or at least clearable.
Screenshots
Smartphone:
Additional context
In order to clear the duplicates, I've found that rebooting my device helps; attempting to remove them by long pressing or swiping doesn't do anything. Also, I have a feeling that this is specifically an issue with some/all Android 11 devices due to the changes they made to the media player notifications.
The text was updated successfully, but these errors were encountered: