[rhythmbox/mallard-help] podcast: don't download hidden (deleted) episodes
- From: Sindhu S <sindhus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/mallard-help] podcast: don't download hidden (deleted) episodes
- Date: Mon, 25 Mar 2013 15:40:45 +0000 (UTC)
commit e07129a3f18cecbeab2ff445bd58752c4d9a1855
Author: Jonathan Matthew <jonathan d14n org>
Date: Sun Mar 3 16:25:05 2013 +1000
podcast: don't download hidden (deleted) episodes
podcast/rb-podcast-manager.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/podcast/rb-podcast-manager.c b/podcast/rb-podcast-manager.c
index ee576b1..155bbc8 100644
--- a/podcast/rb-podcast-manager.c
+++ b/podcast/rb-podcast-manager.c
@@ -462,6 +462,9 @@ rb_podcast_manager_download_entry (RBPodcastManager *pd,
if (entry == NULL)
return;
+
+ if (rhythmdb_entry_get_boolean (entry, RHYTHMDB_PROP_HIDDEN))
+ return;
status = rhythmdb_entry_get_ulong (entry, RHYTHMDB_PROP_STATUS);
if ((status < RHYTHMDB_PODCAST_STATUS_COMPLETE) ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]