From 3a1aa3d7232ba24725b1b9215c296747bb8b242c Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 13 May 2024 09:43:30 -0300 Subject: search, client: album results --- src/util/search-spec.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/util/search-spec.js') 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', -- cgit 1.3.0-6-gf8a5