%ifdef problems after upgrade to 1.6 #4479
-
Hello, I didn't submit an issue as this is probably syntax on my end or something. Just upgraded to beets 1.6 the other day. Since, my %isdef in my path isn't being applied like it was in 1.5.
Before I found %ifdef, if no label was found, the album folder would look like 'artist - year - album () [format]'. I added %ifdef like above and if no label was found beets would leave off (): 'artist - year - album [format]' Since upgrading to 1.6 the '()' is back. I've attempted to mess with the syntax with no success. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi there! This is due to #3982, which fixed a disconnect between For this use case—i.e., fixed fields that are present on every item—the right thing to use is |
Beta Was this translation helpful? Give feedback.
Hi there! This is due to #3982, which fixed a disconnect between
%ifdef
's intended behavior (and documentation) w/r/t its implementation.For this use case—i.e., fixed fields that are present on every item—the right thing to use is
%if
rather than%ifdef
. Try%if{$label,($label) }
.