add ambience music system: TUI crossfade, yt-dlp fetch, source tracking

- tools/run.py: pygame.mixer subsystem — polls session/ambience.md,
  crossfades tracks, shows ♫ in status bar
- tools/music-fetch.py: search/download from YouTube via yt-dlp,
  auto-increment filenames, --replace and --dry-run modes
- tools/ambience.py: companion CLI to set ambience state
- session/ambience.md: current ambience state file (DM writes here)
- session/ambience_options.md: ambience → file mapping table
- session/ambience_sources.md: file → YouTube URL tracking for re-download
- session/audio/ added to .gitignore (audio files not tracked in git)
This commit is contained in:
Dejvino
2026-06-24 21:44:18 +02:00
parent d4a19ef438
commit a2a6b1cb26
9 changed files with 705 additions and 19 deletions
+1
View File
@@ -1,3 +1,4 @@
__pycache__/
*.pyc
.env
session/audio/