Skip to content

Commit 9f500e6

Browse files
authored
V0.3.1 (#8)
* Add country, city and languages * Fix version and add languages in stations
1 parent f9fa9e0 commit 9f500e6

2 files changed

Lines changed: 15 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ Like: ```https://domain.tld/streams.json```
1919
No, you can put it if you want and if you need it.
2020
In the near futur we would like directories use it to update or save informations automatically.
2121

22+
## ISO types for Languages, Country and Location(s)
23+
24+
Language: [2-letter ISO-639-1 Codes](https://en.wikipedia.org/wiki/ISO_639-1)
25+
Country and Location(s): [ISO 3166-1 Alpha-2 code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
26+
2227
## Sites using streams.json
2328

2429
- [MOROW](https://www.morow.com)

streams.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
{
22
"_streams.json_Info": "streams.json is a file store in the site root use for listing stream url for radio, tv, webradio or webtv.",
3-
"_streams.json_FileCreatedAt": "2021-04-13T19:58:02+02:00",
4-
"_streams.json_Version": "0.3",
3+
"_streams.json_FileCreatedAt": "2021-04-29T13:59:32+02:00",
4+
"_streams.json_Version": "0.3.1",
55

66
"name": "NetworkRadio",
77
"description": "NetworkRadio is a network of Internet station.",
88
"url": "https://www.networkradio.tld",
9+
"location": "FR",
10+
"city": "Paris",
11+
"languages": ["fr","en"],
912
"logo": [{
1013
"type": "square",
1114
"size": 200,
@@ -16,6 +19,7 @@
1619
"description": "Network Radio Dance is a Internet station since 2001.",
1720
"genre": "Dance",
1821
"url": "https://www.networkradio.tld/dance",
22+
"languages": ["en"],
1923
"logo": [{
2024
"type": "square",
2125
"size": 200,
@@ -62,10 +66,11 @@
6266
}]
6367
},
6468
{
65-
"name": "Network Radio Hit",
69+
"name": "Network Radio French Hit",
6670
"description": "Network Radio Hit is a Internet station since 2001.",
67-
"genre": "Hits",
68-
"url": "https://www.networkradio.tld/hit",
71+
"genre": "French Hits",
72+
"url": "https://www.networkradio.tld/frenchhit",
73+
"languages": ["fr"],
6974
"logo": [{
7075
"type": "square",
7176
"size": 200,

0 commit comments

Comments
 (0)