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

Pause video when bluetooth headphone pause button is pressed #8

Closed
mikavilpas opened this issue Apr 23, 2021 · 3 comments
Closed

Pause video when bluetooth headphone pause button is pressed #8

mikavilpas opened this issue Apr 23, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@mikavilpas
Copy link

My bluetooth headphones have a pause+resume button and two volume controls. The volume controls work right now, but the pause button does nothing.

If I use the same headphones with Netflix or YouTube (vanced), the video is paused and resumed like one would expect.

@arianneorpilla arianneorpilla self-assigned this Apr 23, 2021
@arianneorpilla arianneorpilla added the enhancement New feature or request label Apr 23, 2021
@arianneorpilla
Copy link
Owner

I have implemented this feature in 0.13.1.

See the relevant line in the release notes:

  • (New Feature) Headset Play/Pause* - Users will now be able to play and pause the video with their headset controls

With that, I am closing this issue.

@arianneorpilla
Copy link
Owner

I am aware of an issue where this functionality does not seem to persist if the user changes apps or performs any lifecycle changes (sleep).

The audio_service I'm using seems to terminate leading to the headset button callbacks unable to call. I'm reopening this issue.

@arianneorpilla
Copy link
Owner

I have implemented a fix for this in 0.13.3.

See the relevant line in the release notes:

  • Fixed an issue where switching tasks or changes to the app life cycle invalidating headset controls

With that, I am closing this issue.

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

No branches or pull requests

2 participants