support only_e
This commit is contained in:
parent
4dc8719091
commit
b801c52847
2 changed files with 18 additions and 3 deletions
|
|
@ -352,7 +352,14 @@ function loadAnnotations(config) {
|
|||
return
|
||||
}
|
||||
annotation.title = clip.title
|
||||
annotations.push(annotation)
|
||||
if (config.only_e) {
|
||||
if (annotation.value.slice(0, 2) == 'E:') {
|
||||
annotation.value = annotation.value.slice(2).trim()
|
||||
annotations.push(annotation)
|
||||
}
|
||||
} else {
|
||||
annotations.push(annotation)
|
||||
}
|
||||
})
|
||||
})
|
||||
loadClips(annotations).then(annotations => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue