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