[grilo-plugins] apple-trailers: Add "source-tags" property



commit 907b8d63762a88a948ce5af6aad21ebcb30a56e5
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Feb 10 12:42:58 2014 +0100

    apple-trailers: Add "source-tags" property
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724019
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>

 src/apple-trailers/grl-apple-trailers.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/apple-trailers/grl-apple-trailers.c b/src/apple-trailers/grl-apple-trailers.c
index 3697713..7aed5bc 100644
--- a/src/apple-trailers/grl-apple-trailers.c
+++ b/src/apple-trailers/grl-apple-trailers.c
@@ -160,6 +160,11 @@ grl_apple_trailers_source_new (gboolean high_definition,
   GrlAppleTrailersSource *source;
   GIcon *icon;
   GFile *file;
+  const char *tags[] = {
+    "country:us",
+    "cinema",
+    NULL
+  };
 
   GRL_DEBUG ("grl_apple_trailers_source_new%s%s",
              high_definition ? " (HD)" : "",
@@ -175,6 +180,7 @@ grl_apple_trailers_source_new (gboolean high_definition,
                          "high-definition", high_definition,
                         "large-poster", xlarge,
                          "source-icon", icon,
+                         "source-tags", tags,
                          NULL);
 
   return source;


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