urihandler takes you to show, not watch

This commit is contained in:
Alex Grintsvayg 2017-02-03 13:34:16 -05:00
parent 06be60e3a3
commit 47c92f04d2
2 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@ class LBRYURIHandler(object):
if lbry_name == "lbry" or lbry_name == "":
webbrowser.open(UI_ADDRESS)
else:
webbrowser.open(UI_ADDRESS + "/?watch=" + lbry_name)
webbrowser.open(UI_ADDRESS + "/?show=" + lbry_name)
def handle_linux(self, lbry_name):
try:
@ -43,7 +43,7 @@ class LBRYURIHandler(object):
if lbry_name == "lbry" or lbry_name == "":
webbrowser.open(UI_ADDRESS)
else:
webbrowser.open(UI_ADDRESS + "/?watch=" + lbry_name)
webbrowser.open(UI_ADDRESS + "/?show=" + lbry_name)
def main(args):

View file

@ -41,7 +41,7 @@ else
if [ -z "$NAME" -o "$NAME" == "lbry" ]; then
URL=""
else
URL="/?watch=$(urlencode "$NAME")"
URL="/?show=$(urlencode "$NAME")"
fi
fi