diff --git a/app/library/DownloadQueue.py b/app/library/DownloadQueue.py index 8407f729..8f3ca350 100644 --- a/app/library/DownloadQueue.py +++ b/app/library/DownloadQueue.py @@ -91,6 +91,9 @@ class DownloadQueue: if property in entry: etr[f"playlist_{property}"] = entry.get(property) + if "thumbnail" not in etr and "youtube:" in entry.get("extractor", ""): + etr["thumbnail"] = f"https://img.youtube.com/vi/{etr['id']}/maxresdefault.jpg" + results.append( await self.__add_entry( entry=etr,