Step daisy202-fix-audio-file-order {http://www.daisy.org/ns/pipeline/xproc}

Rename audio files in a DAISY 2.02 publication in such a way that when sorted alphabetically, they are also sorted according to the reading order.

Note that within the flow of a document audio files are not necessarily played in a continuous manner. "Sorted according to reading order" therefore means that the position of an audio file is determined by the position of its first clip in the flow.

Defined in: http://www.daisy.org/pipeline/modules/daisy202-utils/library.xpl

Input Ports

Port Description
source.fileset primary
source.in-memory sequence

The input fileset

Output Ports

Port Description
mapping

A d:fileset document that contains the mapping from original audio files (@original-href) to renamed audio files (@href).

result.fileset primary
result.in-memory sequence

The output fileset

The files are renamed in the fileset manifest and the base URIs of the in-memory documents are updated accordingly. Cross-references in HTML (including NCC) and SMIL documents are updated too.