Fix a regression for custom feeds (e.g. Soundcloud)
Refactoring introduced a bug where new episodes were never found on custom feeds such as Soundcloud.
This commit is contained in:
parent
5756e9791c
commit
33a6930fb3
|
@ -176,6 +176,10 @@ class PodcastChannel(PodcastModelObject):
|
|||
self.save()
|
||||
|
||||
guids = [episode.guid for episode in self.get_all_episodes()]
|
||||
|
||||
# Insert newly-found episodes into the database
|
||||
custom_feed.get_new_episodes(self, guids)
|
||||
|
||||
self.save()
|
||||
|
||||
self.db.purge(max_episodes, self.id)
|
||||
|
|
Loading…
Reference in New Issue