When you have relisten playing in chrome pressing a hardware play/pause button on your keyboard doesn't pause the music. I asked Claude about this, and got this in response:
Two separate real issues on RelistenNet/gapless.js:
- In HYBRID mode the media session is attached to an element that never plays, so OS-level pause can't work by construction — declaring playbackState = 'playing' doesn't help, because Chrome trusts the element. The fix is to give Chrome a genuinely-playing element (e.g. route the Web Audio output through a MediaStreamAudioDestinationNode attached to a playing element).
- Queue.destroy() stops the actor but never nulls the four handlers it registered, leaving dead closures on navigator.mediaSession. Latent, not your bug today, but real.
When you have relisten playing in chrome pressing a hardware play/pause button on your keyboard doesn't pause the music. I asked Claude about this, and got this in response:
Two separate real issues on RelistenNet/gapless.js: