I have an increasingly complicated naming scheme for ripping. Today I revised it yet again and apparently ran into a length limitation, as it started getting truncated in the dynamic naming field.
I'm a somewhat experienced programmer, and I've nested my arguments as much as possible,and I finally trimmed it enough to almost accomplish what I want.
The biggest issue is the lack of operators and true if..then logic, which leads to overly repetitive code.
My (current) issue is that I want to apply specific schemes to certain genres. In order to accomplish that, I have to employ logic such as:
to accomplish (in my pseudo-code):
(where the last [artist] above is the "else" return of the [IFEQUALS] argument).
And what I'm trying to do is more complicated than that. For instance, using the example above, in addition to the Classical and Renaissance genres, I'd like to employ the same logic to Gothic, Choral, etc., but since I need to test multiple times for every genre, it leads to impossibly long strings.
Is there some feature or trick that I'm missing?
Thanks,
- Mark
I'm a somewhat experienced programmer, and I've nested my arguments as much as possible,and I finally trimmed it enough to almost accomplish what I want.
The biggest issue is the lack of operators and true if..then logic, which leads to overly repetitive code.
My (current) issue is that I want to apply specific schemes to certain genres. In order to accomplish that, I have to employ logic such as:
Code:
[IFEQUALS]genre,Classical,[IFVALUE]composer,[composer],[artist][][][IFEQUALS]genre,Renaissance,[IFVALUE]composer,[composer],[artist][][][IF!EQUALS]genre,Classical,[IF!EQUALS]genre,Renaissance,[artist][][]
Code:
[IFEQUALS]genre,Classical OR Renaissance,[IFVALUE]composer,[composer],[artist][],[artist][]
And what I'm trying to do is more complicated than that. For instance, using the example above, in addition to the Classical and Renaissance genres, I'd like to employ the same logic to Gothic, Choral, etc., but since I need to test multiple times for every genre, it leads to impossibly long strings.
Is there some feature or trick that I'm missing?
Thanks,
- Mark
Comment