From fc9b6905feb936bc565d88da34d628a0b64d678d Mon Sep 17 00:00:00 2001 From: lasers Date: Tue, 8 Nov 2016 17:30:26 -0600 Subject: [PATCH] Fix black boxes conspiracy --- menu/menu_displaylist.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index e84ea5ac96..e72038e240 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -3287,9 +3287,13 @@ static int menu_displaylist_parse_playlists( continue; /* Need to preserve slash first time. */ - path = str_list->elems[i].data; + path = str_list->elems[i].data; - if (!strstr(path, file_path_str(FILE_PATH_LPL_EXTENSION))) + if (!strstr(path, file_path_str(FILE_PATH_LPL_EXTENSION)) || + (strstr(path, file_path_str(FILE_PATH_CONTENT_HISTORY))) || + (strstr(path, file_path_str(FILE_PATH_CONTENT_MUSIC_HISTORY))) || + (strstr(path, file_path_str(FILE_PATH_CONTENT_VIDEO_HISTORY))) || + (strstr(path, file_path_str(FILE_PATH_CONTENT_IMAGE_HISTORY)))) continue; file_type = FILE_TYPE_PLAYLIST_COLLECTION;