From d45b8884c286d4fb79ce85d4a4aff6c268b352c7 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 16 Aug 2021 20:04:13 +0300 Subject: [PATCH] Update remove-duplicates.js --- scripts/remove-duplicates.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/remove-duplicates.js b/scripts/remove-duplicates.js index 19be9df4ff..aa2c3d827b 100644 --- a/scripts/remove-duplicates.js +++ b/scripts/remove-duplicates.js @@ -47,8 +47,6 @@ async function removeDuplicates(playlist) { return utils.removeProtocol(item.url) === utils.removeProtocol(channel.url) }) if (sameUrl) return false - const sameHash = buffer.find(item => item.hash === channel.hash) - if (sameHash && channel.status === 'Offline') return false buffer.push(channel) return true