summaryrefslogtreecommitdiff
path: root/apps/onplay.h
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2024-09-23 03:23:36 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2024-11-02 17:27:22 -0400
commit06986d27f06528c8eb9f672a8f4913d3e3e7a307 (patch)
treeeba4e37fbc0685621702b7ab04ad69f6616253b0 /apps/onplay.h
parent67ad6589fbcd65281364dba51aabefdc55990b2d (diff)
downloadrockbox-06986d27f06528c8eb9f672a8f4913d3e3e7a307.tar.gz
rockbox-06986d27f06528c8eb9f672a8f4913d3e3e7a307.zip
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
Diffstat (limited to 'apps/onplay.h')
-rw-r--r--apps/onplay.h1
1 files changed, 1 insertions, 0 deletions
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 @@
28enum { 28enum {
29 ONPLAY_NO_CUSTOMACTION, 29 ONPLAY_NO_CUSTOMACTION,
30 ONPLAY_CUSTOMACTION_SHUFFLE_SONGS, 30 ONPLAY_CUSTOMACTION_SHUFFLE_SONGS,
31 ONPLAY_CUSTOMACTION_FIRSTLETTER,
31}; 32};
32 33
33int onplay(char* file, int attr, int from_context, bool hotkey, int customaction); 34int onplay(char* file, int attr, int from_context, bool hotkey, int customaction);