cue-parser ยป API

*cue-external-format*
Default external format for CUE sheet files
parse-cue(stream)
Parse CUE sheet from the stream. Stream must be opened as a character stream. User must detect and set external format by himself
parse-cue-file(name &optional (external-format *cue-external-format*))
Parses CUE sheet from file with the name name. external-format is used for reading from file.
find-track(tree test)
Returns the first track in parsed CUE sheet tree which satisfies the test. Test function receives a track as its only argument.
get-track-by-idx(tree idx)
Return a track from parsed CUE sheet tree by its index idx.
get-toplevel(tree)
Get the toplevel block from parsed CUE sheet. Just wrapper around first.
get-tracks(tree)
Get tracks from parsed CUE sheet. Just wrapper around second.
get-command-arg(tree command)
Get an argument of the command from CUE sheet block tree. tree can be the toplevel block or a track block.
get-command-named-arg(tree command arg-name)
Get a named argument of the command from CUE sheet block tree. tree can be the toplevel block or a track block.
get-file-name(tree track)
Returns a file name where the track track can be found
get-track-index-sec(track &optional (index start))
Get an index in seconds for a track. index can be either :PREGAP, :START or a number.