-
Notifications
You must be signed in to change notification settings - Fork 78
HTTP Api
seliver edited this page Jun 3, 2015
·
7 revisions
So, to use the HTTP Api to control Elpis, you have to:
- on running Elpis the first time (1.4.7 and later), click ok on firewall popup. With this, Elpis registers a HTTP listener on your system;
- get your IP on Elpis settings page;
- add to your IP the default Elpis port 35747, so it looks like this: http://192.168.1.12:35747/. This will be named as "address".
- now, to control Elpis (music have to be playing for this), copy your address to a browser and add one of the next commands: play, pause, toggleplaypause, next, **like **or dislike. So it will look like this: http://192.168.1.12:35747/pause . After that, press Enter and see the magic! If no magic came out, then probably the ip address is wrong. Try finding the one you use on your local network.
- Now you can also see what's the song playing in this moment by accessing to p.ex. http://192.168.1.12:35747/currentsong .
That's it.