summaryrefslogtreecommitdiff
path: root/apps/tagnavi.config
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/tagnavi.config
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/tagnavi.config')
-rw-r--r--apps/tagnavi.config93
1 files changed, 5 insertions, 88 deletions
diff --git a/apps/tagnavi.config b/apps/tagnavi.config
index b599f9577c..6335610253 100644
--- a/apps/tagnavi.config
+++ b/apps/tagnavi.config
@@ -30,96 +30,13 @@
30# 30#
31 31
32# Define the A to Z Artist sub menu 32# Define the A to Z Artist sub menu
33%menu_start "custom_artist" "Artist A to Z" 33%byfirstletter "custom_artist" "Artist A to Z" "canonicalartist"
34"Numeric" -> canonicalartist ? canonicalartist < "A" -> album -> title = "fmt_title"
35"A" -> canonicalartist ? canonicalartist ^ "A" -> album -> title = "fmt_title"
36"B" -> canonicalartist ? canonicalartist ^ "B" -> album -> title = "fmt_title"
37"C" -> canonicalartist ? canonicalartist ^ "C" -> album -> title = "fmt_title"
38"D" -> canonicalartist ? canonicalartist ^ "D" -> album -> title = "fmt_title"
39"E" -> canonicalartist ? canonicalartist ^ "E" -> album -> title = "fmt_title"
40"F" -> canonicalartist ? canonicalartist ^ "F" -> album -> title = "fmt_title"
41"G" -> canonicalartist ? canonicalartist ^ "G" -> album -> title = "fmt_title"
42"H" -> canonicalartist ? canonicalartist ^ "H" -> album -> title = "fmt_title"
43"I" -> canonicalartist ? canonicalartist ^ "I" -> album -> title = "fmt_title"
44"J" -> canonicalartist ? canonicalartist ^ "J" -> album -> title = "fmt_title"
45"K" -> canonicalartist ? canonicalartist ^ "K" -> album -> title = "fmt_title"
46"L" -> canonicalartist ? canonicalartist ^ "L" -> album -> title = "fmt_title"
47"M" -> canonicalartist ? canonicalartist ^ "M" -> album -> title = "fmt_title"
48"N" -> canonicalartist ? canonicalartist ^ "N" -> album -> title = "fmt_title"
49"O" -> canonicalartist ? canonicalartist ^ "O" -> album -> title = "fmt_title"
50"P" -> canonicalartist ? canonicalartist ^ "P" -> album -> title = "fmt_title"
51"Q" -> canonicalartist ? canonicalartist ^ "Q" -> album -> title = "fmt_title"
52"R" -> canonicalartist ? canonicalartist ^ "R" -> album -> title = "fmt_title"
53"S" -> canonicalartist ? canonicalartist ^ "S" -> album -> title = "fmt_title"
54"T" -> canonicalartist ? canonicalartist ^ "T" -> album -> title = "fmt_title"
55"U" -> canonicalartist ? canonicalartist ^ "U" -> album -> title = "fmt_title"
56"V" -> canonicalartist ? canonicalartist ^ "V" -> album -> title = "fmt_title"
57"W" -> canonicalartist ? canonicalartist ^ "W" -> album -> title = "fmt_title"
58"X" -> canonicalartist ? canonicalartist ^ "X" -> album -> title = "fmt_title"
59"Y" -> canonicalartist ? canonicalartist ^ "Y" -> album -> title = "fmt_title"
60"Z" -> canonicalartist ? canonicalartist ^ "Z" -> album -> title = "fmt_title"
61
62# ^ An empy line ends the menu
63
64# Define the A to Z album sub menu 34# Define the A to Z album sub menu
65%menu_start "custom_album" "Album A to Z" 35%byfirstletter "custom_album" "Album A to Z" "album"
66"Numeric" -> album ? album < "A" -> title = "fmt_title"
67"A" -> album ? album ^ "A" -> title = "fmt_title"
68"B" -> album ? album ^ "B" -> title = "fmt_title"
69"C" -> album ? album ^ "C" -> title = "fmt_title"
70"D" -> album ? album ^ "D" -> title = "fmt_title"
71"E" -> album ? album ^ "E" -> title = "fmt_title"
72"F" -> album ? album ^ "F" -> title = "fmt_title"
73"G" -> album ? album ^ "G" -> title = "fmt_title"
74"H" -> album ? album ^ "H" -> title = "fmt_title"
75"I" -> album ? album ^ "I" -> title = "fmt_title"
76"J" -> album ? album ^ "J" -> title = "fmt_title"
77"K" -> album ? album ^ "K" -> title = "fmt_title"
78"L" -> album ? album ^ "L" -> title = "fmt_title"
79"M" -> album ? album ^ "M" -> title = "fmt_title"
80"N" -> album ? album ^ "N" -> title = "fmt_title"
81"O" -> album ? album ^ "O" -> title = "fmt_title"
82"P" -> album ? album ^ "P" -> title = "fmt_title"
83"Q" -> album ? album ^ "Q" -> title = "fmt_title"
84"R" -> album ? album ^ "R" -> title = "fmt_title"
85"S" -> album ? album ^ "S" -> title = "fmt_title"
86"T" -> album ? album ^ "T" -> title = "fmt_title"
87"U" -> album ? album ^ "U" -> title = "fmt_title"
88"V" -> album ? album ^ "V" -> title = "fmt_title"
89"W" -> album ? album ^ "W" -> title = "fmt_title"
90"X" -> album ? album ^ "X" -> title = "fmt_title"
91"Y" -> album ? album ^ "Y" -> title = "fmt_title"
92"Z" -> album ? album ^ "Z" -> title = "fmt_title"
93
94# Define the A to Z track sub menu 36# Define the A to Z track sub menu
95%menu_start "custom_track" "Track A to Z" 37%byfirstletter "custom_track" "Track A to Z" "title"
96"Numeric" -> title ? title < "A" -> title = "fmt_title" 38
97"A" -> title ? title ^ "A" -> title = "fmt_title" 39# ^ An empy line ends the menu
98"B" -> title ? title ^ "B" -> title = "fmt_title"
99"C" -> title ? title ^ "C" -> title = "fmt_title"
100"D" -> title ? title ^ "D" -> title = "fmt_title"
101"E" -> title ? title ^ "E" -> title = "fmt_title"
102"F" -> title ? title ^ "F" -> title = "fmt_title"
103"G" -> title ? title ^ "G" -> title = "fmt_title"
104"H" -> title ? title ^ "H" -> title = "fmt_title"
105"I" -> title ? title ^ "I" -> title = "fmt_title"
106"J" -> title ? title ^ "J" -> title = "fmt_title"
107"K" -> title ? title ^ "K" -> title = "fmt_title"
108"L" -> title ? title ^ "L" -> title = "fmt_title"
109"M" -> title ? title ^ "M" -> title = "fmt_title"
110"N" -> title ? title ^ "N" -> title = "fmt_title"
111"O" -> title ? title ^ "O" -> title = "fmt_title"
112"P" -> title ? title ^ "P" -> title = "fmt_title"
113"Q" -> title ? title ^ "Q" -> title = "fmt_title"
114"R" -> title ? title ^ "R" -> title = "fmt_title"
115"S" -> title ? title ^ "S" -> title = "fmt_title"
116"T" -> title ? title ^ "T" -> title = "fmt_title"
117"U" -> title ? title ^ "U" -> title = "fmt_title"
118"V" -> title ? title ^ "V" -> title = "fmt_title"
119"W" -> title ? title ^ "W" -> title = "fmt_title"
120"X" -> title ? title ^ "X" -> title = "fmt_title"
121"Y" -> title ? title ^ "Y" -> title = "fmt_title"
122"Z" -> title ? title ^ "Z" -> title = "fmt_title"
123 40
124# Define the A to Z sub menu 41# Define the A to Z sub menu
125%menu_start "a2z" "A to Z..." 42%menu_start "a2z" "A to Z..."