INTERACT FORUM

Please login or register.

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

Author Topic: VIDEO: save file into another folder based on "Number Played"  (Read 920 times)

Al ex

  • Citizen of the Universe
  • *****
  • Posts: 550
VIDEO: save file into another folder based on "Number Played"
« 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
Logged

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: VIDEO: save file into another folder based on "Number Played"
« Reply #1 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
Logged

Al ex

  • Citizen of the Universe
  • *****
  • Posts: 550
Re: VIDEO: save file into another folder based on "Number Played"
« Reply #2 on: January 20, 2014, 11:53:47 am »

Great - that seems to work! Thanks! :)
Logged
Pages: [1]   Go Up