From c55ed91c46d139ca9b1dfd55eed5ecdc4a7598fe Mon Sep 17 00:00:00 2001 From: Ryunam Date: Sat, 31 Dec 2016 01:11:29 +0100 Subject: [PATCH] Only show the 'Information' option for a Playlist entry if the 6th line of the .lpl playlist points to an existing file --- menu/menu_displaylist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index 2e6baacb4a..c7aea2a370 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -2813,6 +2813,7 @@ static int menu_displaylist_parse_horizontal_content_actions( strlcat(db_path, file_path_str(FILE_PATH_RDB_EXTENSION), sizeof(db_path)); + if (path_file_exists(db_path)) menu_entries_append_enum(info->list, label, db_path, MENU_ENUM_LABEL_INFORMATION, FILE_TYPE_RDB_ENTRY, 0, idx);