[rhythmbox] podcast: don't download hidden (deleted) episodes



commit 5351d9f6423a95e7704ca372a3d65b48edc05501
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]