Quick Start
1. Check radiko authentication
認証トークンの状態を確認します:
bash
tomorrow-radio status2. Scan all available stations
全 124 局をスキャンします:
bash
tomorrow-radio scan--source で特定のソースのみ表示:
| Command | Stations |
|---|---|
tomorrow-radio scan --source radiko | 16 局 |
tomorrow-radio scan --source rajiru | 24 局 |
tomorrow-radio scan --source simulradio | 84 局 |
radiko の局数は 認証エリアに依存します(東京は 16、北海道は 8)。上記の合計 124 局は東京エリア基準です。
3. Launch TUI
トランシーバー風 4 ペイン TUI を起動:
bash
tomorrow-radioTUI Controls
| Key | Action |
|---|---|
| Enter | Start / Stop live playback (default action) |
| p | Start / Stop live playback |
| r / Space | Start / Stop recording (only when needed) |
| Tab | Focus switch (info ↔ log) |
| s | Station select dialog (全 124 局) |
| m | Mode switch (Live / TimeFree) — radiko only |
| f | Format switch (MP3 / m4a) |
| l | Show schedule |
| q / Ctrl+C | Quit |
Live playback (基本動作)
放送局IDをそのまま渡すだけで認証→再生が走ります (録音は不要なときだけ live を使う):
bash
tomorrow-radio TBS # radiko
tomorrow-radio rajiru_r1_tokyo # らじる★らじる
tomorrow-radio simul_FM_WING # サイマルラジオ4. One-shot recording
Station ID はプレフィックスで自動判別されます:
bash
tomorrow-radio live TBS --duration 3600 --format mp3bash
tomorrow-radio live rajiru_r1_tokyo --duration 1800bash
tomorrow-radio live simul_FM_WING --duration 36005. TimeFree (radiko only)
過去の放送を録音します:
bash
tomorrow-radio tf TBS 20260730130000 20260730140000時刻は YYYYMMDDHHmm 形式で指定します。
6. Podcast
bash
# フィード表示
tomorrow-radio podcast feed https://feeds.simplecast.com/54nAGcIl
# エピソードダウンロード
tomorrow-radio podcast download https://feeds.simplecast.com/54nAGcIl 07. Schedule
予約録音を管理します:
| Command | Description |
|---|---|
tomorrow-radio schedule add rajiru_r1_tokyo 20260730 1200 3600 | 予約追加 (source 自動判別) |
tomorrow-radio schedule list | 一覧表示 |
tomorrow-radio schedule export | cron 形式で出力 |