Skip to content
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

[BUG] Media Session Issues #102

Closed
z9xx7o0 opened this issue Jan 8, 2024 · 4 comments
Closed

[BUG] Media Session Issues #102

z9xx7o0 opened this issue Jan 8, 2024 · 4 comments

Comments

@z9xx7o0
Copy link

z9xx7o0 commented Jan 8, 2024

Thanks for the update it fixed a lot of problems and added so many new features, but there is still one that is the most important, when the track is paused I can't resume it from the notifications. Also, the "resume if was paused by interruption" option doesn't work, so anytime the track gets paused by an interruption and the interruption is finished, I want the track to resume but it doesn't. So I go to the notifications and try to resume it, but i can't do that, so I have to stop what I'm doing, open the namida app, resume the track, and then come back.

@MSOB7YY
Copy link
Member

MSOB7YY commented Jan 8, 2024

i did experiment with the "resume if was paused by interruption" with no luck, should investigate further.
about resuming from notification, this really weird as the notification is kept alive so it should work normally, most probably an issue with android side, whats ur device model & Android version?
logs might help too.

@MSOB7YY MSOB7YY changed the title Issue [BUG] Media Session Issues Jan 8, 2024
@z9xx7o0
Copy link
Author

z9xx7o0 commented Jan 8, 2024

I see the "resume if was paused by volume" is working just fine. I don't know why the other one doesn't work. I am currently running oneUi 6.0, which is android 14, and I am on the Samsung Galaxy s23 ultra. Sorry, I don't know how to get the logs, but I hope that helps!

Edit: I wanted to mention that I am running the app as unrestricted, so my phone doesn't just kill the app after it stops playing.

@MSOB7YY
Copy link
Member

MSOB7YY commented Jan 8, 2024

volume works cuz they are both handled differently, a listener just keeps listening to device volume and plays/pauses accordingly

while the other one is managed internally by android media session token, i suspected at first that the other apps dont send back that they stopped playing, but it seems there is more than that

investigating will surely take time


about the play from notification issue, i highly doubt its due to android 14 shakalaka thingy, logs might be needed idk so try sharing it from "settings > about > share logs"
otherwise ill install android 14 emulator and check things, but later

@MSOB7YY
Copy link
Member

MSOB7YY commented Jan 18, 2024

@z9xx7o0
as mentioned,

  • "resume if was paused by interruption" was fixed, and also introduced a logic to not resume if was paused for more than specific duration.
  • notification play button is also fixed, it was an Android 14 specific issue

thanks for pointing these out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants