mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 20:40:21 +02:00
cleanup path replacement
This commit is contained in:
@@ -165,10 +165,7 @@ const normalizeSong = (
|
||||
mbzTrackId: null,
|
||||
name: item.title,
|
||||
participants: getParticipants(item),
|
||||
path:
|
||||
pathReplace || pathReplaceWith
|
||||
? replacePathPrefix(item.path || '', pathReplace, pathReplaceWith)
|
||||
: item.path,
|
||||
path: replacePathPrefix(item.path || '', pathReplace, pathReplaceWith),
|
||||
peak:
|
||||
item.replayGain && (item.replayGain.albumPeak || item.replayGain.trackPeak)
|
||||
? {
|
||||
|
||||
Reference in New Issue
Block a user