# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# Virtual Environment
.venv/
venv/
ENV/
env/
windows/venv312/

# Kivy
*.pyc

# Media files (optional - remove if you want to track media)
media/*.jpg
media/*.jpeg
media/*.png
media/*.gif
media/*.bmp
media/*.mp4
media/*.avi
media/*.mkv
media/*.mov
media/*.webm

# Playlists cache (auto-generated)
playlists/server_playlist_*.json

# Logs
*.log
.kivy/

# IDE
.vscode/
.idea/
*.swp
*.swo

# OS
.DS_Store
Thumbs.db

.player_heartbear

# NOTE: the line above is a long-standing typo for `.player_heartbeat` and is
# kept only so nothing changes for existing clones. The correct patterns are
# below — without them the player's runtime state files get committed (they
# change every 10 seconds, which would create endless noise and merge conflicts).
.player_heartbeat
.player_stop_requested
logs/startup_marker.txt
logs/startup_crash.log
logs/console_out.txt
logs/console_err.txt
logs/watchdog_test_*.txt
logs/.webview2_install_attempt

windows/venv_build/

# Player credentials — live auth_code/player_id/server_url. Never commit these:
# a bundled copy made fresh builds boot "already authenticated" against an old
# server and play a stale playlist.
player_auth.json
src/player_auth.json
working_files/player_auth.json
windows/dist/*/player_auth.json

# Runtime web-engine profiles (browser cache, not source)
.kiosk-profile/
.webview2-profile/

# NOTE: windows/webview2_sdk/ IS tracked on purpose — build.spec bundles those
# DLLs, so a fresh clone must have them or web links silently fall back to the
# Chrome/Edge subprocess engine. Only ~860 KB (2 files).

# The small WebView2 Runtime bootstrapper (~1.7 MB) IS tracked: build.spec
# bundles it so a machine without the Runtime can install it on first start.
# The ~203 MB offline standalone installer is NOT tracked — fetch it with
# windows/webview2_runtime/download_runtime_installers.ps1 when you need to
# build for machines that have no internet.
windows/webview2_runtime/MicrosoftEdgeWebView2RuntimeInstaller*.exe
!windows/webview2_runtime/MicrosoftEdgeWebview2Setup.exe
