INTERACT FORUM

More => Old Versions => JRiver Media Center 28 for Windows => Topic started by: subway33 on June 30, 2021, 06:50:33 am

Title: (newline) Rename, Move, & Copy files
Post by: subway33 on June 30, 2021, 06:50:33 am
28.0.31 (6/25/2021)

3. Fixed: The (newline) in expressions was going into the wrong part so the expression itself could be changed.

The new build brought a change in the construction of rename, Move & Copy files in the expression (newline) The result makes it create a folder named (newline)
Is there any way to control this directory without the need to create a new folder?!

Thank you for your attention

Title: Re: (newline) Rename, Move, & Copy files
Post by: Matt on June 30, 2021, 06:56:49 am
Could you paste your full expression here so I could test it?  Thanks.
Title: Re: (newline) Rename, Move, & Copy files
Post by: subway33 on June 30, 2021, 07:15:21 am
Thank you @matt for your attention.

As requested..
Title: Re: (newline) Rename, Move, & Copy files
Post by: Matt on June 30, 2021, 07:16:55 am
But pull that out.  It could have been added last build.  Then if you still have a problem copy and paste the expression here
Title: Re: (newline) Rename, Move, & Copy files
Post by: lepa on June 30, 2021, 07:20:14 am
Just remove "(newline)   " from the Rule and it should work if single line
Code: [Select]
If(RegEx([Artist], /#^([A-Za-z])#/),\[R1], 0-9 etc.)\If(RegEx([Artist], /#^(.[A-Za-z])#/),  [R1], 0-9 etc.)If you want those if decisions on their own lines then you need / before linefeed like this

If(RegEx([Artist], /#^([A-Za-z])#/),\[R1], 0-9 etc.)\/
If(RegEx([Artist], /#^(.[A-Za-z])#/),  [R1], 0-9 etc.)

REF:
You probably had ran rename script when there was a bug that edited Rule so that's why your Rule field has that (newline) string now.
Title: Re: (newline) Rename, Move, & Copy files
Post by: subway33 on June 30, 2021, 07:28:10 am
@Lepa  :D

I tested it and it worked very well.

Thank you once again!
Title: Re: (newline) Rename, Move, & Copy files
Post by: lepa on June 30, 2021, 07:29:46 am
Check the regex rule in general as I just manually copied it from your image so there could be typos...
Title: Re: (newline) Rename, Move, & Copy files
Post by: subway33 on June 30, 2021, 08:21:01 am
REF:
You probably had ran rename script when there was a bug that edited Rule so that's why your Rule field has that (newline) string now.

Yeahh! That's probably what happened, because it was working fine until now (28.0.27)

You are great! Thank's for your time.