Fix lint error

This commit is contained in:
Borewit
2017-09-17 22:19:32 +02:00
parent 54e15644b6
commit 52e16c33b4

View File

@@ -214,8 +214,8 @@ function renderAudioMetadata (state) {
title = fileSummary.name title = fileSummary.name
} }
let artist = common.albumartist || common.artist || let artist = common.albumartist || common.artist ||
(common.artists && common.artists.filter(function (a) { return a }).join(', ')) (common.artists && common.artists.filter(function (a) { return a }).join(', ')) ||
|| '(Unknown Artist)' '(Unknown Artist)'
let album = common.album let album = common.album
if (album && common.year && !album.includes(common.year)) { if (album && common.year && !album.includes(common.year)) {
album += ' (' + common.year + ')' album += ' (' + common.year + ')'