Add remove_from_collection method to Media class
MODIFY
plextraktsync/media.py
plextraktsync/media.py
@@ -64,6 +64,9 @@ def is_collected(self):
def add_to_collection(self):
self.trakt_api.add_to_collection(self.trakt, self.plex)
+ def remove_from_collection(self):
+ self.trakt_api.remove_from_library(self.trakt)
+
@property
def watched_on_plex(self):
return self.plex.item.isWatched

Add remove_from_collection method to Media class