From 1bcb1e39ee421c8e00fd84f0f278329e261560f1 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sun, 27 Feb 2022 11:01:24 -0500 Subject: tagcache, coverity cleanup, Add TAGS_ALL_COUNT Change-Id: Ia880c921a00b603aa4ba81b0c0670ed00491e41a --- apps/tagcache.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'apps/tagcache.h') 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, /* Real tags end here, count them. */ TAG_COUNT, /* Virtual tags */ - tag_virt_basename, tag_virt_length_min, tag_virt_length_sec, + tag_virt_basename=TAG_COUNT, + tag_virt_length_min, tag_virt_length_sec, tag_virt_playtime_min, tag_virt_playtime_sec, - tag_virt_entryage, tag_virt_autoscore }; + tag_virt_entryage, tag_virt_autoscore, + TAG_COUNT_ALL}; /* Maximum length of a single tag. */ #define TAG_MAXLEN (MAX_PATH*2) -- cgit v1.2.3