Skip to content

Do not feed MPD's position back to itself#76

Merged
natsukagami merged 2 commits intonatsukagami:masterfrom
ncfavier:fix-seek-skip
Jan 28, 2026
Merged

Do not feed MPD's position back to itself#76
natsukagami merged 2 commits intonatsukagami:masterfrom
ncfavier:fix-seek-skip

Conversation

@ncfavier
Copy link
Copy Markdown
Contributor

Fixes #75.

This is probably still wrong, but less obviously so: when detecting a seek from MPD, there is no reason to tell MPD about the seek, we can just emit a DBus signal.

Ideally a signal would not be emitted when changing tracks, but I leave this as future work.

This is probably still wrong, but less obviously so: when detecting a
seek from MPD, there is no reason to *tell* MPD about the seek, we can
just emit a DBus signal.

Ideally a signal would not be emitted when changing tracks, but I leave
this as future work.
A function for computing the absolute value of a time.Duration.
Copy link
Copy Markdown
Owner

@natsukagami natsukagami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks reasonable. Thanks for taking a look at it!

@natsukagami natsukagami merged commit ceb2365 into natsukagami:master Jan 28, 2026
1 check passed
ncfavier added a commit to ncfavier/nixpkgs that referenced this pull request Jan 28, 2026
Fixes a difficult-to-diagnose bug where mpd skips the last
half-second or so of every track.
ncfavier added a commit to ncfavier/nixpkgs that referenced this pull request Jan 28, 2026
Fixes a difficult-to-diagnose bug where mpd skips the last
half-second or so of every track.
@doronbehar
Copy link
Copy Markdown
Contributor

Is there a chance for a new patch release with this PR included? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tracks are cut short by the next-in-queue

3 participants