-
Beta Was this translation helpful? Give feedback.
Replies: 15 comments 13 replies
-
|
I don’t think this is a Statistics issue as v0.2.2 largely addressed that (still a bit buggy, but usable). What stands out is your Plex snapshot: only has ~30 items.
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Before you start (important)
debug
other stuff you can try
|
Beta Was this translation helpful? Give feedback.
-
|
I updated CrossWatch to version 0.2.3 and disabled Watcher. I enabled the Debug option (including MOD Debug) in the CrossWatch settings and started the synchronization. And here’s the output from the Docker container logs: Here’s the Sync Output after performing Clear State and Clear Statistics. |
Beta Was this translation helpful? Give feedback.
-
|
I haven’t tested on NVIDIA Shield yet, so behavior might differ. Right now the Plex API only hands back ~40 items, so that’s all we read. I just released 0.2.4 - grab it. There’s a tiny Plex History patch in there, but it probably won’t fix this specific case. Do this: Run the sync again. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I completely deleted the CrossWatch data directory, reconfigured the Authentication Providers, and didn’t select anything in the Plex Whitelist Libraries. If I run a curl request using the Plex token that’s currently configured in CrossWatch, I get 767 items in the Plex History: |
Beta Was this translation helpful? Give feedback.
-
|
The only thing i can think of is that you have history items with different ID's. We are filtering index on account_ID (and 1 is owner) |
Beta Was this translation helpful? Give feedback.
-
|
I don’t have any additional accounts with access to Plex. Maybe I can enable additional debug output in CrossWatch to understand why it only sees 40 items, or modify the code inside the container, or build a separate docker image with such debug mode? |
Beta Was this translation helpful? Give feedback.
-
|
I found the problem. Most of the time, after watching something, I delete items from my libraries, so in the response to the I apologize for wasting your time. It turns out that in my particular case, syncing history outside of |
Beta Was this translation helpful? Give feedback.
-
|
New option in version 0.2.5 that you can try. Read the WIKI cause it comes with a trade-off.
what it does:
Or it might do nothing at all if Plex’s History doesn’t contain useful info, but it’s still worth a try. the risks:
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks for debugging it. Our fallback cache key for episodes was “series-wide.” It didn’t include season/episode, so different episodes of the same show collapsed onto one key. Result: the cache kept handing back the last resolved episode for every entry. And besides that, one miss poisoned the whole show via the neg-cache. The key is now episode-specific. Changed _fb_key_from_row to build k2|ep|<show_id>|s|e (and only fall back to title/year if needed). No more collisions....at least, i hope. there is a new file in /plex/_common.py i did not test it myself.. sorry.. so hopefully you can do some small tests. regarding the numbers in insight. Thats a constant battle, i know the issue buts its rather time consuming to refactor the code as its too complicated at the moment. But its on my todo list, and with every new version i try to patch things. |
Beta Was this translation helpful? Give feedback.
-
|
Read below the v0.2.10 release notes. I've tested it with my Plex to Trakt and Plex to SIMKL and seems to work pretty good. Release notes v0.2.10
|
Beta Was this translation helpful? Give feedback.
-
|
I just tried version 0.2.10, and at first glance, everything seems to be working correctly. The entire Plex history is now synchronized. However, I noticed the following line in the logs: But I don’t see the Here is the full synchronization log: Thank you so much for your work — this is a really great feature that I was missing. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, Enable it in config.json: "trakt": { |
Beta Was this translation helpful? Give feedback.









I found the problem. Most of the time, after watching something, I delete items from my libraries, so in the response to the
/status/sessions/history/allrequest, many entries don’t have thekeyandratingKeyattributes. It makes sense that they get filtered out here.I apologize for wasting your time. It turns out that in my particular case, syncing history outside of
Watchermode doesn’t make much sense.