After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 672934 - Add themoviedb.org metadata
Add themoviedb.org metadata
Status: RESOLVED FIXED
Product: grilo
Classification: Other
Component: plugins
git master
Other Linux
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on: 680436
Blocks:
 
 
Reported: 2012-03-27 15:53 UTC by Bastien Nocera
Modified: 2012-10-02 07:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2012-03-27 15:53:46 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.
Comment 1 Jens Georg 2012-07-25 09:40:15 UTC
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.
Comment 2 Jens Georg 2012-07-25 10:31:08 UTC
I forgot: This depends on bug 680436 for the "Accept" header that is necessary for the API calls.
Comment 3 Jens Georg 2012-07-31 19:34:39 UTC
Updated repository: https://gitorious.org/+openismus/openismus-grilo-plugins
Comment 4 Jens Georg 2012-08-01 14:38:53 UTC
Updated, also added branches for 0.1 and the upcoming 0.2
Comment 5 Murray Cumming 2012-08-28 10:25:52 UTC
Could the grilo maintainers take a look, please.
Comment 6 Juan A. Suarez Romero 2012-08-28 12:00:19 UTC
Sorry, I've been occupied lately and also on holidays.

I'll check it as soon as possible.
Comment 7 james.hodapp 2012-08-28 13:10:45 UTC
Juan, is there anyone else associated with the project who might be able to merge it?
Comment 8 Juan A. Suarez Romero 2012-09-03 16:37:47 UTC
Reviewing it
Comment 9 Juan A. Suarez Romero 2012-09-07 13:57:02 UTC
I'm leaving the comments in Gitorious
Comment 10 Jens Georg 2012-09-11 09:55:10 UTC
Comments addressed in branch tmdb2
Comment 11 Murray Cumming 2012-09-11 09:57:10 UTC
(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
Comment 12 Juan A. Suarez Romero 2012-09-11 10:15:47 UTC
As this bug depends on bug #680436, lets fix first that one.
Comment 13 Juan A. Suarez Romero 2012-09-18 09:18:56 UTC
Plugin needs to adapt to changes in bug #680436
Comment 14 Jens Georg 2012-09-21 14:36:29 UTC
Updated on branch tmdb2
Comment 15 Juan A. Suarez Romero 2012-10-02 07:46:26 UTC
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(-)