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