Try to reuse the db track entry if the track file just moved, fixes #612

This commit is contained in:
emeric
2025-02-16 15:52:05 +01:00
parent e978dcbedf
commit a3dfc082ea
4 changed files with 60 additions and 0 deletions
+3
View File
@@ -180,6 +180,9 @@ namespace lms::db
if (params.hasEmbeddedImage.has_value())
query.where("t.has_cover = ?").bind(params.hasEmbeddedImage.value());
if (params.fileSize.has_value())
query.where("t.file_size = ?").bind(static_cast<long long>(params.fileSize.value()));
switch (params.sortMethod)
{
case TrackSortMethod::None: