Fix subsonic song duration

This commit is contained in:
jeffvli 2023-09-21 17:22:42 -07:00
parent 65f28bb9dc
commit 29a9a11085

View File

@ -67,7 +67,7 @@ const normalizeSong = (
container: item.contentType,
createdAt: item.created,
discNumber: item.discNumber || 1,
duration: item.duration || 0,
duration: item.duration ? item.duration * 1000 : 0,
gain: null,
genres: item.genre
? [