app/models/bplmodels/characterization.rb
def characterize

      if self.is_video?
        self.characterization.ng_xml = self.productionMaster.extract_metadata(self.local_production_master_path)
      else
        self.characterization.ng_xml = self.productionMaster.extract_metadata
      end

      self.append_metadata

      if self.label.class == Array
        self.filename = self.label
      else
        self.filename = [self.label]
      end

      save
    end
## Extract the metadata from the content datastream and record it in the characterization datastream
Extract the metadata from the content datastream and record it in the characterization datastream
Extract the metadata from the content datastream and record it in the characterization datastream
def characterize
      if self.is_video?
        self.characterization.ng_xml = self.productionMaster.extract_metadata(self.local_production_master_path)
      else
        self.characterization.ng_xml = self.productionMaster.extract_metadata
      end
      self.append_metadata
      if self.label.class == Array
        self.filename = self.label
      else
        self.filename = [self.label]
      end
      save
    end
def characterize if self . is_video? self . characterization . ng_xml = self . productionMaster . extract_metadata ( self . local_production_master_path ) else self . characterization . ng_xml = self . productionMaster . extract_metadata end self . append_metadata if self . label . class == Array self . filename = self . label else self . filename = [ self . label ] end save end
Extract the metadata from the content datastream and record it in the characterization datastream
Extract the metadata from the content datastream and record it in the characterization datastream