- introduce the in-process metadata engine and fresh provider adapters - normalize external identity through source_id while keeping id as a compatibility alias - route metadata callers through the new seam and add regression coverage
15 lines
392 B
Python
15 lines
392 B
Python
"""Shared metadata source constants."""
|
|
|
|
from __future__ import annotations
|
|
|
|
METADATA_SOURCE_PRIORITY = ("deezer", "itunes", "spotify", "discogs", "hydrabase")
|
|
|
|
METADATA_SOURCE_LABELS = {
|
|
"spotify": "Spotify",
|
|
"itunes": "iTunes",
|
|
"deezer": "Deezer",
|
|
"discogs": "Discogs",
|
|
"hydrabase": "Hydrabase",
|
|
}
|
|
|
|
METADATA_PROVIDER_SOURCES = ("spotify", "deezer", "itunes", "discogs")
|