mirror of
https://github.com/iptv-org/iptv
synced 2026-10-22 02:56:48 -04:00
Update db.js
This commit is contained in:
1 parent
fcc9e6f2f9
commit
3653bcde9a
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