- Status Closed
- Percent Complete
- Task Type Bugs
- Category Database
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Rockbox
Opened by Johan Oscarsson - 2009-06-23
Last edited by sideral - 2011-06-23
Opened by Johan Oscarsson - 2009-06-23
Last edited by sideral - 2011-06-23
FS#10374 - Tagnavi conditionals
It seems it is impossible to sort the database using the tag albumartist as a conditional in a format line.
See this post for a good example: http://forums.rockbox.org/index.php?topic=6661.msg133978#msg133978
Closed by sideral
2011-06-23 12:24
Reason for closing: Invalid
Additional comments about closing:
2011-06-23 12:24
Reason for closing: Invalid
Additional comments about closing:
No clarifications received for more than
one month
Hi,
using r21486 on an H300 i can confirm this bug, but only if “Load To RAM” is not enabled. When the database is loaded to RAM, then everything works as expected.
I have attached a simplified tagnavi_custom.config using the examples from the linked thread for reproduction purposes.
I’m not sure whether Didgeridoohan and PaulJam are talking about the same issue, but both do not seem like a bug to me. Perhaps you could clarify the issue with a more self-contained, more reproducible bug report?
Didgeridoohan writes:
> It seems it is impossible to sort the database using the tag
> albumartist as a conditional in a format line.
I’m probably misunderstanding something, but the conditional in a %format line is never consulted for sorting. Only the resulting sprintf’d strings are sorted.
Using PaulJam’s example:
> %format “fmt_album” “%02d. %s - %s[%02d:%02d]” tracknum artist title Lm Ls ? albumartist = “Various Artists”
The albumartist is not used for sorting at all here, only for selecting this or the other %format line depending on the contents of the albumartist tag. Which aspect of this does not work?