Skip to content
Merged
2 changes: 1 addition & 1 deletion cps/tasks/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def run(self, worker_thread):
else:
elapsed_time = (datetime.now() - last_progress_time).total_seconds()
if elapsed_time >= fragment_stuck_timeout:
self.message += f"<br>Some fragments are taking longer than expected to download. Please wait..."
self.message = f"Unable to download {self.media_url_link} due to unavailable fragments. Please see https://github.com/yt-dlp/yt-dlp/issues/2137 for context. Try to download the video again later."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try to download the video again later.

Specifically why? Under what conditions will waiting help?

Suggested change
self.message = f"Unable to download {self.media_url_link} due to unavailable fragments. Please see https://github.com/yt-dlp/yt-dlp/issues/2137 for context. Try to download the video again later."
self.message = f"Unable to download {self.media_url_link} due to unavailable fragments. See https://github.com/yt-dlp/yt-dlp/issues/2137 for context. Try to download the video again later."

@holta holta Jul 15, 2024

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try to download the video again later.

Specifically why? Under what conditions will waiting help?

Let's not create false hopes:


sleep(0.1)

Expand Down