Subtitler:Job Automation

Subtitler can now open a job file which defines an import file and an export file. The job file is an XML file with the extension .job and contains the parameters to execute the job.

A sample job file looks like this

< ?xml version="1.0" encoding="UTF-8"?>
< xmldict>
    < key>importpath
    < string>daily.ebu
    < key>importformat
    < string>EBU (STL Binary)
    < key>importtextencoding
    < string>Mac Roman
    < key>importframerate
    < string>25
    < key>exportpath
    < string>daily.stl
    < key>exportformat
    < string>STL Text
    < key>exporttextencoding
    < string>Mac Roman
    < key>exportlineending
    < string>Macintosh 
< /xmldict>

The import and the export paths can bei either a path relative to the job file itself (only folder childs, no "../" syntax allowed) or an absolute shell path. (With windows only relative paths are supported: The job file must be in the same folder as the import and the export files.)

The other parameters option have to be written as they are shown in the Import and the Export List windows.

Note: The Job Automation does not return any errors if you misstype any of the parameters.

You can open the jobfile from the terminal or in command line with the command in the style

open -a /Applications/Belle Nuit Subtitler 2.0.0.app /Users/matti/Documents/test.job 

Question: Why don't we provide a command line utility directly? Subtitler has access to the graphics port for the subtitling and also for some of the import/export functions and the graphics port requires a user to be logged in, so a command line utility is not possible. We may provide however on request an utility which writes the job file to interface with subtitler.