diff --git a/modules/videos/downloader.py b/modules/videos/downloader.py index f71783d4..f74c50ff 100755 --- a/modules/videos/downloader.py +++ b/modules/videos/downloader.py @@ -80,7 +80,7 @@ class ChannelDownloader(Downloader, ABC): @staticmethod def is_a_playlist(info: dict): # A playlist may have an id different from its channel. - return info['id'] != info['channel_id'] + return info['id'] != info.get('channel_id') async def do_download(self, download: Download) -> DownloadResult: """Update a Channel's catalog, then schedule downloads of every missing video.""" diff --git a/wrolpi/downloader.py b/wrolpi/downloader.py index 0db450e3..b41224d2 100644 --- a/wrolpi/downloader.py +++ b/wrolpi/downloader.py @@ -344,7 +344,6 @@ class DownloadManager: return if now() - last_heartbeat > self.worker_alive_frequency: - worker_logger.debug("I'm alive") last_heartbeat = now() disabled = self.disabled.is_set()