GNOME Bugzilla – Bug 672934
Add themoviedb.org metadata
Last modified: 2012-10-02 07:46:26 UTC
Links: http://www.themoviedb.org/ The textual data isn't great (especially when i18n is taken into consideration), but the trailers, and image metadata are very useful. This could be used to supplement an imdb search (to find textual data about a film/series, and an imdb ID) with trailers or cover images.
I've pushed an implementation of a TMDb plug-in to https://gitorious.org/~phako/grilo/phakos-grilo-plugins/commits/tmdb The plugin uses TMDb's v3 API which is JSON-only and needs multiple requests to get all information about a movie. It also gets the textual information but we could make that optional. The images urls that are fetched are those marked as language-independent.
I forgot: This depends on bug 680436 for the "Accept" header that is necessary for the API calls.
Updated repository: https://gitorious.org/+openismus/openismus-grilo-plugins
Updated, also added branches for 0.1 and the upcoming 0.2
Could the grilo maintainers take a look, please.
Sorry, I've been occupied lately and also on holidays. I'll check it as soon as possible.
Juan, is there anyone else associated with the project who might be able to merge it?
Reviewing it
I'm leaving the comments in Gitorious
Comments addressed in branch tmdb2
(In reply to comment #10) > Comments addressed in branch tmdb2 Here's a link to that: https://gitorious.org/+openismus/grilo/openismus-grilo-plugins/commits/tmdb2
As this bug depends on bug #680436, lets fix first that one.
Plugin needs to adapt to changes in bug #680436
Updated on branch tmdb2
commit e27961064c6ea88cc5a0bdbab010b33af4591329 Author: Jens Georg <jensg@openismus.com> Date: Tue Oct 2 09:34:33 2012 +0200 tmdb: Add TMDb plugin Retrieves movies information from TMDb. TMDb, or themoviedb.org, is a free and community maintained movie database. Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> configure.ac | 32 +++++ src/Makefile.am | 6 +- src/tmdb/Makefile.am | 41 +++++++ src/tmdb/grl-tmdb-request.c | 585 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/tmdb/grl-tmdb-request.h | 126 +++++++++++++++++++ src/tmdb/grl-tmdb.c | 1161 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/tmdb/grl-tmdb.h | 74 ++++++++++++ src/tmdb/grl-tmdb.xml | 10 ++ 8 files changed, 2034 insertions(+), 1 deletion(-)