A music player that connects to your cloud/distributed storage.
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: type issues

+14 -6
src/common/constants.js src/components/input/constants.js
+1 -1
src/components/input/s3/worker.js
··· 169 169 170 170 const client = createClient(parsed.bucket); 171 171 const url = await client.getPresignedUrl( 172 - /** @type {any} */ (method.toUpperCase()), 172 + /** @type {any} */ (method?.toUpperCase() ?? "GET"), 173 173 parsed.path, 174 174 ); 175 175
+2 -1
src/components/orchestrator/process-tracks/worker.js
··· 1 1 import deepDiff from "@fry69/deep-diff"; 2 + 2 3 import { define, ostiary, proxyProvider } from "@common/worker.js"; 3 - import { INPUT_ACTIONS } from "@common/constants.js"; 4 + import { INPUT_ACTIONS } from "@components/input/constants.js"; 4 5 5 6 /** 6 7 * @import {Track} from "@definitions/types.d.ts"
+11 -4
src/components/processor/metadata/common.js
··· 71 71 const tags = { 72 72 album: meta.common.album, 73 73 albumartist: meta.common.albumartist, 74 - albumartists: meta.common.albumartists ?? 75 - (meta.common.albumartist ? [meta.common.albumartist] : []), 74 + albumartists: Array.isArray(meta.common.albumartist) 75 + ? meta.common.albumartist 76 + : (meta.common.albumartist ? [meta.common.albumartist] : undefined), 76 77 albumartistsort: meta.common.albumartistsort, 77 78 albumsort: meta.common.albumsort, 78 79 arranger: meta.common.arranger, ··· 99 100 gapless: meta.common.gapless, 100 101 genres: Array.isArray(meta.common.genre) 101 102 ? meta.common.genre 102 - : [meta.common.genre], 103 + : meta.common.genre 104 + ? [meta.common.genre] 105 + : undefined, 103 106 isrc: meta.common.isrc, 104 107 labels: meta.common.label, 105 108 lyricists: meta.common.lyricist, 106 109 media: meta.common.media, 107 110 mixers: meta.common.mixer, 108 - moods: meta.common.mood, 111 + moods: Array.isArray(meta.common.mood) 112 + ? meta.common.mood 113 + : meta.common.mood 114 + ? [meta.common.mood] 115 + : undefined, 109 116 originaldate: meta.common.originaldate, 110 117 originalyear: meta.common.originalyear, 111 118 peakLevel: meta.common.peakLevel,