From 23abe5025b550d6b8c691e94ca7d8982605bfe49 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 5 May 2019 01:17:51 +0200 Subject: [PATCH] Fix for playlist items that have been scanned and don't have an associated core - we don't want to resolve the path if core_path is set to "DETECT" --- playlist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playlist.c b/playlist.c index 80ffac7bb6..4c6da8dc1f 100644 --- a/playlist.c +++ b/playlist.c @@ -682,7 +682,8 @@ bool playlist_push(playlist_t *playlist, /* Get 'real' core path */ strlcpy(real_core_path, entry->core_path, sizeof(real_core_path)); - path_resolve_realpath(real_core_path, sizeof(real_core_path)); + if (!string_is_equal(real_core_path, file_path_str(FILE_PATH_DETECT))) + path_resolve_realpath(real_core_path, sizeof(real_core_path)); if (string_is_empty(real_core_path)) {