From caf5d2f7880fdfcc0e54111c98a91a534bf8150f Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 26 Apr 2016 19:48:43 -0400 Subject: [PATCH] update uri handler to use /watch --- lbrynet/lbrynet_daemon/Apps/LBRYURIHandler.py | 4 ++-- lbrynet/lbrynet_daemon/LBRYDaemon.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lbrynet/lbrynet_daemon/Apps/LBRYURIHandler.py b/lbrynet/lbrynet_daemon/Apps/LBRYURIHandler.py index c748a1015..ed63c6f03 100644 --- a/lbrynet/lbrynet_daemon/Apps/LBRYURIHandler.py +++ b/lbrynet/lbrynet_daemon/Apps/LBRYURIHandler.py @@ -64,7 +64,7 @@ class LBRYURIHandler(object): if lbry_name == "lbry" or lbry_name == "" and not started: webbrowser.open(UI_ADDRESS) else: - webbrowser.open(UI_ADDRESS + "/view?name=" + lbry_name) + webbrowser.open(UI_ADDRESS + "/?watch=" + lbry_name) def handle_linux(self, lbry_name): try: @@ -77,7 +77,7 @@ class LBRYURIHandler(object): if lbry_name == "lbry": webbrowser.open(UI_ADDRESS) else: - webbrowser.open(UI_ADDRESS + "/view?name=" + lbry_name) + webbrowser.open(UI_ADDRESS + "/?watch=" + lbry_name) def main(args): diff --git a/lbrynet/lbrynet_daemon/LBRYDaemon.py b/lbrynet/lbrynet_daemon/LBRYDaemon.py index 3fd60fe1f..12f17ca18 100644 --- a/lbrynet/lbrynet_daemon/LBRYDaemon.py +++ b/lbrynet/lbrynet_daemon/LBRYDaemon.py @@ -392,8 +392,8 @@ class LBRYDaemon(jsonrpc.JSONRPC): log.info("[" + str(datetime.now()) + "] Starting lbrynet-daemon") - self.internet_connection_checker.start(60) - self.version_checker.start(3600) + self.internet_connection_checker.start(3600) + self.version_checker.start(3600 * 12) self.connection_problem_checker.start(1) d = defer.Deferred()