From a6ca61d427f37b472f30afd90d5e8cf539c541b6 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Tue, 2 Aug 2022 04:04:05 +0530 Subject: [PATCH] Fix bug in 0647d9251f7285759109cc82693efee533346911 --- yt_dlp/YoutubeDL.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index e72354bec..7ee83ed4a 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -1799,6 +1799,10 @@ class YoutubeDL: self.to_screen('[download] Downloading video %s of %s' % ( self._format_screen(i + 1, self.Styles.ID), self._format_screen(n_entries, self.Styles.EMPHASIS))) + extra.update({ + 'playlist_index': playlist_index, + 'playlist_autonumber': i + 1, + }) entry_result = self.__process_iterable_entry(entry, download, extra) if not entry_result: failures += 1