Rockbox General > Rockbox General Discussion
tagnavi logical OR?
bascule:
--- Quote from: lexicon on December 22, 2006, 08:44:49 AM ---I have an idea... roolku ;) ...
I see you made a patch that got accepted @ (one_of).
What about a new operator "begins_with_one_of"?
"A"  -> artist ? artist $ "A|The A" -> album -> title = "f_browse"
Then tagnavi could easily handle the "The " issue, or "A ", or similar for any other language, too (provided the first-level A,B,C...menus were used like you guys did).
Thoughts?
--- End quote ---
I think someone did; trawl through the tag cache threads, I'm sure there was a mention of another patch (never committed) that did that very thing.
A more flexible solution would be the ability to combine operators:
"A"  -> artist ? artist ^@ "A|The A" -> album -> title = "f_browse" (starts with one-of...)
"blah" -> album ? filename !$@ "mp3|ogg" -> album -> title = "f_browse" (does not end with one-of...)
roolku:
--- Quote from: lexicon on December 22, 2006, 08:44:49 AM ---I see you made a patch that got accepted @ (one_of).
What about a new operator "begins_with_one_of"?
--- End quote ---
I already made one. :)
But the approach has a problem with the letter T.
lexicon:
bascule:
combining operators, yeah, that was my first thought, too. That would open up a lot of possibilities
roolku:
problem with T? Why, because 'The' starts with 'T'? I can't quite figure out the logic breakdown - do you think there is a solution (even if it is a special case)?
Well, in the meantime, I think I'll try hijacking the Composer field. Just put an A,B,C,... in there and base the filters off that.
e.g.
ABBA - Composer = A
The Arcade Fire - Composer = A
Navigation
[0] Message Index
[*] Previous page
Go to full version