mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-10 12:39:58 +02:00
refactor song path replacement
- path replacement during runtime instead of during API normalization - fix Navidrome API path not appending libraryPath which caused inconsistency between ND and Subsonic paths
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { ItemDetailListCellProps } from './types';
|
||||
import { resolveSongPath } from '/@/renderer/utils/resolve-song-path';
|
||||
|
||||
export const PathColumn = ({ song }: ItemDetailListCellProps) => song.path ?? <> </>;
|
||||
export const PathColumn = ({ song }: ItemDetailListCellProps) =>
|
||||
resolveSongPath(song.path) ?? <> </>;
|
||||
|
||||
Reference in New Issue
Block a user