exclude dot-prefixed files from footage scan
All checks were successful
/ build-linux-amd64 (push) Successful in 3m18s
All checks were successful
/ build-linux-amd64 (push) Successful in 3m18s
This commit is contained in:
parent
c52290392d
commit
9f32aedc3b
2 changed files with 2 additions and 0 deletions
1
main.go
1
main.go
|
|
@ -317,6 +317,7 @@ func main() {
|
|||
log.Print("Video uploaded successfully!")
|
||||
|
||||
// update metadata to reflect VOD is uploaded
|
||||
// TODO: rather than a boolean flag, link to actual video
|
||||
metadata.Uploaded = true
|
||||
err = scanner.WriteMetadata(directory, metadata)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue