#585 Genre Mapper accepts Blanks to delete genres

pull/652/head
meisnate12 3 years ago
parent 40c92ecd7c
commit 326443e915

@ -600,6 +600,7 @@ def library_operations(config, library):
for genre in item.genres:
if genre.tag in library.genre_mapper:
deletes.append(genre.tag)
if library.genre_mapper[genre.tag]:
adds.append(library.genre_mapper[genre.tag])
library.edit_tags("genre", item, add_tags=adds, remove_tags=deletes)
except Failed:

Loading…
Cancel
Save