This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10374 - Tagnavi conditionals
Attached to Project:
Rockbox
Opened by Johan Oscarsson (Didgeridoohan) - Tuesday, 23 June 2009, 16:09 GMT+2
Last edited by sideral (sideral) - Thursday, 23 June 2011, 14:24 GMT+2
Opened by Johan Oscarsson (Didgeridoohan) - Tuesday, 23 June 2009, 16:09 GMT+2
Last edited by sideral (sideral) - Thursday, 23 June 2011, 14:24 GMT+2
|
DetailsIt 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 |
This task depends upon
Closed by sideral (sideral)
Thursday, 23 June 2011, 14:24 GMT+2
Reason for closing: Invalid
Additional comments about closing: No clarifications received for more than one month
Thursday, 23 June 2011, 14:24 GMT+2
Reason for closing: Invalid
Additional comments about closing: No clarifications received for more than one month
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.
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?