INTERACT FORUM

More => Old Versions => JRiver Media Center 23 for Windows => Topic started by: bytestar on November 19, 2017, 03:44:02 pm

Title: I need your help with an expression...
Post by: bytestar on November 19, 2017, 03:44:02 pm
I need your help with an expression.
Explanation: In the target folder, a folder should be created with the contents of the Source field (this works) but if this field empty, a folder "No Source" should be created (this does not work) it always create a Folder Named "Unknown Source" Why ?

This Expression are a combination from other Expression from here.

Code: [Select]
if(isempty([Source]),Unknown,[Source])\[Album Artist (auto)]\regex([Album], /#^(\.*)(.*?)(\.*)$#/, -1)replace([R1],.,_)[R2]replace([R3],.,_)\
Title: Re: I need your help with an expression...
Post by: marko on November 19, 2017, 04:22:14 pm
Does this help with understanding "Why?"

https://yabb.jriver.com/interact/index.php/topic,91141.msg627443.html#msg627443
Title: Re: I need your help with an expression...
Post by: bytestar on November 19, 2017, 04:55:24 pm
Yes it works fine thank you

Does this help with understanding "Why?"

https://yabb.jriver.com/interact/index.php/topic,91141.msg627443.html#msg627443