This commit is contained in:
Ravi 2011-07-10 22:57:19 -04:00
parent c82a911fc9
commit 9ad8976d74
1 changed files with 3 additions and 3 deletions

View File

@ -608,8 +608,8 @@ class FileDownloader(object):
# Extract information from URL and process it
ie.extract(url)
#parallel downloader needs dummy at the end to signal end of queue
#for the thread to exit
#parallel downloader needs dummy at the end to signal end of queue
#for the thread to exit
for i in xrange(self.params.get('parallel')):
downloadqueue.put({'filename':None } )
@ -2796,7 +2796,7 @@ if __name__ == '__main__':
parser.add_option('-P','--parallel',
type="int",dest='parallel',help='Number of parallel downloads',default=0)
parser.add_option('-s', '--save-playlist',
action='store_true', dest='saveplaylist', help='do not create playlist file for playlists')
action='store_true', dest='saveplaylist', help='Save file list to a playlist file')