Skip to content

Commit ee21516

Browse files
committed
Add plugin-radio.html
1 parent 249664b commit ee21516

File tree

2 files changed

+442
-0
lines changed

2 files changed

+442
-0
lines changed

plugin-radio-readme.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#### Confguring plugin-radio
2+
3+
you will need to find your own stations for the stations.json file, there are many resources on the internet to help with this.
4+
5+
The stations.json file should be structured as follows:
6+
7+
```
8+
[
9+
{
10+
"name": "Rock Radio",
11+
"image": "https://example.com/rock_radio.jpg",
12+
"source": "http://example.com/rock_stream_mp3",
13+
"description": "Many head banging tunes"
14+
},
15+
{
16+
"name": "Classic Radio",
17+
"image": "https://example.com/kiwi_classic_radio.jpg",
18+
"source": "http://example.com/kiwi_classic_stream.mp3",
19+
"description": "Relax to some classical music"
20+
}
21+
]
22+
```
23+
24+
25+
The url to the stations list can be provided in kiwiirc's client.json/config.json
26+
27+
```
28+
"plugin-radio": {
29+
"url": "//exmaple.com/stations.json"
30+
}
31+
```

0 commit comments

Comments
 (0)