mdr2.pipeline1

Wrapper around the DAISY pipeline 1 scripts.

It is assumed that there is a binary named daisy-pipeline on the path and that the pipeline scripts are installed under /usr/lib/daisy-pipeline/scripts.

audio-encoder

(audio-encoder input output & {:keys [bitrate stereo freq], :as opts})

Invoke the audio encoder script.

continuation-line?

(continuation-line? line)

validate

(validate file type)

Invoke the validator script of type for given file. Returns an empty seq on successful validation or a seq of error messages otherwise. Possible types are :dtbook or :daisy202