mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 10:26:41 -05:00
Update editor.ts
This commit is contained in:
@@ -147,7 +147,7 @@ async function getInput(channel: Channel) {
|
||||
|
||||
function getOptions(channelsIndex, channel: Channel) {
|
||||
const channelId = generateCode(channel.name, defaultCountry)
|
||||
const query = channel.name.replace(/\s(SD|TV|HD)$/i, '').replace(/\+/gi, '')
|
||||
const query = channel.name.replace(/\s(SD|TV|HD|SD\/HD)$/i, '').replace(/\+/gi, '')
|
||||
const similar = channelsIndex.search(query).map(item => new ApiChannel(item))
|
||||
|
||||
const variants = new Collection()
|
||||
|
||||
Reference in New Issue
Block a user