Add add_to_history Queue method
MODIFY
plextraktsync/queue/Queue.py
plextraktsync/queue/Queue.py
@@ -26,6 +26,9 @@ def add_to_watchlist(self, data):
def remove_from_watchlist(self, data):
self.add_queue("remove_from_watchlist", data)
+ def add_to_history(self, data):
+ self.add_queue("add_to_history", data)
+
def add_queue(self, queue: str, data: Any):
"""
Add "data" to "queue". Returns immediately

Add add_to_history Queue method