v4.3.3.36 - Update NSPanelTs.ts

Fix Alexa Elapsed
This commit is contained in:
Armilar
2024-01-10 22:31:29 +01:00
committed by GitHub
parent af02a70600
commit 7194d7f613

View File

@@ -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) {