David Shin naw@SoftHome.net wrote:
- output channel selection now works (that's for you, Roj)
Interesting. How about a center channel only as well? Would that be useful for some odd diagnostic purpose you think?
Center channel? What's that?
%?1<%1%?3< (%?4<%4/>%3)>: >%?0<%0. >%?2<%2|%7>%?6< [%6]>
Whoa, I like very much! Much more powerful than any other formatting system out there. I can see myself spending long nights trying to get the formatting just perfect. :D
However, while you can nest if-then statements, you can't nest if-then-else statements. if((if(then | else))| else) won't work.
Like this: %?2<%?1<%1 - %2|%2>|%7>
Yes, sorry, there is a small bug affecting this. I've already fixed it for the next release.
The default title is now:
%?1<%1 - >%?2<%2|%7>
You have to look at 2 separate conditionals with that, even for files without ID3 tags. Wouldn't the following be faster (when loading thousands of songs without ID3 tags that is...)?
%?2<%?1<%1 - >%2|%7>
Does this call for a time test you think? Ehh, it probably wouldn't make any difference. Sorry, I'm just bored.
Your version may be *slightly* faster, but I seriously doubt it is enough to make a significant difference. The biggest bottleneck is reading the ID3 tag from the file (whether or not it is really there -- you don't know until you've looked); the parsing routine is otherwise very efficient.
I propose the first version is better as a default because it is slightly easier to understand.
Cheers, -rob