diff --git a/src/app/views/currently-playing.component.ts b/src/app/views/currently-playing.component.ts index ed12d21..5089cc9 100644 --- a/src/app/views/currently-playing.component.ts +++ b/src/app/views/currently-playing.component.ts @@ -6,6 +6,10 @@ import {pickSong} from "../services/fs"; import {Metadata} from "../injectables/metadata"; import {injectMutation} from "@tanstack/angular-query-experimental"; +function zeroPad(num: number, places: number) { + return String(num).padStart(places, '0'); +} + @Component({ selector: "currently-playing-material", template: ` @@ -127,16 +131,26 @@ export class AlbumArt {
{{ currentTimeFormatted() }}
+{{ totalTimeFormatted() }}
+