Overview
Overview of scrobble service state files under /config/.cw_state, including currently_watching and auto-remove dedupe.
Last updated
Was this helpful?
Overview of scrobble service state files under /config/.cw_state, including currently_watching and auto-remove dedupe.
Scrobble “services” write small JSON state files under /config/.cw_state.
They keep Watcher and UI features fast and resilient.
You can usually ignore these files.
They only affect convenience features.
Scrobbling still works without them.
/config/.cw_state/
/config/.cw_state/currently_watching.json
transient “now playing” payload
used by UI features like Playing Card
written by: providers/scrobble/currently_watching.py
/config/.cw_state/watchlist_wl_autoremove.json
short TTL dedupe map for auto-remove logic
written by: providers/scrobble/_auto_remove_watchlist.py
Most behavior lives under scrobble.*.
Parse a playback event.
Update “currently watching” state (best effort).
Forward to sinks.
Optionally trigger auto-remove (best effort).
Prefer atomic writes.
Log errors. Don’t crash the pipeline.
Use TTL maps to cap growth.
Missing /config mount resets state on restart.
Permission issues break writes.
UI state may be stale.
Corrupted JSON can happen on hard shutdowns.
Deleting the file is usually safe.
Last updated
Was this helpful?
Was this helpful?