Hey guys, first of all, let me thank you for all the work you put into MovieDB. It´s by far the best movie info site with by far the best API out there available. I am developing an add-on for the open source media center software XBMC at the moment and almost everything works perfectly. Almost. :) If I try to create a list by using the API, I always get the following answer: { "error": "Unable to create list because: Description is suspected to be spam.", "failure": true }
I tried lot of different names / desciptions and none seem to work. Any idea what could cause this? Thanks in advance, and let me know if you need further details. Cheers, phil65
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την Travis Bell
στις 9 Δεκέμβριος 2014 στις 05:55 ΜΜ
Hey Phil,
Thanks for the feedback! With regards to the list error, that's odd… can you show the exact request (with data) that you're making?
Απάντηση από τον/την tmdb78593614
στις 9 Δεκέμβριος 2014 στις 06:16 ΜΜ
Of course: here is the relevant python snippet: http://pastebin.com/aLSr1vbC
Also some videos to show you what I´m workin on: :) https://www.youtube.com/watch?v=7i3z6QxEU3A and https://www.youtube.com/watch?v=tNPmA3VTB_A
(I will add a fairly large MovieDB logo for release into those dialogs of course to give proper credit, it´s still work in progress and not released)
Απάντηση από τον/την Travis Bell
στις 10 Δεκέμβριος 2014 στις 05:05 ΜΜ
Hey Phil,
I've been testing this request here, and it's working fine. Can you try this with your keys and let me know the results?
P.S. is that rating/favourites/watchlist stuff hooked up to TMDb sessions?
Απάντηση από τον/την tmdb78593614
στις 10 Δεκέμβριος 2014 στις 05:34 ΜΜ
Sure, will test when I get back home. Yes, all hooked to TMDB sessions (needs inputting account details in settings first). I also make use of guest sessions to allow ratings without account so I hope that it will provide a nice quick way to increase the amount of ratings on your site. :) Btw is it possible that it takes some time until the rating for movies gets updated or should that happen instantly?
Απάντηση από τον/την Travis Bell
στις 10 Δεκέμβριος 2014 στις 05:38 ΜΜ
Thanks.
That is awesome man. I've been hoping someone would build a GUI around our users sessions for XBMC users for quite a while now. Fantastic.
Ratings won't be updated on the movie itself until the cache expires. Most items expire within 8 hours.
Απάντηση από τον/την tmdb78593614
στις 10 Δεκέμβριος 2014 στις 06:43 ΜΜ
Thanks. :) I can send you some instructions if you want to test it, I have all stuff on my GitHub. (no idea if you know about xbmc / kodi)
Ok, that´s good, I was wondering why the movies got added to my account rating list, but the movie rating did not increase. That explains it. :)
Απάντηση από τον/την tmdb78593614
στις 10 Δεκέμβριος 2014 στις 10:02 ΜΜ
it works using cURL. strange thing is that HTTP POST works for me in Python for Favourites and Ratings. Any idea what could cause this?
Απάντηση από τον/την Travis Bell
στις 11 Δεκέμβριος 2014 στις 12:05 ΕΊΜΑΙ
You could try using Apiary to log the request to see a full trace of the request. You could compare it to the cURL request and see if there's a difference.
Just an idea because I am pretty confused why one would work and not the other! Especially if you're getting that spam error…
Απάντηση από τον/την tmdb78593614
στις 11 Δεκέμβριος 2014 στις 12:53 ΕΊΜΑΙ
Ok, i never used Apiary before. Will have a look if that gets me somewhere. Thx for the help.
Απάντηση από τον/την tmdb78593614
στις 11 Δεκέμβριος 2014 στις 01:50 ΜΜ
Yeah, workin now :) Apiary showed me that Python´s lib uses a generic user-agent which seems to get blocked by your API. ( user-agent: Python-urllib/2.7 ) I´m overridin that with a custom one now and all is fine :) Perhaps worth mentioning in documentation? And to make use of the opportunity to talk to you directly I would also like to request a "movie/(id)/set" endpoint which returns all setitems the movie is part of. :) Again thanks for your help and all the work you have put into this project. I really admire that.
Απάντηση από τον/την Travis Bell
στις 12 Δεκέμβριος 2014 στις 09:26 ΕΊΜΑΙ
Huh, no kidding. I didn't even know that would happen :D Happy to hear it's working now. I'll make a note about this for sure.
"Set" as in collection? A movie can only belong to a single collection and it's returned in the
belongs_to_collection
field in the primary movie response.Thanks Phil.
Απάντηση από τον/την tmdb78593614
στις 12 Δεκέμβριος 2014 στις 10:13 ΕΊΜΑΙ
yes, collection is correct,"set" is the term used in XBMC :) . my idea is that movie/(id)/collection would return all other movies which are part of the collection. (bit like simiar_movies endpoint) Is that more understandable? :)
Απάντηση από τον/την Travis Bell
στις 12 Δεκέμβριος 2014 στις 10:44 ΕΊΜΑΙ
Oh! I get what you mean now. Understood. I've created a ticket for this here.
Thanks.