commit 659a2209c39dd8e485e6f4ae801ab239242813f2 Author: Juan A. Suarez Romero Date: Thu Jan 27 18:47:27 2011 +0000 Bump to version 0.1.8 Signed-off-by: Juan A. Suarez Romero AUTHORS | 3 +++ NEWS | 32 ++++++++++++++++++++++++++++++++ configure.ac | 6 +++--- 3 files changed, 38 insertions(+), 3 deletions(-) commit 0e5b62583fff9f3b0ad35b4e1e7cfafa425de3fd Author: Juan A. Suarez Romero Date: Thu Jan 27 18:34:34 2011 +0000 tracker: bump glib dependencies to 2.26.0 only for tracker plugin This partially reverts commit 73fa43016fe5a38b7b1360f87870d41e452bd996. Instead of bumping glib dependency to 2.26.0 for all plugins, just do it for tracker plugin, as this is the one that actually needs this version. Signed-off-by: Juan A. Suarez Romero configure.ac | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) commit d411891c8811848ff83791db408d9d54bf5a44ed Author: Juan A. Suarez Romero Date: Thu Jan 27 11:02:41 2011 +0100 upnp: require upnp-av >= 0.5 This makes the upnp plugin code much easier to follow and is a reasonable requirement. configure.ac | 28 ++---------- src/upnp/Makefile.am | 5 -- src/upnp/grl-upnp.c | 110 ++----------------------------------------------- 3 files changed, 10 insertions(+), 133 deletions(-) commit 73fa43016fe5a38b7b1360f87870d41e452bd996 Author: Lionel Landwerlin Date: Tue Jan 25 10:47:42 2011 +0000 tracker: bump glib dependencies to 2.26.0 The tracker plugins uses GDbus to listen to Tracker's event. GDbus is available since glib 2.26. Signed-off-by: Lionel Landwerlin Signed-off-by: Juan A. Suarez Romero configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 163f09b28c79e5e91689751ef9f5d64189ec1a89 Author: Lionel Landwerlin Date: Tue Jan 25 10:47:41 2011 +0000 tracker: give "Local" name to datasources without mountpoints Signed-off-by: Lionel Landwerlin Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) commit e018a2ac7127257ccb6fc84aab6e7c7fe9c998b7 Author: Lionel Landwerlin Date: Tue Jan 25 10:47:40 2011 +0000 tracker: add per device constraint to partial SparQL queries Signed-off-by: Lionel Landwerlin Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit e56297a04559fe5ccdca4fecec193016a77bb92f Author: Lionel Landwerlin Date: Tue Jan 25 10:47:39 2011 +0000 tracker: add proper name to devices Signed-off-by: Lionel Landwerlin Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 88 +++++++++++++++++++++++++++++++++------------ 1 files changed, 65 insertions(+), 23 deletions(-) commit e8b0186bd5992e8cc1e8779966ea5e7dee39d5c3 Author: Lionel Landwerlin Date: Tue Jan 25 10:47:38 2011 +0000 tracker: add per device mode support This adds the "per-device-source" option to the plugin, which allows to browse/search/etc... content on a per data source (in sense of Tracker) basis. The main application to this is, for example, to browse content from a USB key without taking care of files coming from the local filesystems. When the per device mode is activated, the plugin looks for available data sources within the Tracker database and creates a media source per data source and monitor changes on them. Signed-off-by: Lionel Landwerlin Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 445 +++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 425 insertions(+), 20 deletions(-) commit df9fb8f99a3f25a3d1725bce3b657dad4c872ff5 Author: Juan A. Suarez Romero Date: Fri Jan 21 13:40:59 2011 +0100 tracker: Allow partial SPARQL queries in query() Besides using a full query SPARQL sentence in the query() function, now users can also use a partial query, specifying only the sentence that will be used in the "WHERE" clause. Plugin will build the complete full query using the metadata keys, count and offset. Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 41 ++++++++++++++++++++++++++++++++++++++++- 1 files changed, 40 insertions(+), 1 deletions(-) commit 754cec09fd56aca6450ca15d560525acd826584a Author: Juan A. Suarez Romero Date: Fri Jan 21 13:39:04 2011 +0100 tracker: Rewrite SPARQL sentences Rewrite the pre-defined SPARQL sentence to reduce the size, as they have a lot of blanks. Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 50 +++++++++++++++++++++++--------------------- 1 files changed, 26 insertions(+), 24 deletions(-) commit 5fcd64c1c361673c52504ca5230acd8305f3f73e Author: Lionel Landwerlin Date: Fri Jan 21 18:28:31 2011 +0100 tracker: Invoke callback when operation is cancelled. Even in the case of cancelling an operation, this must invoke the callback for last time, setting remaining value to 0. Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit f63d2a49bd1f4bb2fcffb954c3fadf866b6670aa Author: Juan A. Suarez Romero Date: Fri Jan 21 18:15:24 2011 +0100 tracker: Fix a couple of typos Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 0520c568182778b0a6e4d28e206098dd09bc3898 Author: Lionel Landwerlin Date: Thu Jan 20 14:20:30 2011 +0000 tracker: complete some traces regarding operations id Signed-off-by: Lionel Landwerlin Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit ae399f88eff0aa85b15867e8605afe40fb43d336 Author: Lionel Landwerlin Date: Thu Jan 20 14:20:29 2011 +0000 tracker: add cancel support Signed-off-by: Lionel Landwerlin Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 89 ++++++++++++++++++++++++++++++++++----------- 1 files changed, 67 insertions(+), 22 deletions(-) commit 46a272acd48aa48dd4805eace0aa22ac37775122 Author: Juan A. Suarez Romero Date: Fri Jan 21 18:06:10 2011 +0100 all: Update copyright note Signed-off-by: Juan A. Suarez Romero src/apple-trailers/Makefile.am | 2 +- src/apple-trailers/grl-apple-trailers.c | 1 + src/bookmarks/Makefile.am | 2 +- src/fake-metadata/Makefile.am | 2 +- src/filesystem/Makefile.am | 2 +- src/filesystem/grl-filesystem.c | 3 ++- src/filesystem/grl-filesystem.h | 2 +- src/flickr/Makefile.am | 2 +- src/flickr/grl-flickr.c | 2 ++ src/gravatar/Makefile.am | 2 +- src/jamendo/Makefile.am | 2 +- src/lastfm-albumart/Makefile.am | 2 +- src/metadata-store/Makefile.am | 2 +- src/podcasts/Makefile.am | 2 +- src/podcasts/grl-podcasts.c | 2 +- src/shoutcast/Makefile.am | 2 +- src/tracker/grl-tracker.c | 1 + src/upnp/Makefile.am | 2 +- src/upnp/grl-upnp.c | 2 +- src/vimeo/Makefile.am | 2 +- src/vimeo/grl-vimeo.c | 1 + src/youtube/Makefile.am | 2 +- src/youtube/grl-youtube.c | 1 + 23 files changed, 25 insertions(+), 18 deletions(-) commit cbb1bdb0a61a3a8f6279d8bf61347ec9a5c02dd9 Author: Guillaume Emont Date: Thu Jan 20 17:26:54 2011 +0100 upnp: add support for thumbnails This needed several helper functions to keep the code clean, because a lot of specific cases need to be handled. For music, the image provided as upnp:albumArtURI is considered a thumbnail. Signed-off-by: Juan A. Suarez Romero src/upnp/grl-upnp.c | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 86 insertions(+), 0 deletions(-) commit 75a381830bee53ccf038343cf24ab48ec888f01d Author: Juan A. Suarez Romero Date: Thu Jan 20 09:40:30 2011 +0100 tracker: Get rid of supported_operations() It is not needed to redefine this function. When providing a implementation for an operation, core automatically detects this and assume source is able to do that operation. Only in the case where though providing an implementation, source can still not be able to do it, we need to provide our custom supported_operations(). Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-) commit 543eb10b5269af9a4d5e3311fd70946e9e338800 Author: Fabien Lebaillif - Delamare Date: Wed Jan 19 21:19:07 2011 +0000 configure.ac: if --host is selected, use the $host-pkg-config instead of hard coded pkg-config (mostly for cross compiling) Signed-off-by: Juan A. Suarez Romero configure.ac | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) commit bb8a952883a8ac0d31a59c6fc043e19abb6644a6 Author: Juan A. Suarez Romero Date: Wed Jan 19 17:28:34 2011 +0100 tracker: Update query() documentation Grilo media type (rdf:type() or "grl#Box") must be the first column in the query, and it doesn't need to be named. Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 545a3512a8287ea2999fee6127d50c6c42201be5 Author: Lionel Landwerlin Date: Wed Jan 19 11:47:32 2011 +0000 tracker: fix warning due to unref NULL Signed-off-by: Lionel Landwerlin Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 5b0410a469458795161284c413bc0e3a889e114c Author: Lionel Landwerlin Date: Wed Jan 19 11:47:31 2011 +0000 tracker: add browse support Signed-off-by: Lionel Landwerlin Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 74 ++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 73 insertions(+), 1 deletions(-) commit a5f1ef4e5aa54d829014ada75748820bdcb0f33c Author: Lionel Landwerlin Date: Wed Jan 19 11:47:30 2011 +0000 tracker: add search support Signed-off-by: Lionel Landwerlin Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 68 ++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 67 insertions(+), 1 deletions(-) commit 834c3e131144df6d8eb13b8cb58126a0c019d46c Author: Lionel Landwerlin Date: Wed Jan 19 11:47:29 2011 +0000 tracker: add metadata support Signed-off-by: Lionel Landwerlin Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 118 ++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 116 insertions(+), 2 deletions(-) commit a5caa9a883fa2587a797280ce3ab7278b47974ab Author: Lionel Landwerlin Date: Wed Jan 19 11:47:28 2011 +0000 tracker: make things fully asynchronous Avoid blocking main loop while parsing results. Signed-off-by: Lionel Landwerlin Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 450 ++++++++++++++++++++++++++++++++++----------- 1 files changed, 342 insertions(+), 108 deletions(-) commit 2c9bd4f9791c05dd195560853c42346d39338663 Author: Lionel Landwerlin Date: Wed Jan 19 11:47:27 2011 +0000 tracker: update on debug traces Signed-off-by: Lionel Landwerlin Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) commit b68fbe1a53577c13916a44af3dfaa22ed5f7ae5a Author: Lionel Landwerlin Date: Wed Jan 19 11:47:26 2011 +0000 tracker: add asynchronous connection retrieval Signed-off-by: Lionel Landwerlin Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 132 +++++++++++++++++++++++++++++++-------------- 1 files changed, 92 insertions(+), 40 deletions(-) commit 5ed6004b7dea1744b16c23d95c2400526009014c Author: Guillaume Emont Date: Wed Jan 19 12:00:55 2011 +0100 setup-plugins-env.sh: avoid empty dir in GRL_PLUGIN_PATH This can avoid annoying warnings when trying to load plugins from all dirs in GRL_PLUGIN_PATH. setup-plugins-env.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 116fc11582dc8352070f158db369d59030c58d50 Author: Iago Toral Quiroga Date: Wed Jan 19 08:40:16 2011 +0100 podcasts: Fixed typo in log domain. src/podcasts/grl-podcasts.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 1eb8ba7c5c4fee34e1b0e4eecf34f971f0a5d9dd Author: Lionel Landwerlin Date: Tue Jan 18 15:47:08 2011 +0000 plugins: sync Grilo config usage with rework in core Signed-off-by: Lionel Landwerlin Signed-off-by: Iago Toral Quiroga src/apple-trailers/grl-apple-trailers.c | 20 +++++++++++++------- src/filesystem/grl-filesystem.c | 10 ++++------ src/flickr/grl-flickr.c | 13 ++++++++++--- src/vimeo/grl-vimeo.c | 18 ++++++++++++++---- src/youtube/grl-youtube.c | 9 ++++++--- 5 files changed, 47 insertions(+), 23 deletions(-) commit e50d532a65b751c00700ad81690df17410ae92b0 Author: Fabien Lebaillif - Delamare Date: Tue Jan 18 11:40:11 2011 +0000 youtube: fix memory leak Signed-off-by: Iago Toral Quiroga src/youtube/grl-youtube.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 68c71e326b9798c0dbb1969733de606f84af457b Author: Jussi Kukkonen Date: Tue Jan 18 13:02:37 2011 +0200 upnp: don't leak struct OperationSpec even on error Signed-off-by: Iago Toral Quiroga src/upnp/grl-upnp.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 441ad9d9f02253ba7760b7a448433d90adb84b10 Author: Jussi Kukkonen Date: Tue Jan 18 13:01:45 2011 +0200 upnp: use given 'skip' parameter in browse/search/query Signed-off-by: Iago Toral Quiroga src/upnp/grl-upnp.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit a7e8ba88a8204ed2075ce4b96908fc7b4c9ae0ca Author: Jussi Kukkonen Date: Thu Jan 13 16:30:12 2011 +0200 upnp: don't leak DIDL fragment and parser Signed-off-by: Juan A. Suarez Romero src/upnp/grl-upnp.c | 29 +++++++++++++++-------------- 1 files changed, 15 insertions(+), 14 deletions(-) commit 8dfaeba1cc3c835b3982c2a2aa7820625f59986c Author: Jussi Kukkonen Date: Thu Jan 13 16:30:11 2011 +0200 upnp: free filter and search strings Signed-off-by: Juan A. Suarez Romero src/upnp/grl-upnp.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) commit 5193a5f1b8afad068b6d38bb1f8a064b14f575f3 Author: Jussi Kukkonen Date: Thu Jan 13 16:30:10 2011 +0200 upnp: don't leak struct OperationSpec Signed-off-by: Juan A. Suarez Romero src/upnp/grl-upnp.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 9b3f9c526b0aa4d815e0884fff750e2e1bca6648 Author: Jussi Kukkonen Date: Thu Jan 13 13:53:45 2011 +0200 upnp: support GrlMediaSourceClass->query query is implemented as a ContentDirectory Search() using the query text as SearchCriteria parameter. Signed-off-by: Juan A. Suarez Romero src/upnp/grl-upnp.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 68 insertions(+), 3 deletions(-) commit ce984d37dad6f36b01b7d6d300b7e4e52889f671 Author: Guillaume Emont Date: Mon Jan 17 18:11:57 2011 +0100 filesystem: added depth limit to search It is controlled by a "maximum-search-depth" configuration option. Signed-off-by: Iago Toral Quiroga src/filesystem/grl-filesystem.c | 114 +++++++++++++++++++++++++++------------ src/filesystem/grl-filesystem.h | 2 + 2 files changed, 81 insertions(+), 35 deletions(-) commit 8b6c7a053f728737ae6595b8862ca2b6ef998999 Author: Guillaume Emont Date: Wed Jan 12 18:47:09 2011 +0100 filesystem: implemented search Fixes https://bugzilla.gnome.org/show_bug.cgi?id=639345 Signed-off-by: Iago Toral Quiroga src/filesystem/grl-filesystem.c | 252 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 252 insertions(+), 0 deletions(-) commit b0f0e3cdb50f30f92714e63dac7c8f627f6fcae1 Author: Juan A. Suarez Romero Date: Fri Jan 14 13:07:41 2011 +0000 tracker: Refactor query() function Move core code to its own private function, so it can be reused by another functions. Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 200 +++++++++++++++++++++++++------------------- 1 files changed, 114 insertions(+), 86 deletions(-) commit 0a07e92ac90054d162b7fd765edf118927a5dd79 Author: Lionel Landwerlin Date: Thu Jan 13 18:58:57 2011 +0000 tracker: depend on tracker-sparql 0.10 or 0.9 Signed-off-by: Lionel Landwerlin configure.ac | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) commit 17c6bebf271165d963657b393cbdf258d2efdcff Author: Lionel Landwerlin Date: Thu Jan 13 18:58:56 2011 +0000 tracker: add supported operation method Signed-off-by: Lionel Landwerlin src/tracker/grl-tracker.c | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) commit bb221b5dc7beeb35179dd8ae8a04179ac30ab16c Author: Juan A. Suarez Romero Date: Wed Jan 12 17:45:29 2011 +0000 tracker: support all keys As almost all keys are supported in Tracker, just tell all keys are supported. Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) commit 50989d3b6cdef3c7bb72a6e3162748b68e300559 Author: Jussi Kukkonen Date: Thu Jan 13 13:53:44 2011 +0200 upnp: use gupnp_control_point_new() filtering target param lets us filter in GSSDP, so we don't need to do it in device_available_cb(). Signed-off-by: Iago Toral Quiroga src/upnp/grl-upnp.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) commit da4926e683f1089ed3e5e5e75c1ce38cbf8a751a Author: Jussi Kukkonen Date: Thu Jan 13 13:53:43 2011 +0200 upnp: use GUPnPContextManager ContextManager makes managing control points easier and also makes non-default contexts visible to the plugin. This raises dependency to gupnp-1.0 >= 0.13 Signed-off-by: Iago Toral Quiroga configure.ac | 2 +- src/upnp/grl-upnp.c | 72 +++++++++++++++++++++++++++------------------------ 2 files changed, 39 insertions(+), 35 deletions(-) commit d341b757b247d12ee8ea92e1e1664cd48db6c8de Author: Jussi Kukkonen Date: Thu Jan 13 13:53:42 2011 +0200 upnp: typos in messages Signed-off-by: Iago Toral Quiroga src/upnp/grl-upnp.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 8f920c041f61ec25c0552664006cbee5f5fb870f Author: Juan A. Suarez Romero Date: Wed Jan 12 17:23:29 2011 +0000 tracker: Fix typo Wrong variable used in a loop. Signed-off-by: Juan A. Suarez Romero src/tracker/grl-tracker.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 772d4b5ef9393deb1588ecf1b5b7eca43903e9b7 Author: Juan A. Suarez Romero Date: Wed Jan 12 10:44:24 2011 +0000 tracker: Add Tracker plugin Plugin that searches multimedia content using Tracker. This first version implements the query function. A query must be a sparql query that Tracker can understand. In order to make possible to map Tracker results to Grilo, all columns must be named with the name of metadata key, and must include a column telling the type of result returning. More information in grilo_tracker_source_query() function. Signed-off-by: Juan A. Suarez Romero configure.ac | 42 +++++- src/Makefile.am | 16 ++- src/tracker/Makefile.am | 36 ++++ src/tracker/grl-tracker.c | 395 +++++++++++++++++++++++++++++++++++++++++++ src/tracker/grl-tracker.h | 78 +++++++++ src/tracker/grl-tracker.xml | 9 + 6 files changed, 570 insertions(+), 6 deletions(-)