diff --git a/main.py b/main.py index 1daf3f7..255a334 100644 --- a/main.py +++ b/main.py @@ -210,7 +210,7 @@ class gPotherSide: episode = self._get_episode_by_id(episode_id) return { 'source': episode.local_filename(False) - if episode.was_downloaded(and_exists=True) + if episode.state == gpodder.STATE_DOWNLOADED else episode.url, }