From 7b5caa47fe764573828a0d9e1d1b100ed9d19e9b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 4 Mar 2022 03:35:25 +0100 Subject: Fix fileanalyzer load_metadata on load not working --- src/FileAnalyzer.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/FileAnalyzer.cpp') 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; } -- cgit v1.2.3