Commit 32f6d349 authored by Max Kellermann's avatar Max Kellermann

db/update/Archive: rescan tags on existing songs in archive

This is the final piece for full ID3/APE support in archives.
parent d3ae0550
......@@ -95,6 +95,13 @@ UpdateWalk::UpdateArchiveTree(ArchiveFile &archive, Directory &directory,
FormatDefault(update_domain, "added %s/%s",
directory.GetPath(), name);
}
} else {
if (!song->UpdateFileInArchive(archive)) {
FormatDebug(update_domain,
"deleting unrecognized file %s/%s",
directory.GetPath(), name);
editor.LockDeleteSong(directory, song);
}
}
}
}
......
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