[soundcloud] Use correct error message conventions
authorreiv <metareiv@gmail.com>
Sun, 18 Oct 2015 10:43:25 +0000 (12:43 +0200)
committerSergey M․ <dstftw@gmail.com>
Sat, 21 Nov 2015 13:41:31 +0000 (19:41 +0600)
youtube_dl/extractor/soundcloud.py

index c623bb6def08f593a001bd30d6bfa344798e9ad8..6b510a43b84f978b56b9128479e539a452775802 100644 (file)
@@ -535,7 +535,7 @@ class SoundcloudSearchIE(SearchInfoExtractor, SoundcloudIE):
 
         if not results:
             raise ExtractorError(
-                '[soundcloud] No track results', expected=True)
+                'Soundcloud said: No track results', expected=True)
         
-        return self.playlist_result(results[:n], playlist_title=query)
+        return self.playlist_result(results, playlist_title=query)