diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-05-13 08:30:45 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-31 12:11:51 -0300 |
commit | 4fbc81726b14ee34a7f85ce013df8f8b1f1797be (patch) | |
tree | 63e5510989c67dbee0f62504e96d889f15f8de48 /src/util/search-spec.js | |
parent | 0d6d23925df8800f4ab0f8e1d3eac1401fb64a6f (diff) |
search, client: basic flash search results
Diffstat (limited to 'src/util/search-spec.js')
-rw-r--r-- | src/util/search-spec.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/search-spec.js b/src/util/search-spec.js index de71776c..08717d92 100644 --- a/src/util/search-spec.js +++ b/src/util/search-spec.js @@ -2,6 +2,10 @@ function prepareArtwork(thing) { switch (thing.constructor[Symbol.for('Thing.referenceType')]) { + case 'flash': { + return ['flash', thing.coverArtFileExtension]; + } + case 'track': { if (thing.hasUniqueCoverArt) { if (thing.coverArtFileExtension === 'gif') |