[60] fix renamed collections being deleted

This commit is contained in:
meisnate12 2023-05-18 10:51:51 -04:00
parent 1ba8b594b0
commit 06b6736831
2 changed files with 4 additions and 1 deletions

View file

@ -1 +1 @@
1.19.0-develop59
1.19.0-develop60

View file

@ -391,6 +391,9 @@ class CollectionBuilder:
if not self.name:
self.name = self.mapping_name
if self.library and self.name not in self.library.collections:
self.library.collections.append(self.name)
if self.playlist:
if "libraries" not in methods:
raise Failed("Playlist Error: libraries attribute is required")