INTERACT FORUM
More => Old Versions => JRiver Media Center 23 for Windows => Topic started by: timwtheov on August 19, 2017, 05:20:25 pm
-
Hi all,
I'm looking to insert an expression into the Rename, Move, & Copy Files "Directories" Rule. Basically, I want the rule to check to see if there is are [Disc#]s, and if so organize the new folder by them; otherwise, I want to just have the album name.
For example, in the moved to folder (say H:\Classical Music), I might have the single album "Beethoven: Symphonies Nos. 5 & 7," so: H:\Classical Music\Beethoven:_Symphonies_Nos._5_&_7. However if it was a small box set like "Beethoven: The Symphonies," I'd want "H:Classical Music\Beethoven:_The_Symphonies\1" and "H:Classical Music\Beethoven:_The_Symphonies\2" and so forth. I tried a couple of if() and ifelse() expressions, but I couldn't get anything to work quite right.
Thanks for any help!
-
You can put this expression fragment after your directory rule and it should do what you want:
if(!isempty([Disc #],1),[Disc #],)
Brian.
-
Ah, it was that comma after [Disc #]. I had the rest of the expression right, but I didn't know how to get it to basically revert to [Album] if [Disc#] was empty.
Thanks!