Arthi-chaud / Meelo

Self-Hosted, Personal Music Server, designed for collectors and music maniacs
GNU General Public License v3.0
43 stars 0 forks source link

Rewrite External Metadata #669

Open Arthi-chaud opened 4 months ago

Arthi-chaud commented 4 months ago

Fetching external metadata takes a long time, and multiple runs are sometimes necessary to get all metadata. Additionally, we usually fetch more metadata than necessary.

Let's rewrite how this whole process works:

API (See #760)

External Metadata

There should be a single model for external metadata with:

Providers

We should keep the provider model, but let's make it simpler

(I.e. Remove the homepage URL)

Matcher Microservice

A microservice should be dedicated to this feature:

Event handling

On Artist/Album/Song creation:

HTTP API

Providers

Front

Conception

Arthi-chaud commented 1 week ago

Here is the workflow of the metadata matcher:

The goal is to have the smallest number of HTTP request per item, for the sake of performance and network load

Arthi-chaud commented 1 week ago

Regarding the collection of providers, at startup