New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add artist to filename only if artist != albumartist #664
Comments
Well, well, well ... drilled into it and the reason is that the if function is a little dumb ;-). As in it check's for the truth condition with: puddletag/puddlestuff/functions.py Line 103 in 09500dc
which does not do any logical operator parsing. It's a simple Python truthy test. So another strategy is required or a smarter check_truth. |
And voila an alternative approach that does work:
Key things to observe and document better:
For now I am content that I have a pattern that does what I want. |
I thought this pattern might do the trick:
But alas when artist and albumartist are equal this is appending "- %artist" albeit without a space in front of the "-".
So clearly I have some syntax to learn here ;-). But I've read the docs and haven't progressed. So I hope an issue is the right way to go.
The text was updated successfully, but these errors were encountered: