Conversation
Gjuju
force-pushed
the
contrib/qobuz-metadata-fallback
branch
8 times, most recently
from
September 17, 2026 14:14
1efecae to
457ed6f
Compare
TrackStarted is the only writer of the metadata cache, and the cache is truncated when a session ends. The Qobuz app hands a session over PAUSED: the daemon loads the track and waits for a play command, so no TrackStarted is emitted and the renderer screen stays empty until playback is started by hand. The daemon knows the track the whole time, so ask it through its local API rather than giving up. A daemon that answers nothing leaves the variables untouched and the caller skips exactly as before. This also restores the daemon's API address, which the pibuz rename dropped from this script along with its last user. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Gjuju
force-pushed
the
contrib/qobuz-metadata-fallback
branch
from
September 19, 2026 07:16
457ed6f to
e6f913d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Qobuz app can hand a session over PAUSED: the daemon loads the track and
waits for a play command, so no TrackStarted is emitted. TrackStarted is the
only writer of the metadata cache, and the cache is truncated when a session
ends — so the renderer screen has nothing to show until playback is started by
hand.
The daemon knows the track the whole time, so ask it through its local API
rather than giving up. A daemon that answers nothing leaves the variables
untouched and the caller skips exactly as before.
This also restores the daemon's API address, which the pibuz rename dropped
from this script along with its last user.
Traced on x86_64 with pibuz 2.4.1 and debuglog on:
qbzmeta.json was 0 bytes throughout, while
pibuz statusreported the trackand its position.
🤖 Generated with Claude Code