From 5495bb94dc51c4f2bde6707a354dc8f9174a350b Mon Sep 17 00:00:00 2001 From: hedii Date: Tue, 17 Nov 2015 11:29:29 +0100 Subject: [PATCH 1/5] Add an indicator string when playlist download is done When the playlist is fully downloaded/converted, output an info message. see #7517 --- youtube_dl/YoutubeDL.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 1783ce01b..2a86cc56c 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -833,6 +833,8 @@ class YoutubeDL(object): extra_info=extra) playlist_results.append(entry_result) ie_result['entries'] = playlist_results + if result_type == 'playlist': + self.to_screen('[info] Playlist download process finished') return ie_result elif result_type == 'compat_list': self.report_warning( From b98349a02bdd1ccb540441dd95ae4187e5a7fa84 Mon Sep 17 00:00:00 2001 From: hedii Date: Tue, 17 Nov 2015 15:08:52 +0100 Subject: [PATCH 2/5] Keep the new message for multi_video too Remove unwanted if statement --- youtube_dl/YoutubeDL.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 2a86cc56c..7d4c1a286 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -833,8 +833,7 @@ class YoutubeDL(object): extra_info=extra) playlist_results.append(entry_result) ie_result['entries'] = playlist_results - if result_type == 'playlist': - self.to_screen('[info] Playlist download process finished') + self.to_screen('[info] Playlist download process finished') return ie_result elif result_type == 'compat_list': self.report_warning( From 32f236041364249adecf054a584bc64e1ebd52e2 Mon Sep 17 00:00:00 2001 From: hedii Date: Tue, 17 Nov 2015 15:11:43 +0100 Subject: [PATCH 3/5] Change [info] to [download] --- youtube_dl/YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 7d4c1a286..5e5be3b24 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -833,7 +833,7 @@ class YoutubeDL(object): extra_info=extra) playlist_results.append(entry_result) ie_result['entries'] = playlist_results - self.to_screen('[info] Playlist download process finished') + self.to_screen('[download] Playlist download process finished') return ie_result elif result_type == 'compat_list': self.report_warning( From 85e1e99ae380eebc4bed6c26c77c9c5fbb5e33ad Mon Sep 17 00:00:00 2001 From: hedii Date: Tue, 17 Nov 2015 15:15:30 +0100 Subject: [PATCH 4/5] Add playlist name in the message --- youtube_dl/YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 5e5be3b24..3ebe6b721 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -833,7 +833,7 @@ class YoutubeDL(object): extra_info=extra) playlist_results.append(entry_result) ie_result['entries'] = playlist_results - self.to_screen('[download] Playlist download process finished') + self.to_screen('[download] Playlist %s : download process finished' % playlist) return ie_result elif result_type == 'compat_list': self.report_warning( From fcfe598e2cd474fc8ffb782d9170886971005df3 Mon Sep 17 00:00:00 2001 From: hedii Date: Tue, 17 Nov 2015 16:41:59 +0100 Subject: [PATCH 5/5] Change the message --- youtube_dl/YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 3ebe6b721..9d626049a 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -833,7 +833,7 @@ class YoutubeDL(object): extra_info=extra) playlist_results.append(entry_result) ie_result['entries'] = playlist_results - self.to_screen('[download] Playlist %s : download process finished' % playlist) + self.to_screen('[download] Finished downloading playlist: %s' % playlist) return ie_result elif result_type == 'compat_list': self.report_warning(