INTERACT FORUM

More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: Al ex on January 20, 2014, 06:01:40 am

Title: VIDEO: save file into another folder based on "Number Played"
Post by: Al ex on January 20, 2014, 06:01:40 am
As I am running out of disc space on my laptop, I would like to move watched movies to an archive on my NAS.

So ideally, the movie-file, incl. the sub titles and cover image is moved, when "number of plays > 0". Is that possible somehow? The process should (ideally) be automated, but a manual trigger for moving the files is also fine.

I am using something similar for my music files: under "Tools/Library/Rename&Move", I have set up a syntax, which allows me to manually trigger putting all new files with the same rating into a separate folder, after I have tagged them.

Unfortunately, that doesnt work for the planned video task, because here I would like to implement something like a condition --> if number plays is greater than 0, then move to folder XY...

Thx
Title: Re: VIDEO: save file into another folder based on "Number Played"
Post by: 6233638 on January 20, 2014, 08:12:40 am
In the base path section of the Rename, Move, & Copy Files… tool you can use:

Code: [Select]
if(isequal([Number Plays,0],0,2),X:\,Y:\)
Replacing X and Y with the paths to the drives you want.
 
 
This wiki page goes into detail on Media Center's Expression Language: http://wiki.jriver.com/index.php/Media_Center_expression_language (http://wiki.jriver.com/index.php/Media_Center_expression_language)
Title: Re: VIDEO: save file into another folder based on "Number Played"
Post by: Al ex on January 20, 2014, 11:53:47 am
Great - that seems to work! Thanks! :)