Open MrN0b0dy98 opened 1 year ago
I just had a quick look to see if this is even possible and it's looking pretty promising.
When viewing a season for a tv show you have api requests going to https://discover.provider.plex.tv/library/metadata/{id}/children
which gives a json response with all the episodes and for each episode you have object keys like "lastViewedAt" (unix time), "viewCount", "viewState", etc.
Same goes for movies, but the api url is https://discover.provider.plex.tv/library/metadata/{id}/userState
, here you also get the "lastViewedAt".
So if anyone want to start working on this, just filter requests on "userstate" when browsing https://app.plex.tv/desktop/. I might have a look at it in the future, but honestly doubt my time/expertise is gonna be enough.
Details
Additional Information
Request: Built-in Plex scrobbler for Plex "Watch" and Plex Media Server (selfhosted); Sync Plex Discover history/activity
Thanks in advance! :)