# ============================================================
# SECRETS — never commit these. OBS stores live credentials here.
# ============================================================

# Twitch (and other RTMP) stream keys — `settings.key` field.
# Path: basic/profiles/<profile>/service.json
**/service.json
**/service.json.bak

# obs-websocket server password (plugin_config/obs-websocket/config.json
# contains `server_password`). Block the whole dir defensively.
plugin_config/obs-websocket/

# Defensive blanket — anything obviously credential-shaped.
*.key
*.pem
*.secret
*.token
*credentials*
*.env
.env*

# ============================================================
# Machine-local generated data
# ============================================================

# Generated wrapper for telemetry.json — built by telemetry.sh, not edited.
# (The JSON itself is tracked: it's the hand-edited source for the wrapper.)
landing/telemetry.js

# Per-session manifest written by loading.sh — ephemeral, not version-controlled.
loading/loading.json
loading/loading.js

# Playlist manifest — generated from the audio in /playlist/, machine-local.
loading/playlist.json
loading/playlist.js

# Music daemon command file — written by playlist.sh skip/prev/pause/resume.
loading/cmd.js

# Audio files for the loading scene (any format). Kept out of git regardless
# of how they got there (yt-dlp, manual copy, etc.).
/playlist/

# OBS WebSocket connection details (port + password) — auto-generated by
# setup.sh from your existing plugin_config/obs-websocket/config.json.
vendor/obs-config.js

# Local backups created during edits — keep out of git noise.
landing/*.manual
loading/*.manual

# ============================================================
# OBS runtime / generated state — no value in version control
# ============================================================

# One log per launch; OBS rotates these itself (MaxLogs=10).
logs/

# Performance traces.
profiler_data/

# Running-instance lockfile.
.sentinel/

# Crash/safe-mode artefacts.
crashes/
safe_mode/

# ============================================================
# OBS-managed sidecars — OBS rewrites these on every save.
# Tracking them produces noisy diffs and they're not real history.
# Manual migration backups (.pre-*) are intentionally NOT ignored —
# they were created by hand and capture meaningful pre-change state.
# ============================================================
*.bak
*.json.v1

# ============================================================
# Editor / OS noise
# ============================================================
.DS_Store
Thumbs.db
*.swp
*.swo
*~
.idea/
.vscode/

# ============================================================
# Python bytecode (bridges/, twitch-bot/)
# ============================================================
__pycache__/
*.pyc
*.pyo
