From 81fb65d6d91f2b542c1ba78ec9305906de3e9b98 Mon Sep 17 00:00:00 2001 From: robin007bond Date: Fri, 13 Feb 2015 21:10:17 +0100 Subject: [PATCH] Change status message 'video' to 'media' Changed occurences of 'video' to 'media', since youtube-dl supports audio files too, not only videos. --- youtube_dl/YoutubeDL.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 13d18e25e..025f994f4 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -762,7 +762,7 @@ class YoutubeDL(object): playliststart, playlistend) n_entries = len(entries) self.to_screen( - "[%s] playlist %s: Downloading %d videos" % + "[%s] playlist %s: Downloading %d media" % (ie_result['extractor'], playlist, n_entries)) else: # iterable if playlistitems: @@ -773,14 +773,14 @@ class YoutubeDL(object): ie_entries, playliststart, playlistend)) n_entries = len(entries) self.to_screen( - "[%s] playlist %s: Downloading %d videos" % + "[%s] playlist %s: Downloading %d media" % (ie_result['extractor'], playlist, n_entries)) if self.params.get('playlistreverse', False): entries = entries[::-1] for i, entry in enumerate(entries, 1): - self.to_screen('[download] Downloading video %s of %s' % (i, n_entries)) + self.to_screen('[download] Downloading media %s of %s' % (i, n_entries)) extra = { 'n_entries': n_entries, 'playlist': playlist,