diff options
author | William Wilgus <wilgus.william@gmail.com> | 2024-03-24 11:19:41 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2024-03-24 11:19:41 -0400 |
commit | 34361c82f15a2f11f1737dc5ee30f650e93079c3 (patch) | |
tree | d1af7c393e3a0c77f8b91da798c7a1a7adb0158b | |
parent | c00dff157cd7dcbcf665e2c5ccf2fd645eba2510 (diff) | |
download | rockbox-34361c82f1.tar.gz rockbox-34361c82f1.zip |
[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
-rw-r--r-- | apps/tagtree.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |