mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -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 = {}
|
||||
for (let channel of channels) {
|
||||
if (!items[channel.country]) {
|
||||
if (!countries[channel.country]) {
|
||||
console.log('Warning: Wrong country code', channel)
|
||||
continue
|
||||
}
|
||||
|
||||
const country = countries[channel.country]
|
||||
|
||||
items[channel.country] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue