diff --git a/package.json b/package.json index 547c7c9..6072dd8 100644 --- a/package.json +++ b/package.json @@ -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 ", diff --git a/src/generate.js b/src/generate.js index 57a7165..ff5a777 100644 --- a/src/generate.js +++ b/src/generate.js @@ -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, });