Compare commits
2 Commits
master
...
df-setsyno
Author | SHA1 | Date | |
---|---|---|---|
dd9c9507f0 | |||
b16eefe4ba |
@ -815,6 +815,20 @@ proc ::sweeper::action_setguidance {ts cmd arg folder} {
|
||||
return 0
|
||||
}
|
||||
|
||||
proc ::sweeper::action_setsynopsis {ts cmd arg folder} {
|
||||
if {$folder} {
|
||||
::sweeper::folder_apply [$ts dir] \
|
||||
::sweeper::action_setsynopsis $cmd $arg 0
|
||||
return 0
|
||||
}
|
||||
set arg [::sweeper::expand $ts $arg [$ts get synopsis]]
|
||||
log "Setting synopsis for [$ts get file] to $arg" 0
|
||||
if {!$::sweeper::dryrun} {
|
||||
$ts setsynopsis $arg
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
proc ::sweeper::action_lock {ts cmd arg folder} {
|
||||
if {$folder} {
|
||||
::sweeper::folder_apply [$ts dir] \
|
||||
|
@ -327,6 +327,12 @@ var schema = {
|
||||
desc: 'Set recording guidance to...',
|
||||
continues: true
|
||||
},
|
||||
setsynopsis: {
|
||||
'class': 'all',
|
||||
argtype: 'string',
|
||||
desc: 'Set recording synopsis to...',
|
||||
continues: true
|
||||
},
|
||||
lock: {
|
||||
'class': 'all',
|
||||
argtype: 'none',
|
||||
|
Loading…
Reference in New Issue
Block a user