Fix album cover
This commit is contained in:
parent
6505e3aff7
commit
1d463642a5
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "publikator",
|
||||
"version": "0.9.0",
|
||||
"version": "0.10.0",
|
||||
"main": "index.js",
|
||||
"repository": "https://github.com/aengl/publikator.git",
|
||||
"author": "Lynn Smeria <ae@cephea.de>",
|
||||
|
|
|
@ -27,7 +27,7 @@ const getAlbumInfo = (root, tracks) => ({
|
|||
artists: collect(tracks, t => t.common.artists || t.common.artist),
|
||||
bitrate: collect(tracks, t => t.format.bitrate),
|
||||
trackCount: tracks.length,
|
||||
cover: tracks[0].coverUrl || null,
|
||||
cover: tracks[0].cover || null,
|
||||
tracks,
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue