deleteMedia: Delete a transcript's media file

View source: R/deleteMedia.R

deleteMediaR Documentation

Delete a transcript's media file

Description

This function deletes the given media file associated with the given transcript.

Usage

deleteMedia(labbcat.url, id, file.name)

Arguments

labbcat.url

URL to the LaBB-CAT instance

id

The ID transcript whose media will be deleted.

file.name

The media file name, e.g. media.file$name

Details

For this function to work, the credentials used to connect to the server must have at least 'edit' access.

See Also

  • getAvailableMedia

  • saveMedia

Examples

## Not run: 
## delete the mp3 file of a transcript from the server
deleteMedia(labbcat.url, "my-transcript.eaf", "my-transcript.mp3")

## End(Not run)

nzilbb.labbcat documentation built on June 8, 2025, 10:57 a.m.