[bug] Fix missing playlist_dir
Some checks failed
CI / Build (push) Failing after 4m58s
CI / pyright (push) Failing after 5s
CI / pytest (3.13) (push) Failing after 4s
CI / ruff check (push) Failing after 6s
CI / ruff format (push) Failing after 5s
CI / pytest (3.14) (push) Failing after 6s

This commit is contained in:
2026-06-24 21:34:49 -04:00
parent 8b176cc9cd
commit b6877a656b

View File

@ -283,8 +283,8 @@ def _parse_search_uris(config: Config) -> list[Uri] | None:
def _parse_playlist_dir(config: Config) -> str | None:
raw = config.get("smartplaylists", {}).get("playlist_dir", "")
return raw.strip() or None
raw = config.get("smartplaylists", {}).get("playlist_dir")
return raw.strip() if raw else None
def app_factory(config: Config, core: CoreProxy) -> list[tuple]: