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

Auto pause does not work #bug #187

Open
Barty94 opened this issue Feb 19, 2024 · 4 comments
Open

Auto pause does not work #bug #187

Barty94 opened this issue Feb 19, 2024 · 4 comments

Comments

@Barty94
Copy link

Barty94 commented Feb 19, 2024

Auto pause of media does not work, also ear detection not working when you are listening to media.

Device: Samsung Galaxy s23
Earbuds: Airpods Pro (2021)
Media player: Spotify

Issue: When listening to media, app does not detect when earbud is in ear, when you stop media and earbud is out of your ear, then it detects it as out in the app, when put back to ear, app detects it is back in ear and resume playing media again, so auto-play feature works properly, but auto-stop does not.

Please fix it as I purchased Pro version due this functionality.

@Barty94
Copy link
Author

Barty94 commented Mar 21, 2024

Can you check this pls? I suppose it Will be easy fix, just some condition is not working as auto play and ear detection works fine.

@Barty94 Barty94 changed the title Auto pause does not work Auto pause does not work #bug Jul 12, 2024
@d4rken
Copy link
Member

d4rken commented Jul 12, 2024

Can you provide a debug log of this behavior?

On first glance, the play/pause code looks correct:

https://github.com/d4rken-org/capod/blob/main/app-common/src/main/java/eu/darken/capod/reaction/core/playpause/PlayPause.kt

@SimplyAnotherAnon
Copy link

Can you provide a debug log of this behavior?

On first glance, the play/pause code looks correct:

https://github.com/d4rken-org/capod/blob/main/app-common/src/main/java/eu/darken/capod/reaction/core/playpause/PlayPause.kt

I'm having the same issue on Pixel 8 Pro Android 14, CaPods can detect when the airpods are inserted into my ear - but cannot tell when I take them out unless I put them back into the case and thus keep playing music. This is the case whether it's with one airpod or both, as I have one pod mode enabled so it shouldn't matter.

I'm not the OP, but I've attached my debug logs below, I put the airpods back in the case, put one into my ear and then took it out, waited a few seconds (music still playing) then back into the case, and then repeated this but using both airpods - same issue.

Debug Logs: https://drive.filen.io/d/bcbc72ed-8776-4607-b779-0fd466e8b2ed#DeQW7cCNkv2fdcOROuutMmGsGuVYHuYk

@d4rken
Copy link
Member

d4rken commented Jul 13, 2024

@SimplyAnotherAnon That sounds a bit like #38 which is a bug in Apple's firmware 🙁

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

3 participants