Page 1 of 1

Custom columns config dialog improvements

Posted: 2006-11-29, 19:10 UTC
by roentgen
IMO this dialog needs additional options:

1. splitter position (available separately for every custom columns view - I know that currently this does not work at all, but Mr. Ghisler said it will be improved).

2. View mode for target panel (so it automatically switches to Brief mode for example).

Posted: 2006-11-29, 19:55 UTC
by Lefteous
if %album% exists display ALBUM, else display nothing.
I'm not sure if I understood you correctly but it should already behave like you described by default.

Posted: 2006-11-29, 20:21 UTC
by roentgen
2Lefteous
Take the following example
[=shortcut.Has Parameters] / [=shortcut.Parameters]
this displays something like:
Yes / "C:\Program Files\..." <-- OK
No / <-- NOT OK

while something like
[=shortcut.Has Parameters][ / =shortcut.Parameters]
(mind that the "/" is inside the square brackets now) would not display the unnecessary " / " if the expression returns nothing.

Of course, my example works in foobar2000, the whole thing would have to be redesigned for TC.

Additionally a sorting method would be needed.
Example:
- display: [=shortcut.Has Parameters] / [=shortcut.Parameters]
- sort by: [=shortcut.Parameters]

Posted: 2006-11-29, 20:38 UTC
by Lefteous

Code: Select all

[=shortcut.Has Parameters][" / "=shortcut.Parameters]

Posted: 2006-11-29, 21:35 UTC
by roentgen
Lefteous wrote:

Code: Select all

[=shortcut.Has Parameters][" / "=shortcut.Parameters]
If this is something that should work the way I describe, it doesn't (tested in 6.55 and 7b2).

Posted: 2006-11-29, 21:47 UTC
by Lefteous
Well this is how it's described in the help file and how it works fine here.

Posted: 2006-11-29, 22:10 UTC
by roentgen
Ohh... the help file... indeed helpful :D

It turns out that this indeed works, the prefix needs to be after the equal sign.

Anyway, thanks for assistance, I shall edit my first post accordingly.

Posted: 2006-11-29, 22:25 UTC
by Lefteous
It turns out that this indeed works, the prefix needs to be after the equal sign.
Sorry my mistake.

( In this case it doesn't work because Shortcut incorrectly returns an empty string instead of nothing. )