mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
parent
7132b069b6
commit
1ada39f226
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@ document.addEventListener('alpine:init', () => {
|
||||||
let items = {}
|
let items = {}
|
||||||
for (let channel of channels) {
|
for (let channel of channels) {
|
||||||
if (!items[channel.country]) {
|
if (!items[channel.country]) {
|
||||||
|
if (!countries[channel.country]) {
|
||||||
|
console.log('Warning: Wrong country code', channel)
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
const country = countries[channel.country]
|
const country = countries[channel.country]
|
||||||
|
|
||||||
items[channel.country] = {
|
items[channel.country] = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue