radio station compatability

Signed-off-by: Core <core@coredev.uk>
This commit is contained in:
Core 2022-09-14 19:14:22 +01:00
parent bd6552a048
commit 378551bd0c
No known key found for this signature in database
GPG key ID: 2AB8327FBA02D1C0
4 changed files with 6 additions and 10 deletions

View file

@ -1957,6 +1957,7 @@ const app = new Vue({
* @memberOf app
*/
convertTime(seconds, format = "short") {
if (app.mk?.nowPlayingItem?.type === "radioStation") return;
if (isNaN(seconds) || seconds === Infinity) {
seconds = 0;
}