Fix nd/jf duration normalizations

This commit is contained in:
jeffvli 2023-09-15 16:52:14 -07:00
parent 5e33212112
commit 153d8ce6ce
4 changed files with 4 additions and 4 deletions

View file

@ -150,7 +150,7 @@ const normalizeSong = (
container: (item.MediaSources && item.MediaSources[0]?.Container) || null,
createdAt: item.DateCreated,
discNumber: (item.ParentIndexNumber && item.ParentIndexNumber) || 1,
duration: item.RunTimeTicks / 10000000,
duration: item.RunTimeTicks / 10000,
genres: item.GenreItems?.map((entry) => ({
id: entry.Id,
imageUrl: null,