iOS: fix "clean playlist" (#17434)

This commit is contained in:
Eric Warmenhoven 2025-01-18 11:34:49 -05:00 committed by GitHub
parent 445547f00a
commit 68b3e5d8e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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))