diff --git a/intl/msg_hash_us.c b/intl/msg_hash_us.c index b1fff3b055..1ec86fd27b 100644 --- a/intl/msg_hash_us.c +++ b/intl/msg_hash_us.c @@ -1188,6 +1188,8 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg) return "core_info_entry"; case MENU_ENUM_LABEL_NETWORK_INFO_ENTRY: return "network_info_entry"; + case MENU_ENUM_LABEL_PLAYLIST_ENTRY: + return "playlist_entry"; case MENU_ENUM_LABEL_SYSTEM_INFO_ENTRY: return "system_info_entry"; case MENU_ENUM_LABEL_DEBUG_INFO_ENTRY: diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index dc7c677123..7f5062629f 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -1587,13 +1587,13 @@ static int menu_displaylist_parse_playlist(menu_displaylist_info_t *info, if (!path) menu_entries_add_enum(info->list, fill_buf, path_playlist, - MSG_UNKNOWN, FILE_TYPE_PLAYLIST_ENTRY, 0, i); + MENU_ENUM_LABEL_PLAYLIST_ENTRY, FILE_TYPE_PLAYLIST_ENTRY, 0, i); else if (is_history) menu_entries_add_enum(info->list, fill_buf, - path, MSG_UNKNOWN, FILE_TYPE_RPL_ENTRY, 0, i); + path, MENU_ENUM_LABEL_PLAYLIST_ENTRY, FILE_TYPE_RPL_ENTRY, 0, i); else menu_entries_add_enum(info->list, label, - path, MSG_UNKNOWN, FILE_TYPE_RPL_ENTRY, 0, i); + path, MENU_ENUM_LABEL_PLAYLIST_ENTRY, FILE_TYPE_RPL_ENTRY, 0, i); } return 0; @@ -3452,7 +3452,7 @@ static int menu_displaylist_parse_generic( { case MENU_LABEL_CORE_LIST: { - enum msg_hash_enums enum_idx = MSG_UNKNOWN; + enum msg_hash_enums enum_idx = MSG_UNKNOWN; const char *dir = NULL; menu_entries_get_last_stack(&dir, NULL, NULL, &enum_idx, NULL); diff --git a/msg_hash.h b/msg_hash.h index be2df83e80..ff8f04120b 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -286,6 +286,7 @@ enum msg_hash_enums MENU_ENUM_LABEL_NETWORK_INFO_ENTRY, MENU_ENUM_LABEL_SYSTEM_INFO_ENTRY, MENU_ENUM_LABEL_CORE_INFO_ENTRY, + MENU_ENUM_LABEL_PLAYLIST_ENTRY, MENU_ENUM_LABEL_START_NET_RETROPAD, MENU_ENUM_LABEL_VALUE_START_NET_RETROPAD,