From 06986d27f06528c8eb9f672a8f4913d3e3e7a307 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Mon, 23 Sep 2024 03:23:36 -0400 Subject: Generate A-Z menus in the tagtree this adds a new command %byfirstletter %byfirstletter "custom_track" "Track A to Z" "title" ^ command ^menu name ^menu title ^subitem need a better name for subitem btw.. this patch also allows us to tell when we are in the BFL menu by checking customaction == ONPLAY_CUSTOMACTION_FIRSTLETTER we then enable spelling of the letters in the menu it spells Numeric too but that shouldn't matter with the upcoming voice patch Change-Id: I59815f697a4ef84a8cb540783b620d15f6670e00 --- apps/onplay.h | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/onplay.h') diff --git a/apps/onplay.h b/apps/onplay.h index 03861e9cf6..26b1247f7b 100644 --- a/apps/onplay.h +++ b/apps/onplay.h @@ -28,6 +28,7 @@ enum { ONPLAY_NO_CUSTOMACTION, ONPLAY_CUSTOMACTION_SHUFFLE_SONGS, + ONPLAY_CUSTOMACTION_FIRSTLETTER, }; int onplay(char* file, int attr, int from_context, bool hotkey, int customaction); -- cgit v1.2.3