-
Notifications
You must be signed in to change notification settings - Fork 115
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] MacOS Focus Lost After Manually Skipping Songs in Gapless Playback #715
Comments
@fr-eed Thank you for the bug report. I'll investigate this. |
Also to note. Currently Dopamine works weirdly with the Control Center Now Playing widget, after switching a song it disappears for a moment and then appears |
@fr-eed Does this also happen when gapless playback is disabled? |
Yes Screen.Recording.2024-10-22.at.9.22.06.PM.mov |
@fr-eed Keep an eye in this build: https://github.com/digimezzo/dopamine/actions/runs/11468241556 It's currently building. As soon as it has artifacts, could you try it out? I tried to fix the problem in it. Thanks! |
So, gapless playback doesn't cause initial bug but now:
Behavior shown in my video still persists Maybe MacOS doesn't need the gapless feature at all? |
@fr-eed Thanks for the info. This seems more complicated than I thought. I'll test it out here on a macOS Virtual Machine. |
@digimezzo Screen.Recording.2024-10-23.at.11.05.55.AM.mov |
@fr-eed Could you try out this build? https://github.com/digimezzo/dopamine/actions/runs/11548036703 |
Works good without gapless playback. Now Playing widget integration works as intended but sometimes author gets updated slower than the music title With gapless playback original bug still exists but not as consistent. I need to use app for some time for it to appear. It's easier to trigger if you have second player running in the background Also that still exists with gapless playback on:
|
@fr-eed Thanks for testing out. Is it possible to make a video of the 200ms problem? I'm not sure how I should reproduce that. Thanks |
It's an audio issue. I can share a recording later. After some more testing I've found out that this bug occurs only with wireless headphones. Most likely system wants to sync it with wireless delay and your app overrides it |
Screen.Recording.Dopamine.mp4It sounds like this with gapeless playback on with bluetooth headphones connected as main audio output. Tested on this build: https://github.com/digimezzo/dopamine/actions/runs/11619031390 |
When the "Gapless playback" feature is enabled, Dopamine loses media focus after manually skipping a few songs using the "Now Playing" feature in macOS Control Center or multimedia keys. Once Dopamine loses focus, pressing the multimedia keys (play/pause, next/previous) defaults to controlling Apple Music instead of Dopamine.
Steps to Reproduce:
MacOS version: macOS 15.0.1
Dopamine: 3.0.0-preview.36
The text was updated successfully, but these errors were encountered: