Automattic / Automattic/pocket-casts-android

Headphone Controls not working with USB to Aux Port adaptor- Audio Rewinding Rapidly

Open
#3,848 1 comment 0 reactions 0 assignees View on GitHub
[Area] Playback [Priority] Low [Type] Bug
Dominant language
Kotlin
Stars
2.8k
Forks
308
Avg merge
1d 13h
Merged PRs (30d)
143

Description

### Description

When using an adapter that goes from the USB port in a vehicle, and splits into a charger and a Aux Port, the episode being played in Pocket Casts rapidly rewinds.

Changing the [Headphone Controls](https://support.pocketcasts.com/knowledge-base/headphone-controls/) Next Action and Previous Action to Add Bookmark resolves the issue.

### Step-by-step reproduction instructions

Changing the [Headphone Controls](https://support.pocketcasts.com/knowledge-base/headphone-controls/) Next Action and Previous Action to Add Bookmark resolves the issue with playback.

### Screenshots or screen recording

While having the Add Bookmark feature resolves the issue with play back, having Add Bookmark assigned to the Headphone Controls causes bookmarks to be created repeatedly.

>
I 01/4 14:58:14.395 Event from Media Session to add bookmark. I 01/4 14:58:14.431 Opening deep link: Intent { act=INTENT_OPEN_APP_ADD_BOOKMARK cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=au.com.shiftyjelly.pocketcasts cmp=au.com.shiftyjelly.pocketcasts/.ui.MainActivity }. Safe URI: nullI 01/4 14:58:14.446 Set up periodic refreshI 01/4 14:58:14.485 Shortcut update from refresh_app, top filter title: New ReleasesI 01/4 14:58:15.175 Audio device removed: BY Hi-Res Audio, USB headsetI 01/4 14:58:15.193 Audio device removed: BY Hi-Res Audio, USB headsetI 01/4 14:58:24.536 Set up periodic refreshI 01/4 14:58:24.586 Shortcut update from refresh_app, top filter title: New ReleasesI 01/4 14:58:25.535 Running refresh from open appI 01/4 14:58:25.537 RefreshPodcastsTask – runNow – StartI 01/4 14:58:26.093 Refresh – podcasts response – 550 msI 01/4 14:58:26.106 Refresh – sync complete – 12 msI 01/4 14:58:26.107 UpNextSyncWorker – scheduledI 01/4 14:58:26.122 UpNextSyncWorker – startedI 01/4 14:58:26.543 UpNextSyncWorker – finished – 420 msI 01/4 14:58:26.563 Refresh – sync up next – 457 msI 01/4 14:58:26.788 Refresh – sync update – 224 msI 01/4 14:58:26.791 Refresh – process server response – 0 msI 01/4 14:58:27.078 Refresh – sync settings – 139 msI 01/4 14:58:27.453 Sync history task scheduledI 01/4 14:58:27.455 Refresh – sync play history – 3 msI 01/4 14:58:27.498 Sync history runningI 01/4 14:58:27.636 Refresh – checkForEpisodesToAutoArchive – 20 msI 01/4 14:58:27.643 Refresh – checkForUnusedPodcasts – 5 msI 01/4 14:58:27.645 Refresh – playlist checkForEpisodesToDownload – 1 msI 01/4 14:58:27.648 Refresh – podcast checkForEpisodesToDownload – 3 msI 01/4 14:58:27.649 Refresh – updateNotifications – 0 msI 01/4 14:58:27.651 RefreshPodcastsTask – runNow – Finished Success {mOutputData=Data {}}I 01/4 14:58:27.758 Sync history completed successfully

### Did you search for existing bug reports?

- [x] I have searched for existing bug reports.

### Device, Operating system, and Pocket Casts app version

Phone: Google – Pixel 7 Pro – Pixel 7 Pro – cheetah
Kernel: 6.1.99-android14-11-gd6f926cfde54-ab12786694 – r-456ae1c9fa6a8c5c-5bhm
Android version: 15 SDK 35

App version : 7.84.1 (9322)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue on a Pixel 7 Pro running Android 15 with the USB-to-Aux adaptor and Pocket Casts 7.84.1, then review the supplied Media Session and audio-device log sequence. Done means headphone controls no longer cause rapid rewinding or repeated bookmark creation.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
audio-video-rtc, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.