[grilo-plugins/0.1.x] podcasts: Include thumbail images from individual streams in podcasts also when retrieving data from
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins/0.1.x] podcasts: Include thumbail images from individual streams in podcasts also when retrieving data from
- Date: Fri, 3 Jun 2011 06:48:02 +0000 (UTC)
commit 9eaac7bd8ae2824eeb8e0616cb7414f293a7a76b
Author: Iago Toral Quiroga <itoral igalia com>
Date: Wed Jun 1 12:25:30 2011 +0200
podcasts: Include thumbail images from individual streams in
podcasts also when retrieving data from the local database.
src/media/podcasts/grl-podcasts.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/media/podcasts/grl-podcasts.c b/src/media/podcasts/grl-podcasts.c
index 0f8b647..ecb6c87 100644
--- a/src/media/podcasts/grl-podcasts.c
+++ b/src/media/podcasts/grl-podcasts.c
@@ -645,9 +645,9 @@ build_media_from_stmt (GrlMedia *content,
date = (gchar *) sqlite3_column_text (sql_stmt, STREAM_DATE);
desc = (gchar *) sqlite3_column_text (sql_stmt, STREAM_DESC);
duration = sqlite3_column_int (sql_stmt, STREAM_LENGTH);
- duration = sqlite3_column_int (sql_stmt, STREAM_IMAGE);
+ image = (gchar *) sqlite3_column_text (sql_stmt, STREAM_IMAGE);
media = build_media (content, is_podcast, url,
- title, url, desc, mime, date, NULL, duration, 0);
+ title, url, desc, mime, date, image, duration, 0);
}
return media;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]