Daily job parses new rotation lists and refits thresholds before ranking; fix backfill wait loop (pgrep -f matched its parent shell); NMF runs inside backfill.sh

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 03:05:05 +00:00
co-authored by Claude Opus 5.5
parent 5b5374f0da
commit 33a3c3f2e5
5 changed files with 100 additions and 103 deletions
+2 -1
View File
@@ -4,7 +4,8 @@
cd "$(dirname "$0")/.." || exit 1
bin=./target/release/airplay
# Wait for collectors already running (a backfill started by hand, the daily timer).
while pgrep -f "release/airplay collect" >/dev/null; do sleep 60; done
# (match the process name, not -f: a parent shell whose command line mentions the binary would match forever)
while pgrep -x airplay -a | grep -q " collect"; do sleep 60; done
for source in dr hitlisten deezer musicbrainz spotify nmf playlists; do
echo "== $(date -u +%FT%TZ) $source"
$bin collect --only "$source" --backfill