From 06b6736831b71498e61520e1fa2338d49e339c9a Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Thu, 18 May 2023 10:51:51 -0400 Subject: [PATCH] [60] fix renamed collections being deleted --- VERSION | 2 +- modules/builder.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index e2d2626b..3c223494 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.19.0-develop59 +1.19.0-develop60 diff --git a/modules/builder.py b/modules/builder.py index 39c18dc1..124178e2 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -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")