summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-08-07 16:28:25 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-08-07 16:03:21 +0000
commit5311ff01737524b160d4974449b82a35c2ebeaad (patch)
tree7e80b9341f52be1bcc917255b4529375a2d2fc8b
parentcf3fa437fc5d003632afb68b8322e326a66665b1 (diff)
downloadrockbox-5311ff01737524b160d4974449b82a35c2ebeaad.tar.gz
rockbox-5311ff01737524b160d4974449b82a35c2ebeaad.zip
tagcache: Don't treat tag_virt_basename as a numeric tag
Change-Id: I88fe17466b606a1f60a4c823214edd9766deb260
-rw-r--r--apps/tagcache.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/tagcache.h b/apps/tagcache.h
index e358cc26e0..0a240b15a0 100644
--- a/apps/tagcache.h
+++ b/apps/tagcache.h
@@ -109,10 +109,9 @@ enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title,
(1LU << tag_playcount) | (1LU << tag_rating) | (1LU << tag_playtime) | \
(1LU << tag_lastplayed) | (1LU << tag_commitid) | (1LU << tag_mtime) | \
(1LU << tag_lastelapsed) | (1LU << tag_lastoffset) | \
- (1LU << tag_virt_basename) | (1LU << tag_virt_length_min) | \
- (1LU << tag_virt_length_sec) | (1LU << tag_virt_playtime_min) | \
- (1LU << tag_virt_playtime_sec) | (1LU << tag_virt_entryage) | \
- (1LU << tag_virt_autoscore))
+ (1LU << tag_virt_length_min) | (1LU << tag_virt_length_sec) | \
+ (1LU << tag_virt_playtime_min) | (1LU << tag_virt_playtime_sec) | \
+ (1LU << tag_virt_entryage) | (1LU << tag_virt_autoscore))
#define TAGCACHE_IS_NUMERIC(tag) (BIT_N(tag) & TAGCACHE_NUMERIC_TAGS)