Files
AudioManager/charts/audiomanager/values.yaml
T
TapTap a5af1ee83f
CI / chart (push) Successful in 4s
CI / chart-push (push) Successful in 4s
CI / test (push) Successful in 2m5s
CI / image (push) Successful in 3m14s
feat: download accepted recommendations and track longform progress
Accepted recommendations without a library match now enter a download queue.
A worker downloads the MP3 with yt-dlp into "<music>/AudioManager Imports",
runs a scan, matches the new song, links it to the recommendation and adds it
as a seed. Jobs retry three times and expose queued/downloading/done/failed
state (plus the error) on the recommendation DTO, so clients can show progress
and retry. Downloads can be disabled and the target folder chosen.

Long-form gets resume points: GET/PUT /longform/progress, scoped to longform
folders and to the owner, with automatic completion detection. Longform stays
excluded from moods and radio.

The chart mounts the music hostPath writable for imports and passes the new
DOWNLOAD_* settings; version 0.2.3.
2026-11-15 13:26:22 +00:00

101 lines
2.2 KiB
YAML

replicaCount: 1
# Every resource is rendered into the namespace passed with --namespace (or
# helmCharts[].namespace in Kustomize). Rendering fails when that namespace is
# missing or falls back to "default"; set this to true to allow "default".
allowDefaultNamespace: false
image:
repository: gitea.tap-tap.win/taptap/audiomanager
# CI publishes :latest and :sha-<commit> for every push to main.
tag: latest
pullPolicy: Always
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
data:
persistence:
enabled: true
size: 5Gi
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
# 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
ingress:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-issuer
host: subsonic.tap-tap.win
path: /
pathType: Prefix
tls:
enabled: true
secretName: subsonic-tap-tap-win-tls
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 1000m
memory: 512Mi
podSecurityContext:
fsGroup: 10001
securityContext:
runAsNonRoot: true
runAsUser: 10001
runAsGroup: 10001
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
nodeSelector: {}
tolerations: []
affinity: {}