mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-06 20:10:12 +02:00
remove audio prefix from subsonic contentType property
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user