Skip to content

Conversation

@glensc
Copy link
Collaborator

@glensc glensc commented Jan 30, 2022

Pass fresh progress value before calling stop/pause instead of previous value from update.

Probably fixes #758 and #766

This also improves logging, example:

2022-01-31 00:09:10,540 DEBUG[PlexTraktSync.WatchStateUpdater]:Scrobbled: {'id': 0, 'action': 'start', 'progress': 0.0, 'sharing': {'facebook': False, 'twitter': False, 'tumblr': False}, 'episode': {'season': 2, 'number': 4, ...
2022-01-31 00:09:16,294 DEBUG[PlexTraktSync.WatchStateUpdater]:Scrobbled: {'id': 0, 'action': 'pause', 'progress': 0.0, 'sharing': {'facebook': False, 'twitter': False, 'tumblr': False}, 'episode': {'season': 2, 'number': 4, ...

Requires:

Refs:

@glensc glensc added the docs needed Changes in this issue/pull request need to be documented label Jan 30, 2022
@glensc glensc self-assigned this Jan 30, 2022
@glensc glensc force-pushed the scrobble-response branch from 146380d to 5737faa Compare February 2, 2022 21:34
@glensc glensc force-pushed the scrobble-response branch from 5737faa to 46627de Compare February 3, 2022 17:38
@glensc glensc marked this pull request as ready for review February 3, 2022 21:01
@glensc glensc changed the title Feature: Print result of scrobble to debug log Fix: pass progress from plex when calling scrobble api Feb 3, 2022
@glensc glensc merged commit a7aac52 into Taxel:main Feb 3, 2022
@glensc glensc deleted the scrobble-response branch February 3, 2022 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs needed Changes in this issue/pull request need to be documented

Projects

None yet

Development

Successfully merging this pull request may close these issues.

watch doesn't add to history anymore

1 participant