From 72ed9286675b48201587ffeb645dca17bbe66fd6 Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 1 Oct 2020 20:55:42 +0200 Subject: [PATCH] Actually expose the track info to the JavaScript object --- renamingutility/tageditorobject.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/renamingutility/tageditorobject.cpp b/renamingutility/tageditorobject.cpp index 5e51818..a068da7 100644 --- a/renamingutility/tageditorobject.cpp +++ b/renamingutility/tageditorobject.cpp @@ -211,6 +211,7 @@ TAGEDITOR_JS_VALUE TagEditorObject::parseFileInfo(const QString &fileName) trackObject.setProperty(QStringLiteral("description"), QString::fromUtf8(track.description().data())); tracksObject.setProperty(trackIndex, trackObject TAGEDITOR_JS_READONLY); } + fileInfoObject.setProperty(QStringLiteral("tracks"), tracksObject TAGEDITOR_JS_READONLY); return fileInfoObject; }