Update tests/__data__

This commit is contained in:
freearhey
2025-08-24 22:42:55 +03:00
parent 882fac2b33
commit 578b135240
38 changed files with 388 additions and 260 deletions

View File

@@ -1 +1 @@
[{"country":"AD","subdivision":"AD-02","code":"ADCAN","name":"Canillo","wikidata_id":"Q386802"},{"country":"CA","subdivision":"CA-ON","code":"CAAAC","name":"Ailsa Craig","wikidata_id":"Q65963197"}]
[{"country":"AD","subdivision":"AD-02","code":"ADCAN","name":"Canillo","wikidata_id":"Q386802"},{"country":"CA","subdivision":"CA-ON","code":"CAAAC","name":"Ailsa Craig","wikidata_id":"Q65963197"},{"country":"HK","subdivision":null,"code":"HK9SK","name":"Sai Kung","wikidata_id":"Q206377"}]

View File

@@ -148,7 +148,7 @@
"name": "SD",
"is_main": true,
"broadcast_area": [
"ct/CAAAC"
"s/CA-ON"
],
"languages": [
"fru"
@@ -180,7 +180,7 @@
"name": "SD",
"is_main": true,
"broadcast_area": [
"r/INT"
"r/WW"
],
"languages": [
"nld"
@@ -805,7 +805,7 @@
"name": "SD",
"is_main": true,
"broadcast_area": [
"r/INT"
"r/WW"
],
"languages": [],
"timezones": [

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +0,0 @@
{
"build" : "tests/__data__/output/playlists.md",
"files" : ["tests/__data__/output/.readme/template.md"]
}

View File

@@ -1,110 +0,0 @@
# Playlists
### Grouped by category
<details>
<summary>Expand</summary>
<br>
Playlist in which each channel has its _category_ as a group title:
```
https://iptv-org.github.io/iptv/index.category.m3u
```
Same thing, but split up into separate files:
<!-- prettier-ignore -->
#include "tests/__data__/output/.readme/_categories.md"
</details>
### Grouped by language
<details>
<summary>Expand</summary>
<br>
Playlist in which each channel has its _language_ as a group title:
```
https://iptv-org.github.io/iptv/index.language.m3u
```
Same thing, but split up into separate files:
<!-- prettier-ignore -->
#include "tests/__data__/output/.readme/_languages.md"
</details>
### Grouped by country
<details>
<summary>Expand</summary>
<br>
Playlist in which each channel has its _country_ as a group title:
```
https://iptv-org.github.io/iptv/index.country.m3u
```
Same thing, but split up into separate files:
<!-- prettier-ignore -->
#include "tests/__data__/output/.readme/_countries.md"
</details>
### Grouped by subdivision
<details>
<summary>Expand</summary>
<br>
<!-- prettier-ignore -->
#include "tests/__data__/output/.readme/_subdivisions.md"
</details>
### Grouped by region
<details>
<summary>Expand</summary>
<br>
Playlist in which each channel has its _region_ as a group title:
```
https://iptv-org.github.io/iptv/index.region.m3u
```
Same thing, but split up into separate files:
<!-- prettier-ignore -->
#include "tests/__data__/output/.readme/_regions.md"
</details>
### Grouped by sources
Playlists in which channels are grouped by broadcast source.
<details>
<summary>Expand</summary>
<br>
To use the playlist, simply replace `<FILENAME>` in the link below with the name of one of the files in the [streams](streams) folder.
```
https://iptv-org.github.io/iptv/sources/<FILENAME>.m3u
```
</details>
Also, any of our internal playlists are available in raw form (without any filtering or sorting) at this link:
```
https://iptv-org.github.io/iptv/raw/<FILENAME>.m3u
```

View File

@@ -38,9 +38,12 @@
{"type":"country","filepath":"countries/cg.m3u","count":1}
{"type":"country","filepath":"countries/ro.m3u","count":1}
{"type":"subdivision","filepath":"subdivisions/ca-on.m3u","count":1}
{"type":"city","filepath":"cities/adcan.m3u","count":1}
{"type":"city","filepath":"cities/hk9sk.m3u","count":1}
{"type":"country","filepath":"countries/ru.m3u","count":2}
{"type":"country","filepath":"countries/rw.m3u","count":1}
{"type":"country","filepath":"countries/re.m3u","count":1}
{"type":"country","filepath":"countries/int.m3u","count":3}
{"type":"country","filepath":"countries/undefined.m3u","count":2}
{"type":"country","filepath":"countries/bl.m3u","count":1}
{"type":"country","filepath":"countries/sh.m3u","count":1}