tagcache: Don't treat tag_virt_basename as a numeric tag

Change-Id: I88fe17466b606a1f60a4c823214edd9766deb260
This commit is contained in:
Aidan MacDonald 2021-08-07 16:28:25 +01:00
parent cf3fa437fc
commit 5311ff0173
1 changed files with 3 additions and 4 deletions

View File

@ -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)