6
Symlinked multi-library breaks playlists
(lemmy.dbzer0.com)
Navidrome is a free, open source web-based music collection server and streamer. It gives you freedom to listen to your music collection from any browser or mobile device. https://www.navidrome.org/
This is an unofficial community. However, we adhear to the official Code Of Conduct set by the Navidrome project.
Some questions to help explore if i was in your shoes:
I haven't experimented with multi library support but that first bullet point makes me think that (db) playlists might be tied to the original library song, and navidrome is expecting the user to have access to that library to play those songs even if the songs exist separately in the current library via symlinks. The second copy of those songs are likely treated as second entries in the db even if they ultimately are the same file.
An alternative approach would be to create a backup of the db, and then delete the symlinks, delete the "missing songs" from the navidrome ui, and then move the song files to the new library. Right now you're thinking of doing a parent library (all files) plus a child library (selective files from parent), but id treat the default library as "core" songs everyone should have access to, and then a second "personal" library for your specific songs. The caveat is i don't know if navidrome will be able to tell the songs moved from one library to another. If not, then this could be pretty messy if you're wanting to keep annotations and playlists which is why i suggest a backup.
Thanks so much for the thoughtful response. So m3u playlists actually do work, but they show up as duplicates in the playlist sidebar and one is populated and one isn't. The playlists I'm most interested in are the internal (db) playlists. As the admin, my user account should have access to both libraries. Maybe I should test with another user account.
So, if my core music files are in dir
/music/parentyou're suggesting that Imvthem over to/music/child?I tried hardlinks earlier, and while they showed up in the child library and worked properly the playlists still didn't work. I'll keep messing around and update this post if I figure anything out. Thanks!
Yeah, I tried it with another user that had explicit access to both libraries and still couldn't get it to work. If I create a playlist and add songs from the child library I cannot see those songs when the parent library is enabled, and vice versa. Of course when both libraries are enabled I can see the songs.