xml.daisy202-to-mp3.xpl Maven / Gradle / Ivy
Transform a DAISY 2.02 publication into a folder structure with MP3 files.
DAISY 2.02 fileset
Audio files must be stored on disk.
SMIL documents are expected to be listed in spine order.
Directory where the MP3 files should be stored.
Empty directory dedicated to this step. If set, the directory will be used to store
audio files. If not set, the audio files will be stored in temporary directory that is
automatically created.
An array of integers specifying the maximum number of files within each level of the
folder structure, beginning from the top level and ending with the innermost level. The
array must be at least one integer long (in which case the output is a flat list of
audio files).
Defaults to a folder structure that is two levels deep. At the top level there can be
up to 999 folders, each of which can contain up to 999 MP3 files.
Offset between folder level and section level.
By default (offset 0) top-level folders correspond with top-level sections of the
book. An offset of 1
means that the book is contained in a single top-level
folder with MP3 files or sub-folders that correspond with top-level sections of the
book. If there are more top-level sections than the maximum number of files/folders that
a top-level folder can contain, the book is divided over multiple top-level folders.
Must be a non-negative integer value, smaller than the lenght of the
file-limit
array.
Result fileset listing the MP3 files
Temporary audio files. May be deleted when the result fileset is stored.
px:assert
px:fileset-load
px:fileset-purge
px:audio-rearrange
pf:normalize-uri
Remove files that exist in memory only because currently px:audio-rearrange does not
handle it.