Managing Master Files

Avalon can be configured to handle media files after processing is complete—for example, deleting them from the filesystem, or moving them to a spooler directory for further processing by another system.  The three management strategies are move, delete and none.

Strategies

Move

The move strategy will move master files to the specified path once they have been processed.  This path needs to be file system accessible.

Example configuration in settings.yml
 master_file_management:
   strategy: 'move'
   path: '/mnt/diskarray/avalon-archive'

The new masterfile name will be prepended with the pid, replacing the colon with an underscore. 
Example: movie.mp4 is renamed g158bh28p-movie.mp4 after processing.
This new filename will be added to the record's metadata as well.

Delete

The delete strategy will delete the master file after it has been processed.

Example configuration in settings.yml
 master_file_management:
   strategy: 'delete'

None

The 'none' strategy will leave the master files in place after processing (i.e. no action on the original media file).

Example configuration in settings.yml
 master_file_management:
   strategy: 'none'