Update progressbar if present
MODIFY
plextraktsync/commands/watch.py
plextraktsync/commands/watch.py
@@ -214,16 +214,19 @@ def scrobble(self, m: Media, percent: float, event: PlaySessionStateNotification
state = event.state
if state == "playing":
+ if self.progressbar:
self.progressbar.play(m.plex, percent)
return self.scrobblers[tm].update(percent)
if state == "paused":
+ if self.progressbar:
self.progressbar.pause(m.plex, percent)
return self.scrobblers[tm].pause(percent)
if state == "stopped":
+ if self.progressbar:
self.progressbar.stop(m.plex)
value = self.scrobblers[tm].stop(percent)

Update progressbar if present