@nechlophomeriaa/spotifydl
Advanced tools
Comparing version 1.0.22 to 1.0.23
@@ -35,5 +35,5 @@ function isUrl(url) { | ||
function convertMs(duration) { | ||
seconds = parseInt((duration / 1000) % 60) | ||
minutes = parseInt((duration / (1000 * 60)) % 60) | ||
hours = parseInt((duration / (1000 * 60 * 60)) % 24) | ||
var seconds = parseInt((duration / 1000) % 60) | ||
var minutes = parseInt((duration / (1000 * 60)) % 60) | ||
var hours = parseInt((duration / (1000 * 60 * 60)) % 24) | ||
hours = hours < 10 ? "0" + hours : hours | ||
@@ -40,0 +40,0 @@ minutes = minutes < 10 ? "0" + minutes : minutes |
@@ -35,5 +35,5 @@ export function isUrl(url) { | ||
export function convertMs(duration) { | ||
seconds = parseInt((duration / 1000) % 60) | ||
minutes = parseInt((duration / (1000 * 60)) % 60) | ||
hours = parseInt((duration / (1000 * 60 * 60)) % 24) | ||
var seconds = parseInt((duration / 1000) % 60) | ||
var minutes = parseInt((duration / (1000 * 60)) % 60) | ||
var hours = parseInt((duration / (1000 * 60 * 60)) % 24) | ||
hours = hours < 10 ? "0" + hours : hours | ||
@@ -40,0 +40,0 @@ minutes = minutes < 10 ? "0" + minutes : minutes |
@@ -350,3 +350,3 @@ import { isUrl, tags2, tags, convertMs } from "../function/index.js" | ||
} | ||
console.log(result) | ||
console.log(err) | ||
return result | ||
@@ -353,0 +353,0 @@ } |
@@ -12,3 +12,3 @@ { | ||
"description": "Simple Scraper Spotify Track/Album/Playlist Downloader with Metadata", | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"main": "./dist/cjs/index.js", | ||
@@ -15,0 +15,0 @@ "module": "./dist/esm/src/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40625