Commit 6fb031bc authored by Matthieu Gallien's avatar Matthieu Gallien 🎵
Browse files

do not reimport tracks without metadata at start

parent 433490ba
...@@ -5097,10 +5097,7 @@ void DatabaseInterface::initRequest() ...@@ -5097,10 +5097,7 @@ void DatabaseInterface::initRequest()
"tracksMapping.`FileName`, " "tracksMapping.`FileName`, "
"tracksMapping.`FileModifiedTime` " "tracksMapping.`FileModifiedTime` "
"FROM " "FROM "
"`TracksData` tracksMapping, " "`TracksData` tracksMapping");
"`Tracks` tracks "
"WHERE "
"tracks.`FileName` = tracksMapping.`FileName`");
auto result = prepareQuery(d->mSelectAllTrackFilesQuery, selectAllTrackFilesFromSourceQueryText); auto result = prepareQuery(d->mSelectAllTrackFilesQuery, selectAllTrackFilesFromSourceQueryText);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment