Support and General Use > Theming and Appearance Customization
Compare with String
thm655321:
Did a search and did not find my answer.
Is it possible to use an "if" conditional to compare an iD3 value to an actual string? For example:
%?if(%ia, =, Radiohead)<x|y>
i.e., if the artist = Radiohead then ...
Is that possible? When I try this I only succeed in crashing the simulator (Clip+), which leads me to think you cannot, but I thought I'd ask anyways.
Thanks in advance.
JdGordon:
that should be working.
Does the track that crashes it usually show the artist tag?
thm655321:
Thanks for the reply.
I was %ia as the example but really I was using %iG.
In my collection those flac files that are actually conversions from vinyl I put "VINYL" in the grouping tag. The actual line that crashes the simulator is:
%?if(%iG, =, VINYL)<Vinyl|Not Vinyl>
That crashes the simulator.
As a test I used %ia and it also crashed the simulator.
I know that comparing one iD3 tag to another works, e.g., comparing %ia to %Ia. Maybe you just can't compare to actual text?
JdGordon:
I just commited a fix (hopefully it works)
thm655321:
Great thanks.
Noob question, how do I take advantage of the fix? Do I download a daily build?
Thanks again.
Navigation
[0] Message Index
[#] Next page
Go to full version