Expose date information in album
This commit is contained in:
parent
c25b7badbe
commit
e466b92b3a
2 changed files with 2 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ const getAlbumInfo = (root, tracks) => ({
|
|||
bitrate: collect(tracks, t => t.format.bitrate),
|
||||
trackCount: tracks.length,
|
||||
cover: tracks[0].cover || null,
|
||||
date: tracks[0].common.date || null,
|
||||
tracks: _.sortBy(tracks, 'common.track.no'),
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue