From 735bc5c396a57123421a25566dd6fba08b6b7131 Mon Sep 17 00:00:00 2001 From: freearhey Date: Thu, 6 May 2021 00:43:53 +0300 Subject: [PATCH] Detect the resolution on each run --- scripts/format.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/format.js b/scripts/format.js index d66c868b44..2db55e0713 100644 --- a/scripts/format.js +++ b/scripts/format.js @@ -11,7 +11,6 @@ program .option('-d, --debug', 'Debug mode') .option('-c, --country ', 'Comma-separated list of country codes', '') .option('-e, --exclude ', 'Comma-separated list of country codes to be excluded', '') - .option('--resolution', 'Turn on resolution parser') .option('--delay ', 'Delay between parser requests', 0) .option('--timeout ', 'Set timeout for each request', 5000) .parse(process.argv) @@ -113,7 +112,6 @@ async function removeDuplicates(playlist) { } async function detectResolution(playlist) { - if (!config.resolution) return playlist const bar = new ProgressBar(' Detecting resolution: [:bar] :current/:total (:percent) ', { total: playlist.channels.length })