remove audio prefix from subsonic contentType property

This commit is contained in:
jeffvli
2026-02-25 22:22:13 -08:00
parent aca5e1fe87
commit 438db40d0e
@@ -159,7 +159,7 @@ const normalizeSong = (
channels: item.channelCount || null,
comment: null,
compilation: null,
container: item.contentType,
container: item.contentType.startsWith('audio/') ? item.contentType.split('/')[1] : null,
createdAt: item.created,
discNumber: item.discNumber || 1,
discSubtitle: discTitleMap?.get(item.discNumber ?? 1) ?? null,