[grilo-plugins] [youtube] For videos, set site metadata to the URL of the web player



commit e30c1a9bcbb27aa94d1eaab9d234e77f9480d96f
Author: Iago Toral Quiroga <itoral igalia com>
Date:   Mon May 31 10:49:57 2010 +0200

    [youtube] For videos, set site metadata to the URL of the web player

 src/youtube/grl-youtube.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/youtube/grl-youtube.c b/src/youtube/grl-youtube.c
index ebc2324..7c615ee 100644
--- a/src/youtube/grl-youtube.c
+++ b/src/youtube/grl-youtube.c
@@ -486,7 +486,7 @@ build_media_from_entry (GrlMedia *content,
       grl_media_set_mime (media, YOUTUBE_VIDEO_MIME);
       break;
     case GRL_METADATA_KEY_SITE:
-      grl_media_set_site (media, YOUTUBE_SITE_URL);
+      grl_media_set_site (media, gdata_youtube_video_get_player_uri (video));
       break;
     case GRL_METADATA_KEY_RATING:
       {



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