---
name: patefona
description: Stream, search, and set up Patefona (patefona.com) — 24/7 non-profit literary radio & 1948 KVN-49 television — on any TV, Sonos/AirPlay/Cast speaker, Home Assistant, café sound system, or computer via MCP (https://mcp.patefona.com/mcp) or direct MP3/HLS/.m3u URLs.
---

# Patefona — Literary Broadcasting Skill (`patefona.com`)

Patefona is a 24-hour non-profit literary radio and 1948 KVN-49 television station where every broadcast slot and archival 78 rpm / Creative Commons recording is anchored to the exact book, chapter, and scene where that music sounds (`4,613` recordings, `720` book quotes, `31` curated shelves). Zero ads, zero DRM, zero API keys.

## 1. Connect via MCP (Recommended — Stateless Streamable HTTP)

Endpoint: **`https://mcp.patefona.com/mcp`** (`POST`, JSON-RPC 2.0, anonymous, `Cache-Control: no-store`).

```bash
# Claude Code / Claude CLI
claude mcp add --transport http patefona https://mcp.patefona.com/mcp
```

```json
{
  "mcpServers": {
    "patefona": {
      "type": "http",
      "url": "https://mcp.patefona.com/mcp"
    }
  }
}
```

### MCP Tools
- `now_playing(region?: "eu"|"world")` — live track on Radio I, Cinema 1948 (`tv/now.json`), and current deterministic literary clock slot (book, chapter, quote, remaining seconds).
- `list_streams()` — all direct Icecast MP3, HLS AAC/H.264, and `.m3u` URLs with codecs and LUFS loudness.
- `setup_device(device, stream?, background_mode?)` — exact LAN discovery + launch commands for `android_tv` / `google_tv` / `fire_tv`, `chromecast` / `nest_hub`, `apple_tv` / `homepod` / `airplay`, `sonos` / `wiim` / `dlna`, `home_assistant`, `samsung_tizen` / `lg_webos`, and `macos` / `linux` / `windows` / `terminal` (including real-time 6-stage FFmpeg `-af` Background Mode).
- `search_archive(query, decade?, program?, limit?)` — search `4,613` tracks and `720` book scenes/quotes.
- `get_schedule(hours?, program?)` — upcoming broadcast clock & shows.
- `curate_for_activity(activity_or_mood)` — recommends the right stream, Background Mode room preset, and book shelf.

## 2. Direct Streams (Zero MCP Required)

- **Combined M3U Playlist (all channels):** `https://tv.patefona.com/tv/patefona-streams.m3u`
- **Radio I · Valve / Warm (128k MP3, room speakers):** `https://patefona.com/radio-warm.mp3`
- **Radio I · Clean (128k MP3, reference/DSP):** `https://patefona.com/radio.mp3`
- **Radio I (World) · Pre-1926 Public Domain (128k MP3, cafés/venues):** `https://patefona.com/radio-world-warm.mp3`
- **Radio II · Cinema 1948 Audio-only (128k AAC HLS):** `https://tv.patefona.com/tv/audio.m3u8`
- **TV 1948 · KVN-49 Kinescope Video (4:3 H.264+AAC HLS):** `https://tv.patefona.com/tv/live.m3u8`
- **Channel III · Kids Music Box (`0+`, `-18 LUFS` gentle classical & lullabies):** `https://patefona.com/radio-kids-warm.mp3` (clean: `/radio-kids.mp3`, `.m3u`: `/patefona-kids.m3u`)

## 3. Quick Device Recipes (When Asked to "Play Patefona on My …")

1. **macOS / Linux / Windows Terminal (with 6-stage `living_room` psychoacoustic Background Mode):**
   ```bash
   mpv --no-video --af="lavfi=[extrastereo=m=1.22,crossfeed=strength=0.32:range=0.5:level_in=0.90:level_out=1.0,equalizer=f=3000:t=q:w=1.0:g=-2.8,treble=g=-3.5:f=5200,aecho=0.84:0.86:19|31|44:0.15|0.11|0.08,acompressor=threshold=-20dB:ratio=1.8:attack=18:release=210:makeup=1,volume=1.4dB]" "https://patefona.com/radio.mp3"
   ```
2. **Android TV / Google TV / Fire TV (ADB):**
   ```bash
   adb connect <TV_IP>:5555
   adb shell am start -a android.intent.action.VIEW -d "https://tv.patefona.com/tv/live.m3u8"
   # Or full 10-foot D-pad station UI:
   adb shell am start -a android.intent.action.VIEW -d "https://patefona.com/?tv=1&channel=tv1948"
   ```
3. **Chromecast / Nest Hub (`catt`):**
   ```bash
   catt scan && catt -d "<DEVICE_NAME>" cast "https://tv.patefona.com/tv/live.m3u8"
   ```
4. **Apple TV / HomePod (`pyatv` / AirPlay):**
   ```bash
   atvremote scan && atvremote --id <APPLE_TV_ID> play_url="https://tv.patefona.com/tv/live.m3u8"
   ```
5. **Sonos (`soco`):**
   ```bash
   python3 -c "import soco; z = next(iter(soco.discover())); z.play_uri('x-rincon-mp3radio://patefona.com/radio-warm.mp3', title='Patefona Radio')"
   ```
6. **Home Assistant (`media_player.play_media`):**
   `media_content_id: https://patefona.com/radio-warm.mp3`, `media_content_type: music`.

## 4. Attribution & Contact
- Creative ideas, custom players (we thank contributors on air — not in an AI voice!), and café photos: `studio@patefona.com` (to Alex).
- Rights, attribution, privacy, or in-kind infrastructure: `concerns@patefona.com`.
