Claude Code fires hooks on lifecycle events. claude-play listens to those hooks and controls mpv, playing your videos when Claude is working and pausing instantly when you need to respond.
Claude working → video plays Claude done → video keeps playing Permission needed → video pauses + hides You respond → video resumes
Works across multiple sessions. Saves your playback position between pauses and restarts. Streams from URLs. No downloads needed.
set via mode in ~/.claude-play/config.json
git clone https://github.com/mlekhi/claude-play.git && cd claude-play && bash install.sh~/.claude-play/config.json with your video URLs or local file path.~/.claude/settings.json.venv/bin/python claude_play.py