예제 #1
0
 def __init__(self,
              rowid,
              stream_hash,
              peer_finder,
              rate_limiter,
              blob_manager,
              stream_info_manager,
              lbry_file_manager,
              payment_rate_manager,
              wallet,
              download_directory,
              file_name=None):
     EncryptedFileSaver.__init__(self, stream_hash, peer_finder,
                                 rate_limiter, blob_manager,
                                 stream_info_manager, payment_rate_manager,
                                 wallet, download_directory, file_name)
     self.sd_hash = None
     self.txid = None
     self.nout = None
     self.outpoint = None
     self.name = None
     self.claim_id = None
     self.rowid = rowid
     self.lbry_file_manager = lbry_file_manager
     self._saving_status = False
예제 #2
0
 def __init__(self, rowid, stream_hash, peer_finder, rate_limiter, blob_manager,
              stream_info_manager, lbry_file_manager, payment_rate_manager, wallet,
              download_directory, sd_hash=None, key=None, stream_name=None,
              suggested_file_name=None):
     EncryptedFileSaver.__init__(self, stream_hash, peer_finder,
                                 rate_limiter, blob_manager,
                                 stream_info_manager,
                                 payment_rate_manager, wallet,
                                 download_directory, key, stream_name, suggested_file_name)
     self.sd_hash = sd_hash
     self.rowid = rowid
     self.lbry_file_manager = lbry_file_manager
     self._saving_status = False
예제 #3
0
 def __init__(self, rowid, stream_hash, peer_finder, rate_limiter, blob_manager, storage, lbry_file_manager,
              payment_rate_manager, wallet, download_directory, file_name, stream_name, sd_hash, key,
              suggested_file_name):
     EncryptedFileSaver.__init__(
         self, stream_hash, peer_finder, rate_limiter, blob_manager, storage, payment_rate_manager, wallet,
         download_directory, key, stream_name, file_name
     )
     self.sd_hash = sd_hash
     self.rowid = rowid
     self.suggested_file_name = binascii.unhexlify(suggested_file_name)
     self.lbry_file_manager = lbry_file_manager
     self._saving_status = False
     self.claim_id = None
     self.outpoint = None
     self.claim_name = None
     self.txid = None
     self.nout = None
     self.channel_claim_id = None
     self.channel_name = None
     self.metadata = None
예제 #4
0
 def __init__(self,
              rowid,
              stream_hash,
              peer_finder,
              rate_limiter,
              blob_manager,
              stream_info_manager,
              lbry_file_manager,
              payment_rate_manager,
              wallet,
              download_directory,
              sd_hash=None,
              key=None,
              stream_name=None,
              suggested_file_name=None):
     EncryptedFileSaver.__init__(self, stream_hash, peer_finder,
                                 rate_limiter, blob_manager,
                                 stream_info_manager, payment_rate_manager,
                                 wallet, download_directory, key,
                                 stream_name, suggested_file_name)
     self.sd_hash = sd_hash
     self.rowid = rowid
     self.lbry_file_manager = lbry_file_manager
     self._saving_status = False