[163] cast collection to string

pull/1362/head
meisnate12 2 years ago
parent fcccd02067
commit 7325788530

@ -1 +1 @@
1.18.3-develop162
1.18.3-develop163

@ -825,6 +825,7 @@ class Plex(Library):
for r in self.Plex.fetchItems(f"/hubs/sections/{self.Plex.key}/manage")]
def alter_collection(self, item, collection, smart_label_collection=False, add=True):
collection = str(collection)
if smart_label_collection:
self.query_data(item.addLabel if add else item.removeLabel, collection)
else:

Loading…
Cancel
Save