more now playing fixes
This commit is contained in:
parent
29d4cdc579
commit
35726ad44a
1 changed files with 1 additions and 2 deletions
|
|
@ -73,8 +73,7 @@ async function buildPayload(entries) {
|
||||||
{ name: "Player", value: e.playerName, inline: true },
|
{ name: "Player", value: e.playerName, inline: true },
|
||||||
{ name: "Duration", value: `${Math.floor(e.duration / 60)}:${String(e.duration % 60).padStart(2, "0")}`, inline: false },
|
{ name: "Duration", value: `${Math.floor(e.duration / 60)}:${String(e.duration % 60).padStart(2, "0")}`, inline: false },
|
||||||
],
|
],
|
||||||
footer: { text: "Navidrome Now Playing" },
|
footer: { text: "now playing!" },
|
||||||
timestamp: new Date(e.played).toISOString(),
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue