mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-22 15:34:26 +01:00
v4.3.3.36 - Update NSPanelTs.ts
Fix Alexa Elapsed
This commit is contained in:
@@ -5130,6 +5130,9 @@ function GenerateMediaPage(page: NSPanel.PageMedia): NSPanel.Payload[] {
|
|||||||
vElapsed = vElapsed.slice(1);
|
vElapsed = vElapsed.slice(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (vElapsed == 0) {
|
||||||
|
vElapsed = '0:00';
|
||||||
|
}
|
||||||
let vDuration = Duration;
|
let vDuration = Duration;
|
||||||
if (vDuration.length == 5) {
|
if (vDuration.length == 5) {
|
||||||
if(parseInt(vDuration.slice(0,2)) < 9) {
|
if(parseInt(vDuration.slice(0,2)) < 9) {
|
||||||
|
|||||||
Reference in New Issue
Block a user