-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Allow whitelisting paths to load playlist files from #577
Comments
Hello! Thanks for your feedback. |
While I don't know what people use them for (maybe open an entire album in vlc with a double click, who knows?), I've encountered hundreds of albums that contained an .m3u or .m3u8 file with paths to the tracks of the album. Limiting the possible paths to import playlists from would be useful for users who opted to keep these files. |
Ok I see. Maybe an option to skip playlists that are just indexing a whole album would be easier to use? |
Sorry about not getting back to this despite your prompt response! Christmas holidays and stuff. And yes, it's exactly as @AverageHoarder said.
Hmm, not entirely sure how this would work? I've got some playlists indexing entire directories (but not albums), and I would like to keep those playlists. |
I meant this: if the tracks of the playlist all belong to the same album (not the same directory), then it is omitted. Could be even omitted only if it contains exactly all the tracks of the album |
That sounds good to me! |
Depending on how you plan to implement this check I see a possible problem. |
Orphan tracks inside playlists are already ignored. Maybe we also need to ignore playlists that are empty. |
… + skip playlists that are empty, fixes #577
Nice work with the m3u playlists loading!
My issue now is that LMS loads too many playlist files, since a lot my album directories contain playlists for those albums. I would not like to delete those playlists, but I would also not like to see them in LMS.
My proposed solution is to add a config option containing a list of paths eligible to load playlists from. Any playlist file not matching a path in this list would simply be ignored. Leaving the list empty would keep current behavior of loading all playlists.
The text was updated successfully, but these errors were encountered: