[totem] grilo: Only request videos in the browse options



commit 2c3786faed190b9ea3cd5826f1cd962cab40f06e
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Dec 16 16:21:37 2012 +0100

    grilo: Only request videos in the browse options

 src/plugins/grilo/totem-grilo.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/grilo/totem-grilo.c b/src/plugins/grilo/totem-grilo.c
index 70ad955..0c036d3 100644
--- a/src/plugins/grilo/totem-grilo.c
+++ b/src/plugins/grilo/totem-grilo.c
@@ -509,6 +509,7 @@ browse (TotemGriloPlugin *self,
 		grl_operation_options_set_flags (default_options, BROWSE_FLAGS);
 		grl_operation_options_set_skip (default_options, (page - 1) * PAGE_SIZE);
 		grl_operation_options_set_count (default_options, PAGE_SIZE);
+		grl_operation_options_set_type_filter (default_options, GRL_TYPE_FILTER_VIDEO);
 
 		bud = g_slice_new (BrowseUserData);
 		bud->totem_grilo = g_object_ref (self);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]