This commit is contained in:
KGT1 2020-09-23 17:42:13 +02:00
parent db6638724c
commit a719ccecd9
3 changed files with 12 additions and 13 deletions

View File

@ -52,7 +52,6 @@ function getDiscordEmbedError(e){
.setDescription("<:x:757935515445231651> " + e);
}
// Song Search, return the song itemID
async function searchForItemID (searchString) {
const response = await jellyfinClientManager.getJellyfinClient().getSearchHints({

View File

@ -8,8 +8,8 @@ function ticksToSeconds (ticks) {
}
function hmsToSeconds (str) {
var p = str.split(':'),
s = 0, m = 1;
var p = str.split(":");
var s = 0; var m = 1;
while (p.length > 0) {
s += m * parseInt(p.pop(), 10);