All checks were successful
Deploy production / deploy (push) Successful in 2m37s
- music schema: artists/albums/tracks (+album art), plays with source + dedupe, now_playing, spotify_auth, import_state; plays_deduped view hides Last.fm scrobbles Spotify also has - in-app Spotify poller (60s, leased) started from hooks init; no new role or env needed - /api/spotify/connect + callback (owner only), /trackers/music public stats - scripts: music-poll, music-import-lastfm (resumable), music-import-history - deploy/music-collector: optional host timer with its own role
16 lines
558 B
Desktop File
16 lines
558 B
Desktop File
[Unit]
|
|
Description=Spotify scrobbler poll (now playing + recently played -> music.*) for stanrunge.dev/trackers/music
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
ConditionPathExists=%h/.config/music-collector.env
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
# A checkout of stan/website on main. Not the live dev tree.
|
|
WorkingDirectory=%h/dev/website-music
|
|
# MUSIC_DB_URL (music_collector role), SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET; mode 600.
|
|
EnvironmentFile=%h/.config/music-collector.env
|
|
ExecStart=/usr/bin/bun scripts/music-poll.ts
|
|
TimeoutStartSec=50
|
|
Nice=10
|