[grilo-plugins] podcasts: Include thumbail images from individual streams in podcasts also when retrieving data from
- From: Iago Toral Quiroga <itoral src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] podcasts: Include thumbail images from individual streams in podcasts also when retrieving data from
- Date: Wed, 1 Jun 2011 10:27:15 +0000 (UTC)
commit 90a8c0de8cefc38d284038bfd521590af0061ad2
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]