浏览代码

Added details on communication

父节点
当前提交
a5a8f22bfa
签署人:: Brendan Abolivier <contact@brendanabolivier.com> GPG 密钥 ID: 8EF1500759F70623
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      README.md

+ 2
- 2
README.md 查看文件

@@ -10,7 +10,7 @@ When I got that done, I wanted to enhance it. Since I didn't want just some cent
10 10
 
11 11
 ## Welcome Home
12 12
 
13
-Welcome Home is a bash script which detects when a selected device is connected to your local network. If it detects the device, it will communicate with Mopidy and start playing a selected stream (set in the configuration file) on the Pine64's jack output.
13
+Welcome Home is a bash script which detects when a selected device is connected to your local network. If it detects the device, it will communicate with Mopidy using its [JSON API](https://docs.mopidy.com/en/latest/api/http/) and start playing a selected stream (set in the configuration file) on the Pine64's jack output.
14 14
 
15 15
 In my example, when I get home and my phone connects to my apartment's wifi, it gets a static IP address (as I configured it in my DHCP server). Welcome Home detects it, which means that I'm home or almost there, and starts some nice Trance music for me.
16 16
 
@@ -66,4 +66,4 @@ Since you installed Mopidy from sources, there's no provided way to automaticall
66 66
 ```shell
67 67
 systemctl enable mopidy
68 68
 systemctl start mopidy
69
-```
69
+```