Classify By Size

 

<< Click to Display Table of Contents >>

Navigation:  Nodes > Tasks > Classifiers >

Classify By Size

 

 

Purpose

 

This node will classify the input media by its file size, sending different ranges of sizes trough different connectors. You can define a  reference size value or a set of custom size ranges

 

Inputs

 

files: To connect a files to be classified. You can connect a Folder or a Watcher node, for example.

 

Outputs

 

Output List of size ranges: A definable list of file size ranges. as per the properties below,

 

other: Input media files not matching any size range

 

 

Standard properties

 

Object Name

Color

Lock

 

Python standard properties

 

Code

NOTE: An introduction to all the Python tools in Mistika Workflows is available in the Python scripting tools section.

 

 

Node specific properties

 

clasiffyMode:

 

Ranges (valueRanges):  Permits to define a list of size ranges in the valueRanges property that will appear

 

Less/Equal/Greather (value):  Given a user definable value, it will split the classification around that value.

 

units: The units of the above values. B (Bytes), KB (Kilobytes), MB (Megabytes), GB (Gigabytes)

 

Error mode:  When no matching is found, this property defines what kind of error message will be sent to the error log (None, Info, Warning, Critical). This is mainly to facilitate user scripts parsing render log files later (or human monitoring). But note that this is just a log message, the case Critical will not stop the workflow execution because this node provides its own error control branches via the other connector (when the output connectors do not cover all the possible outcomes).

 

Developer reference (Python - ClassifyBySize.[Property ID], API Rest - node/ClassifyBySize/property/[Property ID])

 

Property Label

Property ID

Classify Mode

classifyMode

Value

value

Value Ranges

valueRanges

Units

units

Error Mode

errorMode