« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/search-spec.js4
1 files changed, 4 insertions, 0 deletions
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;