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.
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 1 juin 2013 à 16h36
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.
Réponse de AndHeiberg
le 1 juin 2013 à 17h30
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.
Réponse de Travis Bell
le 2 juin 2013 à 11h52
Ya, there's a few things to mention:
I've created a new ticket for this and will look into this week.
Réponse de AndHeiberg
le 2 juin 2013 à 14h09
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.
Réponse de Travis Bell
le 2 juin 2013 à 14h46
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.
Réponse de AndHeiberg
le 2 juin 2013 à 14h56
Cool :-) Thank you very much. Are you the lead dev or something?
Réponse de Travis Bell
le 2 juin 2013 à 14h59
No problem.
Founder and lead developer, yes.
Réponse de AndHeiberg
le 2 juin 2013 à 15h07
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.
Réponse de Travis Bell
le 2 juin 2013 à 15h11
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.
Réponse de Travis Bell
le 3 juin 2013 à 17h37
Hey Andreas,
You'll be interested to see this: http://docs.themoviedb.apiary.io/#get-%2F3%2Flist%2F%7Bid%7D%2Fitem_status
Cheers.