mirror of
https://github.com/iptv-org/iptv
synced 2026-11-03 07:44:19 -05:00
commit
1e19b688fc
1 file changed
+2
-3
@@ -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
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user