getAvailableMedia: List the media available for the given transcript.

View source: R/getAvailableMedia.R

getAvailableMediaR Documentation

List the media available for the given transcript.

Description

List the media available for the given transcript.

Usage

getAvailableMedia(labbcat.url, id)

Arguments

labbcat.url

URL to the LaBB-CAT instance

id

A transcript ID (i.e. transcript name)

Value

A named list of media files available for the given transcript, with members:

  • trackSuffix The track suffix of the media

  • mimeType The MIME type of the file

  • url URL to the content of the file

  • name Name of the file

See Also

getTranscriptIds

Examples

## Not run: 
## define the LaBB-CAT URL
labbcat.url <- "https://labbcat.canterbury.ac.nz/demo/"

## List the media files available for BR2044_OllyOhlson.eaf
media <- getAvailableMedia(labbcat.url, "BR2044_OllyOhlson.eaf")

## End(Not run)


nzilbb.labbcat documentation built on July 26, 2023, 6:08 p.m.