From 39ae79d41452dfb5a28cd76da7729bc62792a011 Mon Sep 17 00:00:00 2001 From: alex-phillips Date: Thu, 26 Jan 2017 16:30:12 -0500 Subject: [PATCH] added support for album year, disc, and genre --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index f637c33..f20bd53 100644 --- a/index.js +++ b/index.js @@ -92,6 +92,9 @@ function handlePut(bucket, key, cb) { tags.artist = tags.artist.length ? tags.artist[0] : ''; tags.albumartist = tags.albumartist.length ? tags.albumartist[0] : ''; tags.track = tags.track.no; + tags.disc = tags.disc.no; + tags.year = tags.year.length ? tags.year[0] : ''; + tags.genre = tags.genre.length ? tags.genre[0] : ''; if (tags.picture.length) { tags.cover = {