-
-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to change playlist scan functionality to only scan a specific mount #1181
Comments
I think it'd be simpler and less surprising if the playlist import path could just be configured separately from the music library path. |
I was hoping to tackle this as part of the Multi-Library support (#192), but in the interim I may introduce something to allow the user to specify where Navidrome should look for playlists. |
this would fix the problem i described in #1237 quite elegantly. to avoid seeking there, let me rephrase: My problem is that the current playlist import code imports a lot of playlists (hundreds!) which are mostly useless because they are .m3u files shipped within album directories. so, basically, many albums show up as playlists as well, and drown out my normal playlists. having a specific folder for playlists would fix this issue, provided that the playlists are parsed as relative to the top-level mount, however. a common mistake when implementing this is to look for relative paths from within the playlist directory... in the current setup, this requires me to put the playlist mount at the top level (in |
@anarcat: It's probably besides the point, but do you end up using these album-specific playlists a lot? I know Bandcamp releases sometimes come with them, but I'm always listening in a context where the album tags are used to play an album, and not an album-specific playlist. A good old find + rm will get rid of those playlists for you, if they are annoying atm ;) |
I don't even remember *ever* using such playlists. I find them
completely useless, but I'd understand why they were historically
useful.
Right now it's just noise. :)
|
I also endend up deleting all these playlists, because they annoyed me and I had no use for them. |
If you're on Linux / WSL / Mac:
Obviously change the Anyway, back on topic: a designated playlist directory that when set only makes Navidrome look for playlists there would be the cleanest solution, imho. |
as a workaround for this, I did the following hack over the sqlite database directly:
this implies that the playlists care about are at the root of |
Added new option: PlaylistsPath: list of path globs from where ND should import playlists. Default: Examples, assuming MusicFolder is
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Currently, playlists are automatically scanned and imported if they are found anywhere under the /music directory. If there are playlists that one doesn't necessarily want imported from that directory, they have no control over whether or not those specific playlists get picked up and imported.
I would propose that a check be made at startup to see if a /playlists directory has been mounted. If so, then only load playlists from that mount and not from a recursive check of the /music directory.
A docker-compose file could then look something like this for volumes:
- /volume1/docker/navidrome/data:/data
- /volume1/Media/Music:/music:ro
- /volume1/Media/Playlists:/playlists
and a user could control what playlists are imported into Navidrome.
The text was updated successfully, but these errors were encountered: