From 8da9d5164683912f25d90616b3c310eb8477c98f Mon Sep 17 00:00:00 2001 From: arabcoders Date: Fri, 15 Aug 2025 04:44:41 +0300 Subject: [PATCH] fix breaking change to playlist handling. --- app/library/Download.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/library/Download.py b/app/library/Download.py index 2f30fe61..c81e15ef 100644 --- a/app/library/Download.py +++ b/app/library/Download.py @@ -292,7 +292,8 @@ class Download: if isinstance(self.info_dict, dict) and len(self.info_dict) > 1: self.logger.debug(f"Downloading '{self.info.url}' using pre-info.") _dct: dict = self.info_dict.copy() - _dct.update([{k: v for k, v in self.info.extras.items() if k not in _dct or not _dct.get(k)}]) + if isinstance(self.info.extras, dict) and len(self.info.extras) > 0: + _dct.update({k: v for k, v in self.info.extras.items() if k not in _dct or not _dct.get(k)}) cls.process_ie_result(ie_result=_dct, download=True) ret: int = cls._download_retcode