mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 02:16:40 -05:00
Update editor.ts
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user