/
Reprocess an already ingested file

Reprocess an already ingested file

In order to reprocess an already ingested file, you need to have the original master file at the place specified by it's file_location which can be different than it's absolute location.  See Master and Derivative File Locations and Managing Master Files for more details on this.

mediaobject = MediaObject.find('avalon:1')
mediaobject.parts #Will return an array of master files associated with this item
masterfile = mediaobjects.parts[0]
masterfile.file_location #Verify that the file exists and is accessible at this location
masterfile.process #This will kick off the reprocessing

Related content

Managing Master Files
Managing Master Files
More like this
05. Ingest into Archivematica
05. Ingest into Archivematica
More like this
03. Introduction to Workflow
03. Introduction to Workflow
More like this
ActiveEncode
More like this
Avalon API
More like this
Uploading Content using Batch Ingest
Uploading Content using Batch Ingest
More like this