You're offline — showing cached data

Home Radio day-part mixer (18 mood playlists)

home-radio-mixer
2026-06-13 06:16:16 SAST
← Back to Tasks

OVERRIDES runtime profile: uses Spotify Web API directly, does not invoke the claude CLI.

Nightly 04:30 SAST (02:30 UTC), 30 minutes after home-radio-scrape completes. Builds 18 day-part mood playlists from mood_pools.yaml:

For each bucket: pulls plays in the listed station + hour windows from scrape.db, dedupes by URI, excludes URIs the user heard on either Spotify account in the last 12h (/me/player/recently-played for econ + conrelma), and applies a freshness boost so tracks present in the prior refresh are downweighted when there are more candidates than the cap. Writes one private playlist per bucket on the econ account.

Per-bucket diff (added/removed/retained URIs) appended to ~/workspace/state/home_radio_operator.jsonl for visibility into how the rotation is evolving.

Phase 2 of the Home Radio project. Phase 3 (HA scheduler/state-machine) will reference these playlists by bucket and swap them on the house speaker by time-of-day.

Daily at 02:3030 2 * * *
Yes
shell
1200s
No
in 20h (2026-06-14 02:30)

Task Definition

tasks/home-radio-mixer.md
shell
set
No
Yes
cd /home/lucienne/workspace/projects/home-radio && python3 mixer.py 2>&1 | tail -60

Edit Schedule

Result:
8
Runs (7d)
8
Completed
0
Failed
0
Timeout
100%
Success (7d)
13.0m
Avg Duration
home-radio spotify mixer music nightly

Run History (8)

StartedFinishedStatusDurationOutputLog
4h ago 4h ago completed 15.0m
[weekday.late] sources=['smooth_chill', 'classichits109_70s'] 1983 candidate URIs excluded 7 recently-played wrot ...
View log
1d ago 1d ago completed 15.0m
[weekday.late] sources=['smooth_chill', 'classichits109_70s'] 1974 candidate URIs excluded 4 recently-played wrot ...
View log
2d ago 2d ago completed 13.2m
[weekday.late] sources=['smooth_chill', 'classichits109_70s'] 1969 candidate URIs excluded 1 recently-played wrot ...
View log
3d ago 3d ago completed 13.0m
[weekday.late] sources=['smooth_chill', 'classichits109_70s'] 1956 candidate URIs excluded 7 recently-played wrot ...
View log
4d ago 4d ago completed 12.5m
[weekday.late] sources=['smooth_chill', 'classichits109_70s'] 1946 candidate URIs excluded 7 recently-played wrot ...
View log
5d ago 5d ago completed 12.2m
excluded 11 recently-played wrote 80 (+80 -80 =0) → 14g3QB1cBRmJOOetwdeIAg [sat.morning] sources=['977_todayshits', ...
View log
6d ago 6d ago completed 11.8m
[weekday.late] sources=['smooth_chill', 'classichits109_70s'] 1914 candidate URIs excluded 5 recently-played wrot ...
View log
7d ago 7d ago completed 11.4m
[weekday.late] sources=['smooth_chill', 'classichits109_70s'] 1896 candidate URIs excluded 12 recently-played wro ...
View log

Comments (0)

No comments yet — add instructions for Luci
Help