mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 08:30:06 -04:00
Update editor.ts
This commit is contained in:
parent
0ff123b7b1
commit
5b46419c6c
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ function getOptions(channelsIndex, channel: Channel) {
|
|||
const query = channel.name
|
||||
.replace(/\s(SD|TV|HD|SD\/HD|HDTV)$/i, '')
|
||||
.replace(/(\(|\)|,)/gi, '')
|
||||
.replace(/\-/gi, ' ')
|
||||
.replace(/\+/gi, '')
|
||||
const similar = channelsIndex.search(query).map(item => new ApiChannel(item))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue