When exactly does "Automatic matching" happen? #4894
-
|
I've been playing around with Music Assistant over the last week, and the one thing I'm confused about is the "automatic matching"/"linking" feature. As an example, my MA setup has two providers: self-hosted Navidrome through OpenSubSonic and Tidal. I don't have any music in my Tidal library - it's just used for things I don't own yet. Given that, Tidal is not set to sync artists, albums etc to the MA library, but Navidrome is. When I search for an artist, I'll not surprisingly end up with a library item and a Tidal item. Here's Agriculture as an example:
If I click into the library item I see a list of the albums I own (that are on Navidrome) and if I click into the Tidal one I see everything the artist has on Tidal (this is a good example because I own one EP not on Tidal and Tidal has an album I don't own - 2 on each). Now, if I hit "Refresh item" in the library item, the library and Tidal item are merged:
The album I don't own appears listed with the albums I do - no duplicates! There's also now a Tidal listing in "Provider details" and when I search for the artist there's only one item. Now though, if I search for one of the albums, I still get the library and Tidal item. Once again though, hitting "refresh item" appears to fix this, but appears to clear the Tidal mapping for the artist forcing me to re-refresh there! So doing this manually seems to kind of work, but is a little clunky and is going to be a constant bit of work. The docs appear to suggest that this should happen automatically? For example, here and here. This previous discussion seems to suggested that the matching happens lazily (triggered by viewing an item), but that is not what I'm seeing. If it is automatic, it's not explicit when this happens, how often or if it can be manually triggered (for anything other than a single item at a time anyway). So some questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
The search is not deduplicated. Merging will only happen when an item is imported into the library. The global search simply lists everything it can find across all providers and the library |
Beta Was this translation helpful? Give feedback.


yes, or simply add the same item from Tidal also to the library, that will also trigger the matching logic.
For now, we can not do the matching in advance due to the resource constraints we have being a open source project with all these local instanced doing a lot of requests to API's. I sure hope this gets fixed in the near future when we have a global ache available.