db/update/Archive: rescan tags on existing songs in archive
This is the final piece for full ID3/APE support in archives.
This commit is contained in:
		| @@ -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); | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann