diff --git a/package.json b/package.json index 7b32537..b530d52 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "publikator", - "version": "0.16.0", + "version": "0.17.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 8917f24..03951ba 100644 --- a/src/generate.js +++ b/src/generate.js @@ -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'), });