blob: 215f1126a3ae79607953506d2eae609736f1d51f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Telugu Radio TUI
A terminal UI for browsing and playing Telugu online radio stations from [OnlineRadioFM](https://onlineradiofm.in/language/telugu).
## Requirements
- Python 3.11+
- [mpv](https://mpv.io/) — playback
- [socat](https://sourceforge.net/projects/socat/) — mpv IPC
## Quick start
```bash
cd ~/code/radio_tui
chmod +x radio-tui
./radio-tui
```
The launcher creates a local `.venv` and installs dependencies on first run.
Or manually:
```bash
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python -m radio_tui
```
## Keys
| Key | Action |
|-----|--------|
| `/` | Focus search |
| `Enter` | Play selected station |
| `n` / `p` | Next / previous station (and play) |
| `+` / `-` | Volume up / down |
| `m` | Mute |
| `s` | Stop |
| `f` | Toggle favorite |
| `y` | Show stream URL |
| `q` | Quit |
Favorites are saved to `~/.radio_tui_favorites.json`.
## Data
- `telugu-radio-stations.json` — station metadata and stream URLs
- `telugu-radio-stations.csv` — same data in CSV format
Source: https://onlineradiofm.in/language/telugu
|