From e78373fb16743b8901c2783ddfb9fa1357d16e91 Mon Sep 17 00:00:00 2001 From: Krateng Date: Fri, 29 Mar 2019 21:02:27 +0100 Subject: [PATCH] Install script shows custom port --- maloja | 8 +++++--- rules/predefined/krateng_lotr-soundtrack.tsv | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/maloja b/maloja index dee8c18..2ca6563 100755 --- a/maloja +++ b/maloja @@ -192,10 +192,12 @@ def start(): p = subprocess.Popen(["python3","server.py"],stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL) print(green("Maloja started!") + " PID: " + str(p.pid)) - print("Visit your server address (Port 42010) to see your web interface. Visit /setup to get started.") + port = settings.get_settings("WEB_PORT") + + print("Visit your server address (Port " + str(port) + ") to see your web interface. Visit /setup to get started.") print("If you're installing this on your local machine, these links should get you there:") - print("\t" + blue("http://localhost:42010")) - print("\t" + blue("http://localhost:42010/setup")) + print("\t" + blue("http://localhost:" + str(port))) + print("\t" + blue("http://localhost:" + str(port) + "/setup")) return True #else: # os.chdir("/opt/maloja/") diff --git a/rules/predefined/krateng_lotr-soundtrack.tsv b/rules/predefined/krateng_lotr-soundtrack.tsv index c902a5c..fd1d9d1 100644 --- a/rules/predefined/krateng_lotr-soundtrack.tsv +++ b/rules/predefined/krateng_lotr-soundtrack.tsv @@ -18,3 +18,5 @@ replaceartist Sir James Galway Viggo Mortensen And Renée Fleming Album Version notanartist In Dreams notanartist Aniron Theme For Aragorn And Arwen notanartist Lament for Gandalf +replaceartist James Galway Sir James Galway +replaceartist Ben del Maestro Ben Del Maestro