From a98a41786c2c34f6aa990ac3270994759a134a9a Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 13 May 2026 20:21:55 +0300 Subject: f3s/beets-art: pipe yes into embedart to bypass interactive prompt beet embedart (no -f) hard-codes a "Modify artwork for N albums (Y/n)?" confirmation with no flag to suppress it. The CronJob has no stdin, so the command exits with "stdin stream ended while input required" and embedart never runs. Pipe `yes` into the command; safety still relies on embedart.ifempty:no and embedart.compare_threshold:50 from config. Amp-Thread-ID: https://ampcode.com/threads/T-019e223a-d137-705e-879b-84130c0e78ea Co-authored-by: Amp --- f3s/beets-art/helm-chart/templates/cronjob.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/f3s/beets-art/helm-chart/templates/cronjob.yaml b/f3s/beets-art/helm-chart/templates/cronjob.yaml index fb37a7e..55125ff 100644 --- a/f3s/beets-art/helm-chart/templates/cronjob.yaml +++ b/f3s/beets-art/helm-chart/templates/cronjob.yaml @@ -83,8 +83,12 @@ spec: $BEET fetchart || echo "fetchart returned non-zero (continuing)" # 3. Embed art into audio files where missing. + # `beet embedart` (no -f) prompts "Modify artwork for N + # albums (Y/n)?" with no flag to bypass; pipe `yes` so + # it proceeds non-interactively. embedart still respects + # ifempty: no and compare_threshold: 50 from config. echo "--- embedart (backfill) ---" - $BEET embedart || echo "embedart returned non-zero (continuing)" + yes | $BEET embedart || echo "embedart returned non-zero (continuing)" echo "=== $(date -u) beets-art sweep finished ===" volumeMounts: -- cgit v1.2.3