mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 13:00:13 +02:00
fix missing playlistItemId for subsonic song normalization (#1564)
This commit is contained in:
@@ -133,6 +133,7 @@ const normalizeSong = (
|
||||
server?: null | ServerListItemWithCredential,
|
||||
pathReplace?: string,
|
||||
pathReplaceWith?: string,
|
||||
playlistIndex?: number,
|
||||
): Song => {
|
||||
const participants = getParticipants(item);
|
||||
|
||||
@@ -189,6 +190,7 @@ const normalizeSong = (
|
||||
}
|
||||
: null,
|
||||
playCount: item?.playCount || 0,
|
||||
playlistItemId: playlistIndex !== undefined ? playlistIndex.toString() : undefined,
|
||||
releaseDate: null,
|
||||
releaseYear: item.year || null,
|
||||
sampleRate: item.samplingRate || null,
|
||||
|
||||
Reference in New Issue
Block a user