heystreamer/tools/nowplaying/heystreamer-nowplaying.service
Bashy b28e56f991 Add StreamElements tips and a Feishin now-playing helper (disabled)
- src/streamelements.js: StreamElements Astro websocket, channel.tips with SE_JWT.
  Only allowed + successful tips alert, deduped by id, follows reconnect tokens.
  Off unless SE_JWT is set.
- tools/nowplaying/: PC helper that reads Feishin over MPRIS and posts title,
  artist and a small cover thumbnail to /nowplaying (Bearer NOWPLAYING_KEY). The
  cover is fetched on the LAN so the Navidrome token never leaves the PC.
  Endpoint and overlay widget are kept but switched off for now.
- .env.example: SE_JWT, NOWPLAYING_KEY.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 23:18:15 +02:00

13 lines
408 B
Desktop File

# systemd user unit: copy to ~/.config/systemd/user/, then
# systemctl --user daemon-reload && systemctl --user enable --now heystreamer-nowplaying
[Unit]
Description=Feishin now-playing -> HeyStreamer overlay
After=graphical-session.target
[Service]
ExecStart=/usr/bin/python3 %h/projects/heystreamer/tools/nowplaying/feishin_nowplaying.py
Restart=always
RestartSec=10
[Install]
WantedBy=default.target