Sprijin Bază de date filme (The Movie Database)

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 răspunsuri (pe pagina 1 din 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).

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Globale

s focalizează bara de căutare
p deschide meniul profilului
esc închide o fereastră deschisă
? deschide fereastra cu scurtături de la tastatură

Pe paginile media

b mergi înapoi (sau la părinte atunci când este cazul)
e mergi la pagina de editare

Pe paginile sezoanelor filmelor seriale

(săgeată dreapta) mergi la sezonul următor
(săgeată stânga) mergi la sezonul precedent

Pe paginile episoadelor filmelor seriale

(săgeată dreapta) mergi la episodul următor
(săgeată stânga) mergi la episodul precedent

Pe toate paginile de imagini

a deschide fereastra pentru adăugarea de imagini

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimite formularul

Pe paginile de discuții

n crează o discuție nouă
w comută starea de vizionare
p comută publică/privată
c comută închisă/deschisă
a deschide activitatea
r răspunde la discuție
l mergi la ultimul răspuns
ctrl+ enter trimite mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina precedentă

Setări

Doriți să evaluați sau să adăugați acest articol într-o listă?

Autentificare