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:
parent
01dc72924a
commit
28558ce6e4
2 changed files with 6 additions and 3 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue