mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 02:43:33 +00:00
add bit depth, sample rate
This commit is contained in:
parent
8b141d652c
commit
4b4df28641
8 changed files with 65 additions and 16 deletions
|
|
@ -148,6 +148,7 @@ const normalizeSong = (
|
|||
albumId: item.albumId,
|
||||
...getArtists(item),
|
||||
artistName: item.artist,
|
||||
bitDepth: item.bitDepth || null,
|
||||
bitRate: item.bitRate,
|
||||
bpm: item.bpm ? item.bpm : null,
|
||||
channels: item.channels ? item.channels : null,
|
||||
|
|
@ -189,6 +190,7 @@ const normalizeSong = (
|
|||
: new Date(Date.UTC(item.year, 0, 1))
|
||||
).toISOString(),
|
||||
releaseYear: String(item.year),
|
||||
sampleRate: item.sampleRate || null,
|
||||
serverId: server?.id || 'unknown',
|
||||
serverType: ServerType.NAVIDROME,
|
||||
size: item.size,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue