Skip to content

[Feature]: Ability to set a custom root path for libraries #1402

@trecoool

Description

@trecoool

I have already checked through the existing feature requests and found no duplicates

  • Yes

Is this a server-specific feature?

Navidrome

What do you want to be added?

My feishin connects to navidrome running in a docker on my nas, and the music folder on my nas is mapped to /music/ in navidrome. Therefore, in feishin, when i look at the path of a track, the path starts with "/music/..." which is the path that navidrome has, but does not represent the reality. Therefore i get an error when trying to "show track in file manager" : "Error invoking remote method 'open-item': Error: ENOENT: no such file or directory, access 'C:\music[...]'

It would be great to be able to override the root path of the library so that i can point it to the correct folder. In my case i would just need to prefix the path with "\MyServerName\media" to correctly point to my music library which is located in
"\\MyServerName\media\music..." so that feishin is actually able to open the track's folder.

In my case, both my music library and the mapped folder live in a folder called "music", but it may not be the case and so i believe we should be able to replace the string up to the root folder name, for example :

  • Path reported by navidrome : \music\artist\album\track
  • Paths override that would be set in feishin :
    • "\\ServerName\media\music" to open the following path :
      "\\ServerName\media\music\artist\album\track" <- library is on a network folder
    • "D:\Username\myMusicLibrary" to open the following path :
      "D:\Username\myMusicLibrary\artist\album\track" <- library is on the local computer

Both these types of paths are useful (local and network) : in my case, my library lives on my local computer and is synced in the background to a remote folder that navidrome is mapped to. I would like feishin to be able to open my local folder or the remote one.

I understand that this feature may seem niche, but having an instant access to the file is the next best thing to having an integrated tag editor ☺

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions