This commit is contained in:
2026-01-01 20:37:27 -08:00
parent f3c79609d8
commit deb05c0d44
35 changed files with 5030 additions and 4879 deletions

View File

@@ -405,7 +405,7 @@ class DownloadModal(ModalScreen):
download_succeeded = False
download_stderr_text = "" # Store for merge stage
if download_enabled:
download_cmdlet_name = "download-media" if self.is_playlist else "download-file"
download_cmdlet_name = "download-file"
download_cmdlet = get_cmdlet(download_cmdlet_name)
if download_cmdlet:
logger.info(f"📥 Executing {download_cmdlet_name} stage")
@@ -416,9 +416,9 @@ class DownloadModal(ModalScreen):
if worker:
worker.log_step(f"Starting {download_cmdlet_name} stage...")
# Build arguments for download-media (yt-dlp) playlists; download-file takes no yt-dlp args.
# Build yt-dlp playlist arguments for download-file streaming (if applicable).
cmdlet_args = []
if download_cmdlet_name == "download-media" and self.is_playlist:
if self.is_playlist:
# Always use yt-dlp's native --playlist-items for playlists
if playlist_selection:
# User provided specific selection