Closed AcidSlide closed 1 month ago
Would love to see the fix being pushed to the addon stores asap. Really fed up with switching between manual und automatic installs every couple months.
Would love to see the fix being pushed to the addon stores asap. Really fed up with switching between manual und automatic installs every couple months.
There is no fix yet to the latest changes by Netflix for the watch history
Would love to see the fix being pushed to the addon stores asap. Really fed up with switching between manual und automatic installs every couple months.
There is no fix yet to the latest changes by Netflix for the watch history
I know.
This regex pattern is the reason it doesn't work.
https://github.com/trakt-tools/universal-trakt-scrobbler/blob/68f410d5f22d0e0515e0e3bda80b463bbc174a8f/src/services/netflix/NetflixApi.ts#L454
Netflix changed the structure of that specific object, so the new pattern needs to be:
/"userInfo":\{"data":\{"name":"(?<profileName>.*?)"/
As a quick fix, just replace all occurrences of /"userInfo":\{"name":"(.*?)"/
with /"userInfo":\{"data":\{"name":"(.*?)"/
on all files in the extension folder using Visual Studio Code, and then reload the extension.
To those who don't want to use VS Code, there's a workaround using the Chrome Dev Tools with the regex shared by @odin-h. To do so, just do the following:
/"userInfo":\{"name":"(.*?)"/
and put a breakpoint in that lines = /"userInfo":\{"data":\{"name":"(?<profileName>.*?)"/
Resume script execution (play button) in the debug and the history will show up.
Let's hope for a quick fix by the devs!
To those who don't want to use VS Code, there's a workaround using the Chrome Dev Tools with the regex shared by @odin-h. To do so, just do the following:
1. Open the extension in the History page and open Dev Tools (Right Click -> Inspect). 2. In Dev Tools, go to Sources and select history.js 3. Search for `/"userInfo":\{"name":"(.*?)"/` and put a breakpoint in that line 4. Reload the extension and click on Netflix (The dev tool will pop up) 5. Advance 1 time (Step over next function call option) and paste this in the console: `s = /"userInfo":\{"data":\{"name":"(?<profileName>.*?)"/` 6. Resume script execution (play button) in the debug and the history will show up.
Let's hope for a quick fix by the devs!
I wanted to dumb this down further for others who aren't familiar with Chrome Dev Tools. As someone who isn't I spent about 40 minutes trying to figure out steps 3-5 as it wasn't clear to me.
Hope this further details help those who know nothing about Dev Tools.
To those who don't want to use VS Code, there's a workaround using the Chrome Dev Tools with the regex shared by @odin-h. To do so, just do the following:
Thank you so much for dumbing it down for us less technically adept, that worked perfectly.
Hope the devs resolve this.
Any updates on this? It's been 2 weeks already
Expected Behavior
Netflix sync to Trakt Watched items
Current Behavior
Unable to sync with Netflix, but instead showing "Not Logged In" message. This is somewhat related/similar to the previous issue #384 and #385
It seems Netflix has changed the watch history link again, and basing on the changes, the fix is not just a change in the ACTIVATE_URL variable but also need to track the profile ID (hashed)