Move print listening to events to logger
MODIFY
plextraktsync/commands/watch.py
plextraktsync/commands/watch.py
@@ -244,5 +244,4 @@ def watch():
ws.on(TimelineEntry, updater.on_delete, state=9, metadata_state="deleted")
ws.on(Error, updater.on_error)
- print("Listening for events!")
ws.listen()

MODIFY
plextraktsync/listener.py
plextraktsync/listener.py
@@ -81,6 +81,7 @@ def on(self, event_type, listener, **kwargs):
self.dispatcher.on(event_type, listener, **kwargs)
def listen(self):
+ self.logger.info("Listening for events!")
while True:
notifier = self.plex.startAlertListener(
callback=self.dispatcher.event_handler

Move print listening to events to logger