Files
enrichment-shower/enrichment-youtube-sync.service
thebearsandClaude Opus 5.5 10d8139e81 Add enrichment video player for Raspberry Pi and x86
Plays folders of videos on a loop from boot, with a controller menu,
per-video on/off, play settings, a logo boot splash and a nightly
YouTube sync. Tested on a Raspberry Pi 4; x86 paths are untested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 12:31:38 -05:00

18 lines
534 B
Desktop File

[Unit]
Description=Download enrichment videos from YouTube
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
User=infra
Environment=PATH=/home/infra/.local/bin:/usr/bin:/bin
# YouTube changes often, so update first; a failed update must not stop the sync.
ExecStartPre=-/home/infra/.local/bin/yt-dlp --update
ExecStartPre=-/home/infra/.local/bin/deno upgrade
ExecStart=/usr/bin/python3 /home/infra/source/killer_kitties/sync_youtube.py
# Playback comes first.
Nice=15
CPUWeight=20
IOSchedulingClass=idle