Skip to content

Explore exact metadata matching in playlistfind - #101

Draft
adamcik wants to merge 4 commits into
protocol-019-baselinefrom
playlistfind-title
Draft

adamcik wants to merge 4 commits into
protocol-019-baselinefrom
playlistfind-title

Conversation

@adamcik

@adamcik adamcik commented Oct 16, 2026

Copy link
Copy Markdown
Member

Summary

playlistfind → exact metadata matching + all matching queue entries

Exploratory work, offered for reuse or cherry-picking; no expectation to adopt it. Stacked on protocol-019-baseline; extends the scenarios and upstream observations.

Evidence

  • Adds focused protocol tests and reference records. Today's rerun timed out rebuilding MPD; validation is incomplete.

Merge Danger

Door: two-way
Blast Radius: clients

Allow playlistfind to match queued track names while preserving filename lookup and reporting the matched position and ID. Normalize tag names consistently and record mixed-case behavior against the pinned MPD reference.
Match Genre, Comment, and MusicBrainz track IDs using Mopidy's exact tracklist filter fields. Cover populated queue matches locally and record the pinned MPD responses for absent fixture tags.
MPD reports each duplicate match with its own queue position and ID, while Mopidy-MPD previously stopped at the first result. Walk the queue once after filtering to preserve order and cover the behavior in the protocol scenario and pinned reference record.
Make queue-local tag lookups work for nested artist and album metadata as well as direct fields, while preserving all matching positions and IDs. Expand the fast protocol fixture with the pinned media's tags and record the new upstream queries so unsupported and ambiguous tag behavior stays visible.
@adamcik
adamcik added this pull request to stack #102 October 16, 2026 19:03

This branch has not been deployed

No deployments
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.

1 participant