From d4484e88e0d599da5912ba7e64dbf1d87956c924 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 1 Nov 2013 20:57:14 +0100 Subject: YoutubeBatch: log video links only if available --- module/plugins/crypter/YoutubeBatch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/plugins/crypter/YoutubeBatch.py b/module/plugins/crypter/YoutubeBatch.py index b7a00f96d..ee84f0528 100644 --- a/module/plugins/crypter/YoutubeBatch.py +++ b/module/plugins/crypter/YoutubeBatch.py @@ -105,10 +105,11 @@ class YoutubeBatch(Crypter): video_links = [x for x in self.get_videos(id)] self.logInfo("%s videos found on playlist \"%s\" (channel \"%s\")" % (len(video_links), playlist_name, channel_title)) - self.logDebug("Video links = %s" % video_links) if not video_links: continue + self.logDebug("Video links = %s" % video_links) + folder = join(self.config['general']['download_folder'], channel_title, playlist_name) self.packages.append((playlist_name, video_links, folder)) #Note: folder is NOT used actually! -- cgit v1.2.3