From 68b3e5d8e02aff753e01a1f6f8969891910b2e0b Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Sat, 18 Jan 2025 11:34:49 -0500 Subject: [PATCH] iOS: fix "clean playlist" (#17434) --- playlist.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/playlist.c b/playlist.c index 8242d954bd..264e2ac6ff 100644 --- a/playlist.c +++ b/playlist.c @@ -1226,6 +1226,12 @@ bool playlist_content_path_is_valid(const char *path) if (string_is_empty(path)) return false; +#ifdef IOS + char expanded_path[PATH_MAX_LENGTH]; + fill_pathname_expand_special(expanded_path, path, sizeof(expanded_path)); + path = expanded_path; +#endif + /* If content is inside an archive, special * handling is required... */ if (path_contains_compressed_file(path))