[PATCH] apple-trailers: set mimetype to videos
- From: lionel g landwerlin linux intel com
- To: grilo-list gnome org
- Subject: [PATCH] apple-trailers: set mimetype to videos
- Date: Fri, 12 Aug 2011 23:20:27 +0100
From: Lionel Landwerlin <lionel g landwerlin linux intel com>
---
src/media/apple-trailers/grl-apple-trailers.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/media/apple-trailers/grl-apple-trailers.c b/src/media/apple-trailers/grl-apple-trailers.c
index 949f188..b3562d5 100644
--- a/src/media/apple-trailers/grl-apple-trailers.c
+++ b/src/media/apple-trailers/grl-apple-trailers.c
@@ -356,6 +356,9 @@ build_media_from_movie (xmlNodePtr node, gboolean xlarge)
grl_data_set_string (GRL_DATA (media),
GRL_METADATA_KEY_GENRE,
movie_genre);
+ grl_data_set_string (GRL_DATA (media),
+ GRL_METADATA_KEY_MIME,
+ "video/any");
grl_media_set_thumbnail (media, movie_thumbnail);
grl_media_set_url (media, movie_url);
grl_media_set_certificate (media, movie_rating);
--
1.7.5.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]