feat: wire adapter registry into worker loop

This commit is contained in:
Jonathan
2026-07-10 18:59:28 +02:00
parent 7c28eddd47
commit fbd6a056a4
3 changed files with 24 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
from lyra_worker.adapters.base import SourceAdapter
from lyra_worker.adapters.fakes import FakeQobuz, FakeSoulseek, FakeYouTube
def build_adapters() -> list[SourceAdapter]:
"""The enabled source adapters, best-tier first.
SWAP POINT: Plan 3 replaces these fakes with real Qobuz/Soulseek/YouTube
adapters (reading credentials from config). Nothing else in the pipeline changes.
"""
return [FakeQobuz(), FakeSoulseek(), FakeYouTube()]