2018-04-11, 09:03
(2018-04-10, 12:11)Razze Wrote: Glad to hearActually now it's not working again - talk about driving me crazy and nothing has changed since it started "working" again last night.
The strange thing is - other scripts like skin.helper etc all are detecting on playback end but trakt for some reason is not I guess I can say "all the time" since it seems to be intermittent which makes it all the more frustrating to try to find a root cause.
I haven't look at the code too hard yet - but it trakt's method of triggering scrobble and rating on playback ending something that could get tripped up on a race condition (for lack of a better term)?
I notice that when it fails it does fire off a sync, but it's a "manual" sync?
Code:
23:41:47.126 T:10836 DEBUG: [script.trakt] resources.lib.service: Queued dispatch: {u'action': u'manualSync', u'silent': True, u'library': u'all'}
23:41:47.126 T:10836 DEBUG: [script.trakt] resources.lib.service: Dispatch: {u'action': u'manualSync', u'silent': True, u'library': u'all'}
23:41:47.126 T:10836 DEBUG: [script.trakt] resources.lib.service: Performing a manual sync.
23:41:47.127 T:10040 DEBUG: [script.trakt] resources.lib.sync: Sync is being run silently.
23:41:47.128 T:10040 DEBUG: [script.trakt] resources.lib.sync: Starting synchronization with Trakt.tv
23:41:47.128 T:10040 DEBUG: [script.trakt] resources.lib.syncMovies: [Movies Sync] Getting movie data from Kodi
My thinking is that trakt's playback monitor is what is tripping it up possibly - debug never shows it detects playback ending or at least doesn't attempt a scrabble and rating request but does a sync - which maybe not tied to playback but library updates?
Thanks for any insight on where to look next
M.