NAME

sreview-autoreview - SReview state script to automate review

SYNOPSIS

sreview-autoreview TALKID

DESCRIPTION

This script should be used as a state script for cases where review can be automated. It should be called with a TALKID argument.

It expects the configuration value autoreview_detect to be set to the name of a script that will perform the actual review. This script will receive the TALKID and the filenames of the pre, main and post videos, in that order, on the command line. It should output a JSON object which can contain the following keys:

done

If this key exists in the JSON object, review will be assumed to have completed and the talk will be moved to the next state.

broken

If this key exists in the JSON object, the will be assumed to be a failure. The value of the broken key will be used as the comment to be set in the database for future reference; after that, the talk will be moved to the "broken" state.

audio_channel
length_adj
offset_audio
offset_start
offset_end

If any of these keys exist in the JSON object, the value of that key (which must be a numeric value) will be used as a correction value for the corresponding talk property. Once all these properties are processed, the talk's serial property will be incremented and the talk will be moved back to the cutting state.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 78:

=over without closing =back