The Movie Database Support

Hi,

I'm trying to set a users Watchlist setting for a Movie. But I'm having some issues and am unable to determine if it's caching at play.

If I fire off a request, setting the Watchlist to False, then it works 100% of the time: The next /movie/XXX/account_states will show its setting as False.

When I set it to True however, it doesn't take effect. Even if I wait 10 seconds. It only seems to work when I fire of my set-request 4 times (reproducible). If I only set it 1, 2 or 3 times, it won't take effect.

Any advice?

4 svar (på sida 1 av 1)

Jump to last post

Screw it. Now it can't reproduce anymore... Anyways. Setting the Favorite flag works flawlessly - it's just the Watchlist.

Ok. This is going to be very tough to troubleshoot. I originally had a test which did three things: Rate, Watchlist and Favourite.

I have now split it out to make it more obvious to myself which of the three failed, and now they all work (well, minus the Rating as it's pending a change from you).

So I suspect what I saw was either a fluke or some error that comes from setting those three options on the same item in a short timespan.

By default, we remove the watchlist item on rating, could that be what you're seeing (if you were rating the item in the same pass)?

You can disable this setting in your account preferences.

Oh shoot - that was probably it.

Ah well, I split it up into three parts (better code anyways).

Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.

Globala

s fokus på sökrutan
p öppna profilmenyn
esc stäng ett öppet fönster
? öppna tangentbordsgenväg fönstret

På mediasidor

b gå tillbaka (eller till förälder när det är tillämpligt)
e gå till redigerings sidan

På tv-säsongssidor

(höger pil) gå till nästa säsong
(vänster pil) gå till den föregående säsongen

På tv-avsnittssidor

(höger pil) gå till nästa avsnitt
(vänster pil) gå till föregående avsnitt

På alla bildsidor

a öppna lägg till bild fönstret

På alla redigeringssidor

t öppna översättnings väljaren
ctrl+ s skicka förmulär

På diskussionssidor

n skapa ny diskussion
w växla sedd-status
p växla offentligt/privat
c växla stäng/öppna
a öppna aktivitet
r svara på diskussionen
l gå till det senaste svaret
ctrl+ enter skicka ditt meddelande
(höger pil) nästa sida
(vänster pil) föregående sida

Inställningar

Vill du betygsätta denna artikel eller lägga till den i en lista?

Logga in