From 38221c13f3938e192ee8185137851fda5c276128 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 6 May 2024 17:39:25 -0300 Subject: search: disable gif artworks for now --- src/util/search-spec.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/util/search-spec.js b/src/util/search-spec.js index 2cdbffa7..de71776c 100644 --- a/src/util/search-spec.js +++ b/src/util/search-spec.js @@ -4,8 +4,12 @@ function prepareArtwork(thing) { switch (thing.constructor[Symbol.for('Thing.referenceType')]) { case 'track': { if (thing.hasUniqueCoverArt) { + if (thing.coverArtFileExtension === 'gif') + return undefined; return ['track', thing.album.directory]; } else if (thing.album.hasCoverArt) { + if (thing.album.coverArtFileExtension === 'gif') + return undefined; return ['track-album', thing.album.directory]; } else { return undefined; -- cgit 1.3.0-6-gf8a5