mirror of
https://github.com/iptv-org/iptv
synced 2026-10-25 12:28:53 -04:00
wip
This commit is contained in:
1 parent
9d9245aef6
commit
14a59c1f98
1 file changed
+1
-1
+1
-1
@@ -83,7 +83,7 @@ async function main() {
|
||||
for(let channelId in buffer[epgUrl].channels) {
|
||||
let c = buffer[epgUrl].channels[channelId]
|
||||
for(let epgName of c.names) {
|
||||
let regexp = new RegExp(`^${epgName}`, 'i')
|
||||
let regexp = new RegExp(`^${epgName}$`, 'i')
|
||||
if(regexp.test(channel.title)) {
|
||||
if(!channel.id) {
|
||||
channel.id = c.id
|
||||
|
||||
Reference in new issue
Block a user