Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category User Interface
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Robert Kukla - 2006-10-06

FS#6137 - add "oneof" operator to tagnavi.conf syntax

Currently tagcache doesn’t have an OR operator. IMO, this is reasonable as the rare requirement for it doesn’t really justify the neccessary effort (it would also imply precedence rules, brackets, nesting). However a special case of the OR is often useful: is a tag value one of a list of values ? For example if you want to group artists of the genres house, trance and IDM under a single heading Electronica (see http://forums.rockbox.org/index.php?topic=6866.msg53498).

This patch implements such an operator. It uses the @ sign as the operator and the | character as the seperator, but this can be changed easily. With the patch the example above would read:

“Electronica” → artist ? genre @ “house|trance|IDM” → album → title = “%02d %s” tracknum title

Closed by  Miika Pekkarinen
2006-10-09 10:28
Reason for closing:  Accepted

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing