Fix black boxes conspiracy

This commit is contained in:
lasers 2016-11-08 17:30:26 -06:00
parent 18da1fc088
commit fc9b6905fe

View File

@ -3289,7 +3289,11 @@ static int menu_displaylist_parse_playlists(
/* Need to preserve slash first time. */
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;