Soporte de The Movie Database

Hi,

I've created a small project this weekend that let's me tag movies as seen or not seen and then also add movies to my watchlist super fast. The only perpose of this is to make it faster to do these operations when starting out.

When using the api I run into a problem. There is no seen status of movies. You could say that a rating means they have seen it, but I'm optimizing for speed so I don't want to rate movies (I just want to tag them as seen or not seen). To circumvent this I created a list called "seen". However the next time the user visits the site I have no way to check if a movie is in that list (I think, can't find it).

So I would like a /list/{id}/movie/{id}

Another way to get around this problem would be to get the list and then cross check that the movie is not in the list, however this is not really possible (or at least easy) as that api call implements pagination.

10 respuestas (en la página 1 de 1)

Jump to last post

If you're using our movie watch list functionality, you can use the /movie/account_status method to quickly check on the rating, watchlist and favourite status of any movie.

If you're manually building a list, there isn't much you can do except check to see if the ID is already part of the list.

How would you check if the id is in the list? I mean you don't even know how many pages is in the list.

Ya, there's a few things to mention:

  1. There should be the pagination info (item_count, item_pages, current_page, total_pages) delivered in this result.
  2. Pagination should work, which it looks like it's not. This method was re-written last week and it looks like I missed that.
  3. If you're requiring a TMDb session anyways, you still might find using our official "watchlist" feature to be better. You can sort the results and when users log in, there's already a list within every account called "Personal watchlist". Creating a second watchlist is kind of confusing, isn't it? There's also the existing feature of being able to check on the status of a movie with this (as mentioned above). Basically, it does everything you want.

I've created a new ticket for this and will look into this week.

Oh interesting, thanks for the info.

Well yeah I'm using the default watchlist, but I also have a "seen list" for movies that the user has seen. As I optimize for speed rating each movie in order to mark them as seen is not desired.

Ya, ok. I get where you are coming from better now.

Back to your first post, it was indeed one of the intentions of the "rated" list. Rated == seen.

If that's not an assumption you want to use, the only option you have is to use a list, which is what you are already doing. Once pagination is hooked up you can up zip through each page and check for an ID.

I'll have to think about whether having a way to query a list for an id makes sense.

Cool :-) Thank you very much. Are you the lead dev or something?

Cool :-) Thank you very much.

No problem.

Are you the lead dev or something?

Founder and lead developer, yes.

Then thanks a million :) it's a very nice project. I have some pain points with it though, but I don't suppose this is the best place to talk about that :)

But if you would ever like some feedback and an awful lot of admiration please guide me to a more appropriate venue for such talks.

The general forum is as good as any place for feedback. Unless you want to email me, which is fine too, travis [at] themoviedb.org.

Cheers.

Hey Andreas,

You'll be interested to see this: http://docs.themoviedb.apiary.io/#get-%2F3%2Flist%2F%7Bid%7D%2Fitem_status

Cheers.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión