some updates to work with the latest lbrynet master (#364)
* build with lbrynet v0.30.1 * updates to use latest lbrynet master * Disable DHT and hash announcer components. * fix playback bug after download has started
This commit is contained in:
parent
9977aac9f6
commit
6de1e41628
7 changed files with 22 additions and 18 deletions
src/main/python
|
@ -89,14 +89,17 @@ class LbryAndroidKeyring(keyring.backend.KeyringBackend):
|
|||
keyring.set_keyring(LbryAndroidKeyring())
|
||||
|
||||
import logging.handlers
|
||||
from lbrynet.core import log_support
|
||||
from twisted.internet import reactor
|
||||
|
||||
from lbrynet import analytics
|
||||
from lbrynet import conf
|
||||
from lbrynet.core import utils, system_info
|
||||
from lbrynet.daemon.Components import PEER_PROTOCOL_SERVER_COMPONENT, REFLECTOR_COMPONENT
|
||||
from lbrynet.daemon.Daemon import Daemon
|
||||
from lbrynet import utils, conf, log_support
|
||||
from lbrynet.extras import system_info
|
||||
from lbrynet.extras.daemon.Components import \
|
||||
DHT_COMPONENT, \
|
||||
HASH_ANNOUNCER_COMPONENT, \
|
||||
PEER_PROTOCOL_SERVER_COMPONENT, \
|
||||
REFLECTOR_COMPONENT
|
||||
from lbrynet.extras.daemon import analytics
|
||||
from lbrynet.extras.daemon.Daemon import Daemon
|
||||
|
||||
# https certificate verification
|
||||
# TODO: this is bad. Need to find a way to properly verify https requests
|
||||
|
@ -141,8 +144,7 @@ def start():
|
|||
|
||||
# TODO: specify components, initialise auth
|
||||
conf.settings.update({
|
||||
'components_to_skip': [PEER_PROTOCOL_SERVER_COMPONENT, REFLECTOR_COMPONENT],
|
||||
'concurrent_announcers': 0,
|
||||
'components_to_skip': [DHT_COMPONENT, HASH_ANNOUNCER_COMPONENT, PEER_PROTOCOL_SERVER_COMPONENT, REFLECTOR_COMPONENT],
|
||||
'use_upnp': False
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue