Support and General Use > Audio Playback, Database and Playlists

Creating custom Tagcache query?

<< < (6/9) > >>

Febs:
The best way to contact him is on IRC.  He uses the name Slasheri.

afruff23:
Oh right. Forgot about that. Going now...

afruff23:
It should work now. I'll test later today.

afruff23:
It works! Thanks a lot to roolku and slasheri for their hard work. Rockbox is now the only DAP software which allows for instant creation of smart playlists (albeit rather simple).

bascule:
Some new questions:

I've successfully got my custom tagnavi working, with a couple of exceptions. I'm not sure if they are bugs or not.

I'm trying to add a line to display all artists beginning with non-alphabetic characters (911, 50 Cent etc.). I don't just want to look for artists beginning with 0 to 9, as that may exclude some bizarre entries beginning with other characters.

I've tried the following lines and they both only exclude the first query term:

--- Code: ---"Non-Alphabetical A-E"   -> artist ? artist !^ "A" & !^ "B" & !^ "C" & !^ "D" & !^ "E" -> album  -> title = "%02d %s" tracknum title
--- End code ---
This lists all artists except those beginning with 'A'


--- Code: ---"Non-Alphabetical B&C"   -> artist ? artist !^ "B" & !^ "C" -> album  -> title = "%02d %s" tracknum title
--- End code ---
This lists all artists except those beginning with 'B'

It seems that multiple negative queries (does NOT begin with "A" AND does not NOT begin with "B" AND does NOT etc...) do not work correctly.

Similarly, I'm trying to separately list artists beginning with 'T', but not 'The ' and those solely beginning with 'The '

I've tried the following lines

--- Code: ---"T1"   -> artist ? artist !^ "The " & ^ "T" -> album  -> title = "%02d %s" tracknum title
--- End code ---
This lists all artists except those beginning with 'The '


--- Code: ---"T2"   -> artist ? artist ^ "T" & !^ "The " -> album  -> title = "%02d %s" tracknum title
--- End code ---
This lists all artists beginning with 'T', but includes all those beginning with 'The ', which it shouldn't.

It seems like the same problem as above, that concatenated search queries are broken if one of them is a NOT query.

Can anyone confirm, deny or put me straight on this one? If confirmed, I'll raise a bug.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version