summaryrefslogtreecommitdiff
path: root/apps/tagcache.h
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-02-27 11:01:24 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2022-02-27 11:01:24 -0500
commit1bcb1e39ee421c8e00fd84f0f278329e261560f1 (patch)
tree948a09457315823d1a8385a268c869ad69da6f40 /apps/tagcache.h
parent6b360d8b0401bf3337b1b4f70e0bf630abdc421b (diff)
downloadrockbox-1bcb1e39ee421c8e00fd84f0f278329e261560f1.tar.gz
rockbox-1bcb1e39ee421c8e00fd84f0f278329e261560f1.zip
tagcache, coverity cleanup, Add TAGS_ALL_COUNT
Change-Id: Ia880c921a00b603aa4ba81b0c0670ed00491e41a
Diffstat (limited to 'apps/tagcache.h')
-rw-r--r--apps/tagcache.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/tagcache.h b/apps/tagcache.h
index b64571de40..52a9283e35 100644
--- a/apps/tagcache.h
+++ b/apps/tagcache.h
@@ -38,9 +38,11 @@ enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title,
38 /* Real tags end here, count them. */ 38 /* Real tags end here, count them. */
39 TAG_COUNT, 39 TAG_COUNT,
40 /* Virtual tags */ 40 /* Virtual tags */
41 tag_virt_basename, tag_virt_length_min, tag_virt_length_sec, 41 tag_virt_basename=TAG_COUNT,
42 tag_virt_length_min, tag_virt_length_sec,
42 tag_virt_playtime_min, tag_virt_playtime_sec, 43 tag_virt_playtime_min, tag_virt_playtime_sec,
43 tag_virt_entryage, tag_virt_autoscore }; 44 tag_virt_entryage, tag_virt_autoscore,
45 TAG_COUNT_ALL};
44 46
45/* Maximum length of a single tag. */ 47/* Maximum length of a single tag. */
46#define TAG_MAXLEN (MAX_PATH*2) 48#define TAG_MAXLEN (MAX_PATH*2)