mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 10:56:57 -05:00
@@ -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] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user