You're offline — showing cached data

Home Radio nightly scrape + Spotify playlist refresh

home-radio-scrape
2026-06-13 06:15:46 SAST
← Back to Tasks

OVERRIDES runtime profile: uses Spotify Web API + onlineradiobox HTTP scrape directly because it does not invoke the claude CLI.

Nightly 04:00 SAST (02:00 UTC). Scrapes the last 7 days of plays for every station in stations.yaml from onlineradiobox.com, dedupes by (artist, title), resolves to Spotify URIs (lexical-similarity gate, cached in scrape.db), then replaces the contents of one playlist per station on the Spotify house account.

Phase 1 of the Home Radio project. Phase 2 will add day-part mood mixers; Phase 3 the HA scheduler/state-machine; Phase 4 the MC dashboard.

Currently running against the personal conrelma Spotify account because the HA-managed econ (HEOS-bound) refresh token was revoked. Switch back to econ once the Spotify integration is reconfigured in Home Assistant (Settings → Devices → Spotify → econ → reconfigure), then update state/house_token.json from /config/.storage/core.config_entries.

Daily at 02:000 2 * * *
Yes
shell
1800s
No
in 20h (2026-06-14 02:00)

Task Definition

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

Edit Schedule

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

Run History (8)

StartedFinishedStatusDurationOutputLog
4h ago 4h ago completed 1.6m
[smooth_chill] scraping onlineradiobox:uk/chilldigital ... 2061 plays scraped 200 unique tracks (cap=200) resolved ...
View log
1d ago 1d ago completed 1.6m
[smooth_chill] scraping onlineradiobox:uk/chilldigital ... 2053 plays scraped 200 unique tracks (cap=200) resolved ...
View log
2d ago 2d ago completed 1.6m
[smooth_chill] scraping onlineradiobox:uk/chilldigital ... 2057 plays scraped 200 unique tracks (cap=200) resolved ...
View log
3d ago 3d ago completed 1.6m
[smooth_chill] scraping onlineradiobox:uk/chilldigital ... 2053 plays scraped 200 unique tracks (cap=200) resolved ...
View log
4d ago 4d ago completed 1.6m
[smooth_chill] scraping onlineradiobox:uk/chilldigital ... 2063 plays scraped 200 unique tracks (cap=200) resolved ...
View log
5d ago 5d ago completed 1.6m
[smooth_chill] scraping onlineradiobox:uk/chilldigital ... 2061 plays scraped 200 unique tracks (cap=200) resolved ...
View log
6d ago 6d ago completed 1.7m
[smooth_chill] scraping onlineradiobox:uk/chilldigital ... 2066 plays scraped 200 unique tracks (cap=200) resolved ...
View log
7d ago 7d ago completed 1.6m
[smooth_chill] scraping onlineradiobox:uk/chilldigital ... 2066 plays scraped 200 unique tracks (cap=200) resolved ...
View log

Comments (0)

No comments yet — add instructions for Luci
Help