record-daemon: add live client events, fix video_file
record-daemon / Build, check and test (push) Successful in 2m12s
record-daemon / Build, check and test (push) Successful in 2m12s
This commit is contained in:
1 parent
16d9ddaafa
commit
3223ba74fc
6 files changed
+570
-5
No files matched your search
@@ -197,6 +197,11 @@ impl TimelineStore {
|
||||
metadata.end_time = Some(result.end_time);
|
||||
metadata.duration = result.duration;
|
||||
metadata.file_path = Some(result.path.clone());
|
||||
metadata.video_file = result
|
||||
.path
|
||||
.file_name()
|
||||
.and_then(|n| n.to_str())
|
||||
.map(String::from);
|
||||
metadata.file_size = result.file_size();
|
||||
metadata.finalized = true;
|
||||
|
||||
|
||||
Reference in new issue
Block a user