forked from len0rd/rockbox
[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
This commit is contained in:
parent
c00dff157c
commit
34361c82f1
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue