macsome_11 #52
No reviewers
Labels
No labels
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
WulfScience-FOSS/ha-music-own!52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "macsome_11"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
_plex_find() only compared artist against grandparentTitle with a single fuzzy score. Two real cases caused already-owned tracks to be reported as unowned and re-added to the Plex Wish List: - Multi-artist tracks: t.artist is a comma-joined credit list ("Drake, Rihanna"), which dilutes token_sort_ratio against Plex's single grandparentTitle ("Drake") enough to swing below the 85 threshold. Verified directly: "Drake, Rihanna" vs "Drake" scores 76.9 for an otherwise exact title match. Now also scores each individual credited artist name. - Compilations/Various Artists albums: grandparentTitle is the album artist, not the track artist, so these scored near zero regardless of threshold. Now also checks Plex's originalTitle (its dedicated per-track artist field). Also retries a transient Plex search error (1s/3s/5s backoff) instead of silently treating the first failure as "not owned", and logs the best near-miss score on a no-match so future discrepancies are diagnosable from logs. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>