Merge branch 'master' into refactor

This commit is contained in:
aditya-K2 2022-08-31 18:42:58 +05:30
commit e86ceaca6a
2 changed files with 3 additions and 2 deletions

View File

@ -48,5 +48,5 @@ go build
# Setting Up # Setting Up
- [Configuring](https://aditya-K2.github.io/gomp/) - [Documentation](https://aditya-K2.github.io/gomp/)
- [Video Showcase](https://github.com/aditya-K2/gomp/tree/master/extras/showcase.md) - [Video Showcase](https://github.com/aditya-K2/gomp/tree/master/extras/showcase.md)

View File

@ -29,6 +29,7 @@ MPD_PORT : "6600"
## Network Type ## 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" 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"
Defaults to `tcp` if not provided.
```yml ```yml
NETWORK_TYPE : "unix" NETWORK_TYPE : "unix"
@ -39,7 +40,7 @@ Read More about it in the [sample_config](https://github.com/aditya-K2/gomp/blob
## Network Address ## Network Address
The Address of the Host for e.g `"localhost"` or `"/path/to/unix/socket/"` if you are using unix sockets The Address of the Host for e.g `"localhost"` or `"/path/to/unix/socket/"` if you are using unix sockets
Defaults to `localhost` Defaults to `localhost` if not provided.
```yml ```yml
NETWORK_ADDRESS : "/home/$USER/.mpd/socket" NETWORK_ADDRESS : "/home/$USER/.mpd/socket"