m5n / netflix-queue-sorter

Greasemonkey script for Chrome, Firefox, Opera, Safari: shuffle, reverse, and sort your DVD Queue or Instant Queue by star rating, average rating, title, length, year, genre, format, availability, playability, language, etc.
MIT License
28 stars 3 forks source link

Doesn't function with UK site using my out of the ordinary account setup #6

Closed DogEyedBoy closed 11 months ago

DogEyedBoy commented 9 years ago

I'll provide a quick rundown of how my account is setup because I believe that's the cause of my issue.

I live in the UK, but I created a US Netflix account years ago by changing my DNS settings because I wanted the queue feature. I've been happily using my queue and Netflix Queue Sorter for some time while switching between UK and US Netflix with a DNS change when needed.

Recently I noticed UK Netflix was giving me the option to add things to my "list", I added a few things then checked the Netflix website, and there was a list. The list available from the UK Netflix page consisted of the items I'd added when on the US page or app that were also available in the UK and the few items I'd added when on the UK app that were exclusive to the UK.

Great, I thought, but Netflix Queue Sorter will not function when I'm on the UK Netflix page, it'll just display [Retrieving data...] forever.

Any idea how this can be fixed?

m5n commented 9 years ago

I probably need to add the UK Netflix URL to the script, what's the URL when you're on the List page?

DogEyedBoy commented 9 years ago

Exactly the same as when I switch to the US one: http://www.netflix.com/MyList?leid=595&link=subnav

m5n commented 9 years ago

Can you go to the details page for a movie in your list? Perhaps that URL is different from the US one?

DogEyedBoy commented 9 years ago

3rd Rock from the Sun UK: http://www.netflix.com/WiMovie/70157523?trkid=13641790

3rd Rock from the Sun US: http://www.netflix.com/WiMovie/70157523?trkid=50279657

m5n commented 9 years ago

Does sort by start rating work? (Trying to avoid it going off retrieving data.) If so, try changing the movie details URL in the script options (click the wrench icon) to:

 http://{hostName}/WiMovie/{movieId}

(Please capture the original value first, so you can restore if that also does not work.)

DogEyedBoy commented 9 years ago

Shuffle and Reverse work, everything else gets stuck on "Retrieving data..."

I can't get anything to stay saved in the options.

m5n commented 9 years ago

That's interesting. Which browser & OS are you using?

DogEyedBoy commented 9 years ago

Chrome, Windows 7.

m5n commented 9 years ago

For Chrome to remember the settings, it uses the browser's "local storage" (due to this bug). I believe for this to work your browser must be allowed to "remember history". Could you see if your browser is configured that way, or temporarily allow it to see if that works?

DogEyedBoy commented 9 years ago

I'm not sure how to do that.

m5n commented 9 years ago

With Chrome 43.0:

Chrome may need to restart. If you can, go ahead and restart Chrome. Try it again.

If it still doesn't work, and the "Block third-party cookies and site data" box was checked, try unchecking it, restarting Chrome and trying again.

If that still doesn't work, on the Netflix List page, click on the wrench tool icon that is part of the Netflix Queue Sorter script UI. Enable debug mode and save. Reload the Netflix List page. Once loaded, type Ctrl-Shift-J to bring up the JavaScript console. Is there any output there? If not, with the console open, reload the page again and see if output appears.

Sorry to make you do all of this, hopefully a clue to what's wrong will be revealed.

DogEyedBoy commented 9 years ago

"Allow local data to be set" is already set, "Block third-party cookies and site data" is unchecked.

Checking "Enable debug mode" suffers from the same issue as every other setting, on a page refresh it's no longer set.

Console displays this:

Tampermonkey started VM1385:3845 Uncaught Parse error {"readyState":4,"responseHeaders":"","finalUrl":"http://userscripts.org/scripts/source/35183.meta.js","status":0,"statusText":"","responseXML":null,"responseText":"","response":null} versionCheckHandler @ VM1385:3845 (anonymous function) @ VM1318:41

m5n commented 9 years ago

Oops, forgot about the settings not saving! :) OK, so all looks good on your end (the check-for-script-update error is expected). I'll play around with Chrome / the script and see if I can reproduce this.