mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-24 23:55:52 +03:00
[PR #424] [Linux] Fix ear detection pause/resume with playerctl fallback #396
Labels
No labels
android
bug
documentation
enhancement
good first issue
help wanted
linux
pull-request
reverse-engineering
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librepods#396
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kavishdevar/librepods/pull/424
Author: @hazzsaeedharis
Created: 1/8/2026
Status: 🔄 Open
Base:
main← Head:fix/ear-detection-playerctl-fallback📝 Commits (1)
0d36ee1[Linux] Fix ear detection pause/resume with playerctl fallback📊 Changes
1 file changed (+37 additions, -8 deletions)
View changed files
📝
linux/media/mediacontroller.cpp(+37 -8)📄 Description
Remove isActiveOutputDeviceAirPods() check from pause/resume logic as it fails on some systems where PulseAudio can't detect the Bluetooth card properly
Add playerctl as fallback when DBus MPRIS doesn't find playing media players. This fixes compatibility with browsers and players that don't register properly with DBus on certain systems
Resume logic now correctly uses playerctl if that's how media was paused
Fixes ear detection not pausing media on aarch64 Ubuntu systems.
Summary by CodeRabbit
Release Notes
✏️ Tip: You can customize this high-level summary in your review settings.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.