navidrome/core/playlists
Matt Van Horn f8674115d2
fix(playlists): import smart playlists when PlaylistsPath uses Windows separators
Both the relative folder path and each PlaylistsPath pattern are
converted with filepath.ToSlash before doublestar.Match. The existing
in-path example has its Windows skip removed and joins its patterns with
filepath.ListSeparator. New cases cover a path from filepath.Join, the
same folder written with forward slashes, and neighboring directories
that stay outside the configured path after normalization.

Fixes #6276

Signed-off-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
2026-10-06 23:01:52 -07:00
..
import.go feat(scanner): per-library PID configuration (#6252) 2026-10-02 05:05:32 -04:00
import_test.go fix(playlists): import smart playlists when PlaylistsPath uses Windows separators 2026-10-06 23:01:52 -07:00
parse_m3u.go feat(scanner): per-library PID configuration (#6252) 2026-10-02 05:05:32 -04:00
parse_m3u_test.go feat(scanner): per-library PID configuration (#6252) 2026-10-02 05:05:32 -04:00
parse_nsp.go refactor: multiple syntax updates for Go 1.26 2026-05-19 18:02:36 -03:00
parse_nsp_test.go fix(smartplaylist): reject NSP mixing top-level 'any' and 'all' (#5759) 2026-07-10 20:27:29 -04:00
playlists.go fix(playlists): import smart playlists when PlaylistsPath uses Windows separators 2026-10-06 23:01:52 -07:00
playlists_suite_test.go refactor: move playlist business logic from repositories to service layer (#5027) 2026-02-21 19:57:13 -05:00
playlists_test.go refactor(persistence): stateless repositories with per-call context (#6149) 2026-09-25 18:06:10 -04:00
rest_adapter.go refactor(persistence): stateless repositories with per-call context (#6149) 2026-09-25 18:06:10 -04:00
rest_adapter_test.go refactor(persistence): stateless repositories with per-call context (#6149) 2026-09-25 18:06:10 -04:00