TransmogrifierTarget

Class Reference

class transmogrifierTarget.TransmogrifierTargetObject(entityID=0)[source]

Our main FCS transmogrifier class, used for collecting media files, interpretting FCS XML, writing XML and uploading

appendFCSField(field, data)[source]

Appends data to field, aggregates existing data.

appendHistory(string)[source]

Append contents of passed string to our publishHistory

createSupportFolders(path)[source]

Creates a support folder at specified path, create subdirectories specified by self.supportSubDirs

deleteSupportFiles()[source]

Delete Registered support files (media and xml)

getXMLNodeText(nodes)[source]

returns text value for passed XML text nodes

loadConfiguration(parser)[source]

Load from configuration file, expects a ConfigParser type object. If you subclass, you should call this function. If we return false then you should abort. or do your own sanity checks

logger(logMSG, logLevel='normal')[source]

(very) Basic Logging Function, we’ll probably migrate to msg module

preflightCheck()[source]

Run a preflight check to ensure all required variables are set

printLogs(logLevel='all')[source]

output our logs

readMediaFiles(dirPath='', baseName='')[source]

Cycle through our media support directory and find related media files

reportToFinalCutServer(fcsDirPath='', updateLog=False)[source]

Report to Final Cut Server, using stored fields in our fcsXMLOut object and our entityID to generate the content.

runFunction(function)[source]

Perform action based on passed function, all functions are defined here in this method

setFCSField(field, data)[source]

Sets the value of field to data

setFCSXMLFile(filePath)[source]

import FCS XML file and set relevant member vars

setSupportPath(dirPath)[source]

Set the base directory path utilized for resource storage

upload1(dirPath='')[source]

Uploads all relative assets to the configured ftpHost, also calls xmlOut and uploads the resulting file

xmlOut(filePath='')[source]

Output our BrightCove compliant XML, you’ll likely want to subclass this and ignore all this code

Table Of Contents

Previous topic

qmaster

Next topic

thePlatform Module

This Page