mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-23 18:21:55 +01:00
fix lint
This commit is contained in:
parent
db6638724c
commit
a719ccecd9
@ -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({
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user