[PATCH plugins 3/4] 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
-- 
1.7.4.4



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