mirror of
https://github.com/iptv-org/iptv.git
synced 2024-09-15 00:00:54 +02:00
commit
53770c30a4
|
@ -84,9 +84,8 @@ db.channels = {
|
|||
if (!this.duplicates) {
|
||||
const buffer = []
|
||||
output = output.filter(channel => {
|
||||
const info = channel.getInfo()
|
||||
if (buffer.includes(info)) return false
|
||||
buffer.push(info)
|
||||
if (buffer.includes(channel.hash)) return false
|
||||
buffer.push(channel.hash)
|
||||
|
||||
return true
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user