Potential fix for #173
This commit is contained in:
parent
44440aa546
commit
2fddadf363
2 changed files with 6 additions and 2 deletions
|
|
@ -317,8 +317,11 @@ class Download:
|
|||
except asyncio.CancelledError:
|
||||
LOG.debug(f"Closing progress update for: {self.info._id=}.")
|
||||
return
|
||||
|
||||
status = await self.update_task
|
||||
try:
|
||||
status = await self.update_task
|
||||
except Exception as e:
|
||||
LOG.error(f"Failed to get status update for: {self.info._id=}. {e}")
|
||||
pass
|
||||
|
||||
if status is None or status.__class__ is Terminator:
|
||||
LOG.debug(f"Closing progress update for: {self.info._id=}.")
|
||||
|
|
|
|||
|
|
@ -230,6 +230,7 @@ class DownloadQueue:
|
|||
already=None,
|
||||
):
|
||||
ytdlp_config = ytdlp_config if ytdlp_config else {}
|
||||
folder = str(folder)
|
||||
|
||||
LOG.info(
|
||||
f"Adding url '{url}' to folder '{folder}' with the following options 'Preset: {preset}' 'Naming: {output_template}', 'Cookies: {ytdlp_cookies}' 'YTConfig: {ytdlp_config}'."
|
||||
|
|
|
|||
Loading…
Reference in a new issue