Added Functionality to Specify Different Type of Connections e.g a Unix Socket
This commit is contained in:
@@ -26,6 +26,26 @@ This is the port where your Music Player Daemon Is Running
|
||||
```yml
|
||||
MPD_PORT : "6600"
|
||||
```
|
||||
## Network Type
|
||||
|
||||
By Default gomp assumes that you connect to MPD Server through tcp, But if your MPD Server is configured to expose a unix socket rather than a port, then you can specify network type to "unix"
|
||||
|
||||
```yml
|
||||
NETWORK_TYPE : "unix"
|
||||
```
|
||||
|
||||
Read More about it in the [sample_config](https://github.com/aditya-K2/gomp/blob/master/sample_config.yml)
|
||||
|
||||
## Network Address
|
||||
|
||||
The Address of the Host for e.g `"localhost"` or `"/path/to/unix/socket/"` if you are using unix sockets
|
||||
Defaults to `localhost`
|
||||
|
||||
```yml
|
||||
NETWORK_ADDRESS : "/home/$USER/.mpd/socket"
|
||||
```
|
||||
|
||||
Read More about it in the [sample_config](https://github.com/aditya-K2/gomp/blob/master/sample_config.yml)
|
||||
|
||||
## Music Directory
|
||||
|
||||
|
||||
Reference in New Issue
Block a user