summaryrefslogtreecommitdiffstats
path: root/src/metadata/tagengine.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-04-12 12:42:48 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-04-13 20:04:16 +0900
commitf2bd39a3d6ca8d34615d3f8dea58aac249a511a0 (patch)
tree144605aa73f30ae139ad180230d7d21ff3d8737f /src/metadata/tagengine.cpp
parent18bdfb200cdb167f6e10ead03c19544e48510277 (diff)
downloadsoundkonverter-f2bd39a3.tar.gz
soundkonverter-f2bd39a3.zip
Add support for taglib 2r14.1.2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2eda7f08c699160b1f42a0a66156559fa5479778)
Diffstat (limited to 'src/metadata/tagengine.cpp')
-rw-r--r--src/metadata/tagengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/metadata/tagengine.cpp b/src/metadata/tagengine.cpp
index f8064d2..d43cd61 100644
--- a/src/metadata/tagengine.cpp
+++ b/src/metadata/tagengine.cpp
@@ -107,7 +107,7 @@ TagData* TagEngine::readTags( const TQString& file )
if( audioProperties )
{
- tagData->length = audioProperties->length();
+ tagData->length = audioProperties->lengthInSeconds();
// TODO read all information
//tagData->fileSize = ;
// = audioProperties->channels();