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);
|
.setDescription("<:x:757935515445231651> " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Song Search, return the song itemID
|
// Song Search, return the song itemID
|
||||||
async function searchForItemID (searchString) {
|
async function searchForItemID (searchString) {
|
||||||
const response = await jellyfinClientManager.getJellyfinClient().getSearchHints({
|
const response = await jellyfinClientManager.getJellyfinClient().getSearchHints({
|
||||||
|
@ -8,8 +8,8 @@ function ticksToSeconds (ticks) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function hmsToSeconds (str) {
|
function hmsToSeconds (str) {
|
||||||
var p = str.split(':'),
|
var p = str.split(":");
|
||||||
s = 0, m = 1;
|
var s = 0; var m = 1;
|
||||||
|
|
||||||
while (p.length > 0) {
|
while (p.length > 0) {
|
||||||
s += m * parseInt(p.pop(), 10);
|
s += m * parseInt(p.pop(), 10);
|
||||||
|
Loading…
Reference in New Issue
Block a user