[rhythmbox] podcast: allow non-downloaded podcasts to be added to the play queue
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] podcast: allow non-downloaded podcasts to be added to the play queue
- Date: Wed, 31 Mar 2021 11:57:27 +0000 (UTC)
commit fd47518d6c41ba554d0cd487b9e2c7648705fac7
Author: Jonathan Matthew <jonathan d14n org>
Date: Wed Mar 31 21:56:15 2021 +1000
podcast: allow non-downloaded podcasts to be added to the play queue
podcast/rb-podcast-source.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/podcast/rb-podcast-source.c b/podcast/rb-podcast-source.c
index 60bf4690d..8baf54bae 100644
--- a/podcast/rb-podcast-source.c
+++ b/podcast/rb-podcast-source.c
@@ -1023,13 +1023,10 @@ impl_add_to_queue (RBSource *source, RBSource *queue)
for (iter = selection; iter; iter = iter->next) {
RhythmDBEntry *entry = (RhythmDBEntry *)iter->data;
- if (!rb_podcast_manager_entry_downloaded (entry))
- continue;
rb_static_playlist_source_add_entry (RB_STATIC_PLAYLIST_SOURCE (queue),
entry, -1);
+ rhythmdb_entry_unref (entry);
}
-
- g_list_foreach (selection, (GFunc)rhythmdb_entry_unref, NULL);
g_list_free (selection);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]