1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add albumLUFS to mediaSource to prevent new DTO

This commit is contained in:
TelepathicWalrus 2023-08-11 21:09:09 +01:00 committed by Bill Thornton
parent 01dc72924a
commit 28558ce6e4
2 changed files with 6 additions and 3 deletions

View file

@ -2723,7 +2723,10 @@ class PlaybackManager {
});
});
} else {
return mediaSource;
return apiClient.getItem(apiClient.getCurrentUserId(), item.AlbumId).then(function(result) {
mediaSource.albumLUFS = result.LUFS;
return mediaSource;
});
}
} else {
showPlaybackInfoErrorMessage(self, 'PlaybackErrorNoCompatibleStream');