From 34361c82f15a2f11f1737dc5ee30f650e93079c3 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sun, 24 Mar 2024 11:19:41 -0400 Subject: [BugFix] Database Track>Filename returned Directory Attribute Navigating to track listing by Filename in the database passed the whole directory to the playlist and track info plugin insead of the track filename this was due to 'tag_virt_basename' not being recognized as a valid audio file Change-Id: I3d1cd0b6998a2e55d4f7d70711af9ced46cf2c44 --- apps/tagtree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/tagtree.c b/apps/tagtree.c index a85f848c13..736493bfd9 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -2420,7 +2420,8 @@ int tagtree_get_attr(struct tree_context* c) switch (c->currtable) { case NAVIBROWSE: - if (csi->tagorder[c->currextra] == tag_title) + if (csi->tagorder[c->currextra] == tag_title + || csi->tagorder[c->currextra] == tag_virt_basename) attr = FILE_ATTR_AUDIO; else attr = ATTR_DIRECTORY; -- cgit v1.2.3