diff --git a/README.md b/README.md index e445f2e..d244ec5 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ There is only one scrobbler (a Chrome extension for Plex), but a very simple API ## How to install -1) Either install Maloja with a package, or download the repository to some arbitrary location. If you pick the manual installation, every command needs to be executed from the Maloja directory and led with `./`. You can also only download the file maloja instead of the whole repository and fetch the rest with +1) Either install Maloja with a package, or download the repository to some arbitrary location. If you pick the manual installation, every command needs to be executed from the Maloja directory and led with `./`. You can also only download the file `maloja` instead of the whole repository and fetch the rest with ./maloja update @@ -53,7 +53,7 @@ There is only one scrobbler (a Chrome extension for Plex), but a very simple API ## How to use -If you didn't install Maloja from the package (and therefore don't have it in /opt/maloja), every command needs to be executed from the Maloja directory and led with `./`. Otherwise, all commands work in any location and without the prefix. +If you didn't install Maloja from the package (and therefore don't have it in `/opt/maloja`), every command needs to be executed from the Maloja directory and led with `./`. Otherwise, all commands work in any location and without the prefix. 1) In order to scrobble your music from Plex Web, install the included Chrome extension. Make sure to enter the random key Maloja generates on first startup in the extension. diff --git a/packages/maloja.deb b/packages/maloja.deb index 4a2d6eb..02fd8bf 100644 Binary files a/packages/maloja.deb and b/packages/maloja.deb differ diff --git a/website/start.html b/website/start.html index 9dc4371..c2ef931 100644 --- a/website/start.html +++ b/website/start.html @@ -58,7 +58,7 @@ else { xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = searchresult - xhttp.open("GET","/db/search?max=5&query=" + txt, true); + xhttp.open("GET","/db/search?max=5&query=" + encodeURIComponent(txt), true); xhttp.send(); } }