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>
18 lines
534 B
Desktop File
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
|