rdclilogedit1April 2016Linux Audio ManualrdclilogeditCommand-line editor for Rivendell logsFredGleasonfredg@paravelsystems.comApplication AuthorrdclilogeditOPTIONSDescriptionrdclilogedit1 is a command-line
editor for Rivendell logs. It is loosely styled after the venerable
ed1 command-line text editor.
Options
, ,
Suppress generation of the command-line prompt (often desirable
when driving rdclilogedit1
from a script).
Commandsrdclilogedit1 supports the
notion of an 'edit buffer' into which Rivendell logs can be loaded,
modified and then saved back to the Rivendell database. The contents
of the edit buffer can be manipulated by means of simple textual commands
(seperated by newline or ; sent to STDIN). The
following commands are supported:
addcartlinecart-num
Add a new cart event before line
line using cart
cart-num.
addchainlinelog-name
Add a new chain-to event before line
line pointing to
log-name.
addmarkerline
Add a new marker event before line line.
addtrackline
Add a new track event before line line.
bye
Exit the program.
deleteloglog-name
Delete the log log-name from the
Rivendell database.
exit
Exit the program.
header
Print the header data for the currently loaded log.
helpcmd-name
Print help about command cmd-name. If
cmd-name is
omitted, print the full list of available commands.
list
Print the log in the edit buffer.
listlogs
Print a list of the available Rivendell logs.
listservices
Print a list of the available Rivendell services.
loadlog-name
Load the log log-name
into the edit buffer.
newlog-name
Create a new, empty log called
log-name in the edit buffer.
quit
Exit the program.
removeline
Remove the log event at line line in
the edit buffer.
save
Save the contents of the edit buffer.
saveaslog-name
Save the contents of the edit buffer to a new log called
log-name.
setautorefreshyes|no
Set the state of the log's auto-refresh flag.
setcartlinecart-num
Set the cart event at line line to use
cart number cart-num.
setcommentlinestr
Set the Comment field of the marker or track event at line
line to str.
setdescstr
Set the Description field of the log to
str.
setenddatedate
Set the End Date of the log to date,
where date is in the format
YYYY-MM-DD. To clear the End Date
value completely, omit the date
parameter.
setlabellinestr
Set the Label field of the chain-to or marker event at line
line to str.
setpurgedatedate
Set the Purge Date of the log to date,
where date is in the format
YYYY-MM-DD. To clear the Purge Date
value completely, omit the date
parameter.
setservicestr
Set the log's owning Service to str.
(To print a list of valid Service names, see
listservices).
setstartdatedate
Set the Start Date of the log to date,
where date is in the format
YYYY-MM-DD. To clear the Start Date
value completely, omit the date
parameter.
settimelinehard|nonetime
Set the start time type and value for a log event. When
specifying a type of hard, the
time value (format
HH:MM:SS) must also be specified.
settranslineplay|segue|stop
Set the transition type for a log event.
unload
Unload and clear the contents of the edit buffer.
Bugsrdclilogedit1 has no ability
to create or edit log link events (such as Music or Traffic links).