Update format.js

This commit is contained in:
freearhey 2021-05-06 15:21:05 +03:00
parent 2c80e51720
commit 1924f06b3b
1 changed files with 2 additions and 1 deletions

View File

@ -112,7 +112,8 @@ async function removeDuplicates(playlist) {
} }
async function detectResolution(playlist) { async function detectResolution(playlist) {
const bar = new ProgressBar(' Detecting resolution: [:bar] :current/:total (:percent) ', { console.log(' Detecting resolution...')
const bar = new ProgressBar(' Progress: [:bar] :current/:total (:percent) ', {
total: playlist.channels.length total: playlist.channels.length
}) })
const results = [] const results = []