diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-08-07 16:28:25 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-08-07 16:03:21 +0000 |
commit | 5311ff01737524b160d4974449b82a35c2ebeaad (patch) | |
tree | 7e80b9341f52be1bcc917255b4529375a2d2fc8b | |
parent | cf3fa437fc5d003632afb68b8322e326a66665b1 (diff) | |
download | rockbox-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.h | 7 |
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, | |||
109 | (1LU << tag_playcount) | (1LU << tag_rating) | (1LU << tag_playtime) | \ | 109 | (1LU << tag_playcount) | (1LU << tag_rating) | (1LU << tag_playtime) | \ |
110 | (1LU << tag_lastplayed) | (1LU << tag_commitid) | (1LU << tag_mtime) | \ | 110 | (1LU << tag_lastplayed) | (1LU << tag_commitid) | (1LU << tag_mtime) | \ |
111 | (1LU << tag_lastelapsed) | (1LU << tag_lastoffset) | \ | 111 | (1LU << tag_lastelapsed) | (1LU << tag_lastoffset) | \ |
112 | (1LU << tag_virt_basename) | (1LU << tag_virt_length_min) | \ | 112 | (1LU << tag_virt_length_min) | (1LU << tag_virt_length_sec) | \ |
113 | (1LU << tag_virt_length_sec) | (1LU << tag_virt_playtime_min) | \ | 113 | (1LU << tag_virt_playtime_min) | (1LU << tag_virt_playtime_sec) | \ |
114 | (1LU << tag_virt_playtime_sec) | (1LU << tag_virt_entryage) | \ | 114 | (1LU << tag_virt_entryage) | (1LU << tag_virt_autoscore)) |
115 | (1LU << tag_virt_autoscore)) | ||
116 | 115 | ||
117 | #define TAGCACHE_IS_NUMERIC(tag) (BIT_N(tag) & TAGCACHE_NUMERIC_TAGS) | 116 | #define TAGCACHE_IS_NUMERIC(tag) (BIT_N(tag) & TAGCACHE_NUMERIC_TAGS) |
118 | 117 | ||