mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 21:16:17 +02:00
cleanup path replacement
This commit is contained in:
@@ -211,10 +211,7 @@ const normalizeSong = (
|
||||
mbzTrackId: item.ProviderIds?.MusicBrainzTrack || null,
|
||||
name: item.Name,
|
||||
participants: getPeople(item),
|
||||
path:
|
||||
path && (pathReplace || pathReplaceWith)
|
||||
? replacePathPrefix(path, pathReplace || '', pathReplaceWith || '')
|
||||
: path,
|
||||
path: replacePathPrefix(path || '', pathReplace, pathReplaceWith),
|
||||
peak: null,
|
||||
playCount: (item.UserData && item.UserData.PlayCount) || 0,
|
||||
playlistItemId: item.PlaylistItemId,
|
||||
|
||||
Reference in New Issue
Block a user