feat: add Deezer as the default download source
CI / chart (push) Successful in 3s
CI / test (push) Successful in 2m23s
CI / chart-push (push) Successful in 5s
CI / image (push) Successful in 3m50s

- V9 adds source/external_id to songs, moods, recommendations and jobs
- Deezer public catalog for search, related album covers and metadata
- streamrip downloader configured with DEEZER_ARL, 128/320 MP3
- per-mood source selector; switching clears and refills recommendations
- keep YouTube Music as a full second catalog and downloader
- media layout <source>-<externalId>, legacy YouTube folders still read
- Docker/streamrip install, chart ARL secret, docs and dual-source smoke test
This commit is contained in:
TapTap committed 2026-11-17 07:32:34 +00:00
1 parent 81a47f4cd2
commit 141698282d
43 files changed
+2072 -605

No files matched your search

+1 -1
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: audiomanager
description: Mood-first self-hosted music server
type: application
version: 0.3.0
version: 0.4.0
appVersion: "0.1.0"
@@ -1,3 +1,9 @@
{{- if not (has .Values.defaultSource (list "deezer" "youtube")) }}
{{- fail "defaultSource must be deezer or youtube" }}
{{- end }}
{{- if not (has (int .Values.deezer.quality) (list 0 1)) }}
{{- fail "deezer.quality must be 0 (128 kbps) or 1 (320 kbps)" }}
{{- end }}
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -44,6 +50,22 @@ spec:
value: ffmpeg
- name: YTDLP_PATH
value: yt-dlp
- name: STREAMRIP_PATH
value: rip
- name: DEFAULT_SOURCE
value: {{ .Values.defaultSource | quote }}
- name: DEEZER_QUALITY
value: {{ .Values.deezer.quality | quote }}
- name: DEEZER_API_BASE
value: {{ .Values.deezer.apiBase | quote }}
{{- if .Values.deezer.existingSecret }}
- name: DEEZER_ARL
valueFrom:
secretKeyRef:
name: {{ .Values.deezer.existingSecret }}
key: {{ .Values.deezer.key }}
optional: true
{{- end }}
{{- with .Values.env }}
{{- toYaml . | nindent 12 }}
{{- end }}
+12
View File
@@ -20,6 +20,18 @@ users:
existingSecret: audiomanager-users
key: users.yaml
# Default catalog for new moods. Users can switch each mood between Deezer and
# YouTube Music. Deezer needs an ARL cookie in a secret.
defaultSource: deezer
deezer:
# Create this secret with `kubectl create secret generic audiomanager-deezer
# --from-literal=arl=...`. Leave it empty to use YouTube Music only.
existingSecret: ""
key: arl
# 0 = 128 kbps MP3 (Deezer Free), 1 = 320 kbps MP3 (Deezer Premium).
quality: 0
apiBase: https://api.deezer.com
# The media root, database, cover cache and download temp dir all live here.
data:
persistence: