diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/search-spec.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/search-spec.js b/src/util/search-spec.js index 5aba2194..f9d2a035 100644 --- a/src/util/search-spec.js +++ b/src/util/search-spec.js @@ -2,6 +2,14 @@ function getArtworkPath(thing) { switch (thing.constructor[Symbol.for('Thing.referenceType')]) { + case 'album': { + return [ + 'media.albumCover', + thing.directory, + thing.coverArtFileExtension, + ]; + } + case 'flash': { return [ 'media.flashArt', |