Log that there are not episodes left

This commit is contained in:
PapaTutuWawa 2023-12-17 11:52:03 +01:00
parent b5df984589
commit 28f8b9eb13

View File

@ -160,6 +160,10 @@ def main():
[episode.episode_nr for episode in episodes_remote] [episode.episode_nr for episode in episodes_remote]
) - set(show.local_episodes) ) - set(show.local_episodes)
if not episodes_to_download:
logging.info("No non-downloaded episodes available")
continue
for episode in episodes_remote: for episode in episodes_remote:
if episode.episode_nr in episodes_to_download: if episode.episode_nr in episodes_to_download:
logging.info("Downloading %s (%d)", episode.name, episode.episode_nr) logging.info("Downloading %s (%d)", episode.name, episode.episode_nr)