INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Move file to certain folder, based on rating  (Read 667 times)

Al ex

  • Citizen of the Universe
  • *****
  • Posts: 551
Move file to certain folder, based on rating
« on: January 09, 2020, 09:23:38 am »

Hi,
I had to re-install JRiver and I had to re-configure evertything from scratch.

Over the last years, I had an automated function to move files to certain folders, after i have rated them.

The configuration was:
if for example the rating is 5 stars, then move from folder on D:\Alex 6 Musik\new  to \\DS415PLAY\Alex 6 Musik\5Stars
if for example the rating is 4 stars, then move from folder on D:\Alex 6 Musik\new  to \\DS415PLAY\Alex 6 Musik\4Stars

I cannot recall anymore, how I set this up in "Rename Move & Copy Files". Did that at least 7-8 years ago, and already then someone helped me.

I guess it needs a little function, but I donīt know how to do that. Anyone, who could give me a hint? Thanks a lot.

Alex
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Move file to certain folder, based on rating
« Reply #1 on: January 09, 2020, 10:36:36 am »

Something like this?

Code: [Select]
if(isequal([rating], 5, 1), Directory path 1, if(isequal([rating], 4, 1), Directory path 2, if(isequal([rating], 3, 1), Directory path 3, if(isequal([rating], 2, 1), Directory path 4, if(isequal([rating], 1, 1), Directory path 5, Directory path 6)))))
Logged

Al ex

  • Citizen of the Universe
  • *****
  • Posts: 551
Re: Move file to certain folder, based on rating
« Reply #2 on: January 09, 2020, 01:26:08 pm »

Yes - almost there Moe, thanks!

But it seems it adds unwanted sub-folders as well. And also, it is not renaming the filename according to new tag names. It is using the old filenames.

Have a look at the attached screenshot....
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Move file to certain folder, based on rating
« Reply #3 on: January 09, 2020, 02:19:42 pm »

Where you have

[Artist] - [Album] - [Track #] - [Filename]

I think having [Filename] in there is rather redundant, is it not?  You're specifically telling it to use the old filename to rename the filename.

Something like

[Artist] - [Album] - [Track #] - [Name]

Would make a lot more sense, to me anyway
Logged

Al ex

  • Citizen of the Universe
  • *****
  • Posts: 551
Re: Move file to certain folder, based on rating
« Reply #4 on: January 09, 2020, 03:35:48 pm »

Yes you are right - that was wrong. Works again like a charm now, thank you!
BR from Vienna, Alex
Logged
Pages: [1]   Go Up