Skip to content

cline/cline-booth-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cline Booth Demo — Video Loop for Raspberry Pi

A plug-and-play setup to loop demo videos on a Raspberry Pi. Clone, run setup, reboot — done.

Videos

The following videos are downloaded and played sequentially in a loop:

  1. Cline: The AI That Builds Software For You
  2. Demo Video 2
  3. Demo Video 3
  4. Demo Video 4
  5. Demo Video 5

Quick Start

# 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 reboot

That's it! After reboot, the videos will play fullscreen in a continuous loop.

What setup.sh Does

  1. Installs dependenciesvlc and yt-dlp
  2. Downloads all 5 videos — saved to ~/videos/ as numbered MP4 files (1080p max)
  3. Installs a systemd servicevideo-loop.service for autostart on boot
  4. Enables the service — so it starts automatically on next reboot

Manual Controls

# 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

Requirements

  • Raspberry Pi with Raspberry Pi OS (Desktop version recommended)
  • Internet connection (for initial video download)
  • HDMI display connected to the Pi

File Structure

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.

Troubleshooting

  • No video playing? Check that the display is connected and run sudo systemctl status video-loop to 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 VIDEOS array in setup.sh, delete ~/videos/, and re-run setup.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages