13 lines
474 B
Python
13 lines
474 B
Python
from lyra_worker.adapters._ytdlp import YtDlpClient
|
|
from lyra_worker.adapters.base import SourceAdapter
|
|
from lyra_worker.adapters.youtube import YouTubeAdapter
|
|
|
|
|
|
def build_adapters() -> list[SourceAdapter]:
|
|
"""The enabled real source adapters, best-tier first.
|
|
|
|
Only real, usable adapters are returned. Plan 3c/3d add Qobuz (streamrip)
|
|
and Soulseek (slskd), each gated on its config being present via health().
|
|
"""
|
|
return [YouTubeAdapter(YtDlpClient())]
|