1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Finishing touches

This commit is contained in:
Krateng 2019-03-08 11:52:59 +01:00
parent 279c1dcba2
commit 4f48daa4f8
3 changed files with 3 additions and 3 deletions

View File

@ -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.

Binary file not shown.

View File

@ -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();
}
}