feat: rebuild AudioManager around downloadable moods
CI / chart (push) Successful in 3s
CI / test (push) Successful in 2m2s
CI / chart-push (push) Successful in 4s
CI / image (push) Successful in 3m20s

- V8 wipe migration and the shared song store keyed by YouTube video id
- media store, indexer, downloader, recommendation top-up and refcounted GC
- mood songs plus the recommendation lifecycle and mixed radio pools
- new search, song and recommendation API; remove library/longform/seed routes
- chart PVC/media env, docs, Nix, README and an end-to-end smoke test
This commit is contained in:
TapTap committed 2026-11-15 21:37:39 +00:00
1 parent 50d8b6c580
commit 824eb36dd2
59 files changed
+3838 -5276

No files matched your search

+5 -36
View File
@@ -15,52 +15,21 @@ imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
# Rendered into a ConfigMap as /etc/audiomanager/library.yaml.
# Keep folder IDs stable: they are part of song IDs.
library:
folders:
- id: 1
name: "Music"
type: music
path: /mnt/media/music
- id: 10
name: "Audiobooks & Podcasts"
type: longform
path: /mnt/media/longform
# Vault-managed users.yaml. The secret must already exist and contain the key below.
users:
existingSecret: audiomanager-users
key: users.yaml
# The media root, database, cover cache and download temp dir all live here.
data:
persistence:
enabled: true
size: 5Gi
# Songs are downloaded automatically, so plan for growth.
size: 20Gi
storageClass: ""
accessModes:
- ReadWriteOnce
# Automatic downloads for accepted recommendations. Files land in
# "<music>/AudioManager Imports" and are picked up by a scan, so the music
# hostPath must be writable by the pod.
downloads:
enabled: true
# Runs a root init container that creates "<music>/AudioManager Imports" and
# gives it to UID 10001. Disable only if the hostPath is already writable.
prepare: true
# Empty uses the first music folder visible to the user.
folderId: null
# hostPath mounts shared by every schedulable node.
media:
music:
hostPath: /mnt/media/music
mountPath: /mnt/media/music
longform:
hostPath: /mnt/media/longform
mountPath: /mnt/media/longform
service:
type: ClusterIP
port: 8080
@@ -82,8 +51,8 @@ resources:
cpu: 100m
memory: 256Mi
limits:
cpu: 1000m
memory: 512Mi
cpu: 2000m
memory: 1024Mi
podSecurityContext:
fsGroup: 10001