[60] fix renamed collections being deleted

pull/1436/head
meisnate12 2 years ago
parent 1ba8b594b0
commit 06b6736831

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

@ -391,6 +391,9 @@ class CollectionBuilder:
if not self.name: if not self.name:
self.name = self.mapping_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 self.playlist:
if "libraries" not in methods: if "libraries" not in methods:
raise Failed("Playlist Error: libraries attribute is required") raise Failed("Playlist Error: libraries attribute is required")

Loading…
Cancel
Save