diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-03-04 03:35:25 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-03-04 03:35:25 +0100 |
commit | 7b5caa47fe764573828a0d9e1d1b100ed9d19e9b (patch) | |
tree | d10dbca53980c6eec2212c9aee1b03bd7a36aaf5 | |
parent | d037e38d8e65e8dc20e783e03fdb7474ed93cf4c (diff) |
Fix fileanalyzer load_metadata on load not working
-rw-r--r-- | src/FileAnalyzer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FileAnalyzer.cpp b/src/FileAnalyzer.cpp index 976d2cf..f16c232 100644 --- a/src/FileAnalyzer.cpp +++ b/src/FileAnalyzer.cpp @@ -263,11 +263,12 @@ namespace QuickMedia { } } + this->filepath = filepath; + loaded = true; + if(load_file_metadata && content_type != ContentType::UNKNOWN) load_metadata(); - this->filepath = filepath; - loaded = true; return true; } |