A plug-and-play setup to loop demo videos on a Raspberry Pi. Clone, run setup, reboot — done.
The following videos are downloaded and played sequentially in a loop:
# 1. Clone the repo
git clone https://github.com/cline/cline-booth-demo.git
cd cline-booth-demo
# 2. Make scripts executable
chmod +x setup.sh play.sh
# 3. Run setup (downloads videos, installs deps, enables autostart)
./setup.sh
# 4. Reboot — videos will play automatically
sudo rebootThat's it! After reboot, the videos will play fullscreen in a continuous loop.
- Installs dependencies —
vlcandyt-dlp - Downloads all 5 videos — saved to
~/videos/as numbered MP4 files (1080p max) - Installs a systemd service —
video-loop.servicefor autostart on boot - Enables the service — so it starts automatically on next reboot
# Start the video loop immediately (without rebooting)
sudo systemctl start video-loop
# Stop the video loop
sudo systemctl stop video-loop
# Disable autostart on boot
sudo systemctl disable video-loop
# Re-enable autostart on boot
sudo systemctl enable video-loop
# View logs
journalctl -u video-loop -f
# Run manually (interactive, Ctrl+C to stop)
./play.sh- Raspberry Pi with Raspberry Pi OS (Desktop version recommended)
- Internet connection (for initial video download)
- HDMI display connected to the Pi
cline-booth-demo/
├── setup.sh # One-time setup script
├── play.sh # Video loop playback script
├── video-loop.service # Reference systemd unit file
├── .gitignore # Excludes downloaded videos from git
└── README.md # This file
Videos are downloaded to ~/videos/ and are not checked into the repo.
- No video playing? Check that the display is connected and run
sudo systemctl status video-loopto see the service status. - Black screen with audio? Make sure you're using the Desktop version of Raspberry Pi OS (not Lite).
- Download failed? Re-run
./setup.sh— it will retry failed downloads. - Want to change videos? Edit the
VIDEOSarray insetup.sh, delete~/videos/, and re-run setup.