Add song library with Git LFS, DJ chat, and tinqs/live-radio publish path.

Songs persist under songs/ (MP3 via LFS, metadata in git). Player shows saved library.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-07 14:18:17 +01:00
parent 4924db5617
commit b8ff25f370
18 changed files with 357 additions and 12 deletions
+16 -4
View File
@@ -14,6 +14,17 @@ Inspired by [Magenta RealTime 2](https://magenta.withgoogle.com/magenta-realtime
| Player | FastAPI + `gateway/player.html` | Stream generated queue |
| Live (optional) | Magenta RealTime 2 | Apple Silicon only — see below |
## Saved songs
Every track is written to `./songs/` and **committed via Git LFS** (audio) + plain git (metadata):
| File | Storage | Contents |
|------|---------|----------|
| `{id}_{title}.mp3` | LFS | Audio |
| `{id}.meta.json` | git | Title, mood, DJ line, prompt, lyrics, timestamp |
Browse in the player under **Saved songs**, or `GET /api/songs`. After clone: `git lfs install` then `git lfs pull`.
## Quick start (Forge / Windows)
```powershell
@@ -80,19 +91,20 @@ Wire MRT2 as a bridge between tracks or as a live “bed” under the Lyria queu
1. On Git Studio: **+ → New Repository**
- Owner: `tinqs`
- Name: `live-ozan-radio`
- Name: `live-radio`
- Visibility: **Public**
2. Push:
2. Push (with LFS for song MP3s):
```bash
git lfs install
git init
git remote add origin git@ssh.tinqs.com:tinqs/live-ozan-radio.git
git remote add origin git@ssh.tinqs.com:tinqs/live-radio.git
git add .
git commit -m "Live Ozan Radio — DeepSeek DJ + Lyria 3"
git push -u origin main
```
3. Preview the player: `https://tinqs.com/tinqs/live-ozan-radio/src/branch/main/gateway/player.html` (static shell; audio streams from your running server).
3. Preview the player: `https://tinqs.com/tinqs/live-radio/src/branch/main/gateway/player.html` (static shell; audio streams from your running server).
## Agent usage