#NEWLINE# def start_lbry_file( self , rowid , stream_hash , payment_rate_manager , blob_data_rate = None , upload_allowed = True , download_directory = None ) : #NEWLINE# #INDENT# if ( not download_directory ) : #NEWLINE# #INDENT# download_directory = self . download_directory #NEWLINE# #UNINDENT# payment_rate_manager . min_blob_data_payment_rate = blob_data_rate #NEWLINE# lbry_file_downloader = ManagedLBRYFileDownloader ( rowid , stream_hash , self . session . peer_finder , self . session . rate_limiter , self . session . blob_manager , self . stream_info_manager , self , payment_rate_manager , self . session . wallet , download_directory , upload_allowed ) #NEWLINE# self . lbry_files . append ( upload_allowed ) #NEWLINE# d = lbry_file_downloader . set_stream_info ( ) #NEWLINE# d . addCallback ( ( lambda _ : lbry_file_downloader ) ) #NEWLINE# return d