update uri handler to use /watch

This commit is contained in:
Jack 2016-04-26 19:48:43 -04:00
parent 591634f175
commit caf5d2f788
2 changed files with 4 additions and 4 deletions

View file

@ -64,7 +64,7 @@ class LBRYURIHandler(object):
if lbry_name == "lbry" or lbry_name == "" and not started: if lbry_name == "lbry" or lbry_name == "" and not started:
webbrowser.open(UI_ADDRESS) webbrowser.open(UI_ADDRESS)
else: else:
webbrowser.open(UI_ADDRESS + "/view?name=" + lbry_name) webbrowser.open(UI_ADDRESS + "/?watch=" + lbry_name)
def handle_linux(self, lbry_name): def handle_linux(self, lbry_name):
try: try:
@ -77,7 +77,7 @@ class LBRYURIHandler(object):
if lbry_name == "lbry": if lbry_name == "lbry":
webbrowser.open(UI_ADDRESS) webbrowser.open(UI_ADDRESS)
else: else:
webbrowser.open(UI_ADDRESS + "/view?name=" + lbry_name) webbrowser.open(UI_ADDRESS + "/?watch=" + lbry_name)
def main(args): def main(args):

View file

@ -392,8 +392,8 @@ class LBRYDaemon(jsonrpc.JSONRPC):
log.info("[" + str(datetime.now()) + "] Starting lbrynet-daemon") log.info("[" + str(datetime.now()) + "] Starting lbrynet-daemon")
self.internet_connection_checker.start(60) self.internet_connection_checker.start(3600)
self.version_checker.start(3600) self.version_checker.start(3600 * 12)
self.connection_problem_checker.start(1) self.connection_problem_checker.start(1)
d = defer.Deferred() d = defer.Deferred()