[grilo-plugins] jamendo: use the separator macro for feeds



commit 80cc4e072538c3a098a29f72b3ff1d8c529c3d51
Author: Víctor Manuel Jáquez Leal <vjaquez igalia com>
Date:   Mon May 2 16:35:36 2011 +0200

    jamendo: use the separator macro for feeds
    
    Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez igalia com>

 src/media/jamendo/grl-jamendo.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/media/jamendo/grl-jamendo.c b/src/media/jamendo/grl-jamendo.c
index 6787305..dc29f94 100644
--- a/src/media/jamendo/grl-jamendo.c
+++ b/src/media/jamendo/grl-jamendo.c
@@ -857,11 +857,12 @@ update_media_from_feed (GrlMedia *media, int i)
 {
   char *id;
 
-  id = g_strdup_printf("%d/%d", JAMENDO_FEEDS_CAT, i);
+  id = g_strdup_printf("%d" JAMENDO_ID_SEP "%d", JAMENDO_FEEDS_CAT, i);
   grl_media_set_id (media, id);
   g_free (id);
 
   grl_media_set_title (media, feeds[i].name);
+
 }
 
 static void



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