From 964538ceadd1a36b6068a1cf269407e3b4ff96d8 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sun, 12 Dec 2021 07:45:35 +0300 Subject: [PATCH] Update update-playlists.js --- scripts/commands/update-playlists.js | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/commands/update-playlists.js b/scripts/commands/update-playlists.js index acaf5998a1..648c27ee94 100644 --- a/scripts/commands/update-playlists.js +++ b/scripts/commands/update-playlists.js @@ -5,7 +5,6 @@ async function main() { let items = await db .find({}) .sort({ name: 1, 'status.level': 1, 'resolution.height': -1, url: 1 }) - items = _.uniqBy(items, 'url') const files = _.groupBy(items, 'filepath') for (const filepath in files) {