Fix Jellyfin album duration normalization (#191)

This commit is contained in:
Gelaechter 2023-07-29 17:35:30 +00:00 committed by GitHub
parent 8e83beffcc
commit 93e00e7afb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -201,7 +201,7 @@ const normalizeAlbum = (
})),
backdropImageUrl: null,
createdAt: item.DateCreated,
duration: item.RunTimeTicks / 10000,
duration: item.RunTimeTicks / 10000000,
genres: item.GenreItems?.map((entry) => ({ id: entry.Id, name: entry.Name })),
id: item.Id,
imagePlaceholderUrl: null,