mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
join path with library path
This commit is contained in:
parent
ce6aaa709f
commit
6f5dd4881a
2 changed files with 4 additions and 1 deletions
|
|
@ -175,7 +175,9 @@ const normalizeSong = (
|
|||
lastPlayedAt: normalizePlayDate(item),
|
||||
lyrics: item.lyrics ? item.lyrics : null,
|
||||
name: item.title,
|
||||
path: item.path,
|
||||
// Thankfully, Windows is merciful and allows a mix of separators. So, we can use the
|
||||
// POSIX separator here instead
|
||||
path: (item.libraryPath ? item.libraryPath + '/' : '') + item.path,
|
||||
peak:
|
||||
item.rgAlbumPeak || item.rgTrackPeak
|
||||
? { album: item.rgAlbumPeak, track: item.rgTrackPeak }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue