Skip to content

Commit a9902f3

Browse files
committed
added documentation for new config file options and changed default options
1 parent b1831a0 commit a9902f3

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

README.md

+18-16
Original file line numberDiff line numberDiff line change
@@ -224,27 +224,29 @@ The configuration options and default values are:
224224

225225
```bash
226226
AIRCAST_ENABLED=1
227-
AIRCAST_LATENCY="1000:2000"
227+
AIRCAST_LATENCY="50:500"
228228
AIRCAST_LOGLEVEL="all=info"
229229
AIRUPNP_ENABLED=1
230-
AIRUPNP_LATENCY="1000:2000"
230+
AIRUPNP_LATENCY="50:500"
231231
AIRUPNP_LOGLEVEL="all=info"
232+
AIRUPNP_CONTENTLENGTH_MODE=0
232233
AIRUPNP_PORT=49154
233234
FILTER_AIRPLAY2_DEVICES="<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6,AllShare1.0"
234235
SYNO_IP="<your synology ip>"
235236
```
236237

237-
| Configuration Option | Values | Mandatory | Description |
238-
| ----------------------- | ------------------------------------------------ | ------------- | ------------------------------------------------------- |
239-
| AIRCAST_ENABLED | `0` or `1` | Yes | Enables or disables AIRCAST |
240-
| AIRCAST_LATENCY | `[rtp][:http][:f]` | No | RTP and HTTP latency (ms), ':f' forces silence fill |
241-
| AIRCAST_LOGLEVEL | `<log>=<level>` | Yes | log=all,raop,main,util,cast -- level=error,warn,info,debug,sdebug |
242-
| AIRUPNP_ENABLED | `0` or `1` | Yes | Enables or disables AIRUPNP |
243-
| AIRUPNP_LATENCY | `[rtp][:http][:f]` | No | RTP and HTTP latency (ms), ':f' forces silence fill |
244-
| AIRUPNP_LOGLEVEL | `<log>=<level>` | Yes | log=all,raop,main,util,upnp -- level=error,warn,info,debug,sdebug |
245-
| AIRUPNP_PORT | `49154` | Yes (airupnp) | Port on which airupnp should be started |
246-
| FILTER_AIRPLAY2_DEVICES | `<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,...` | No | See [Supported UPnP Speakers](#supported-upnp-speakers) |
247-
| SYNO_IP | `192.168.1.100` | Yes | The ip on which aircast/airupnp will be started |
238+
| Configuration Option | Values | Mandatory | Description |
239+
| -------------------------- | ------------------------------------------------ | ------------- | ----------------------------------------------------------------- |
240+
| AIRCAST_ENABLED | `0` or `1` | Yes | Enables or disables AIRCAST |
241+
| AIRCAST_LATENCY | `[rtp][:http][:f]` | No | RTP and HTTP latency (ms), ':f' forces silence fill |
242+
| AIRCAST_LOGLEVEL | `<log>=<level>` | Yes | log=all,raop,main,util,cast -- level=error,warn,info,debug,sdebug |
243+
| AIRUPNP_ENABLED | `0` or `1` | Yes | Enables or disables AIRUPNP |
244+
| AIRUPNP_LATENCY | `[rtp][:http][:f]` | No | RTP and HTTP latency (ms), ':f' forces silence fill |
245+
| AIRUPNP_LOGLEVEL | `<log>=<level>` | Yes | log=all,raop,main,util,upnp -- level=error,warn,info,debug,sdebug |
246+
| AIRUPNP_CONTENTLENGTH_MODE | `-3`or `-1`or `0` | Yes | HTTP content-length mode (-3:chunked, -1:none, 0:fixed) |
247+
| AIRUPNP_PORT | `49154` | Yes (airupnp) | Port on which airupnp should be started |
248+
| FILTER_AIRPLAY2_DEVICES | `<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,...` | No | See [Supported UPnP Speakers](#supported-upnp-speakers) |
249+
| SYNO_IP | `192.168.1.100` | Yes | The ip on which aircast/airupnp will be started |
248250

249251
Configuration options with `Mandatory = Yes` must exist in the configuration. Options with `Mandatory = No` are optional.
250252

@@ -266,11 +268,11 @@ Please activate both options:
266268
It runs the AirConnect processes with the following options by default tuned for sonos:
267269

268270
```bash
269-
/volume1/@appstore/AirConnect/airupnp -b [synology device local ip]:49154 -l 1000:2000 -x "/volume1/@appstore/AirConnect/config.xml" -o "<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6,AllShare1.0" -z -f "/volume1/@appstore/AirConnect/log/airconnect.log" -d all=info
271+
/volume1/@appstore/AirConnect/airupnp -b [synology device local ip]:49154 -l 50:500 -g 0 -x "/volume1/@appstore/AirConnect/config.xml" -o "<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6,AllShare1.0" -z -f "/volume1/@appstore/AirConnect/log/airconnect.log" -d all=info
270272
```
271273

272274
```bash
273-
/volume1/@appstore/AirConnect/aircast -b [synology device local ip] -l 1000:2000 -x "/volume1/@appstore/AirConnect/config-cast.xml" -z -f "/volume1/@appstore/AirConnect/log/airconnect.log" -d all=info
275+
/volume1/@appstore/AirConnect/aircast -b [synology device local ip] -l 50:500 -x "/volume1/@appstore/AirConnect/config-cast.xml" -z -f "/volume1/@appstore/AirConnect/log/airconnect.log" -d all=info
274276
```
275277

276278
### Supported UPnP Speakers
@@ -446,7 +448,7 @@ Change the ip and parameters for your needs:
446448
Example:
447449

448450
```bash
449-
/volume1/@appstore/AirConnect/airupnp -b 192.168.1.249:49154 -l 1000:2000 -i "/volume1/@appstore/AirConnect/config.xml" -o "<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6,AllShare1.0" -z -f "/volume1/@appstore/AirConnect/log/airconnect.log" -d all=info
451+
/volume1/@appstore/AirConnect/airupnp -b 192.168.1.249:49154 -l 50:500 -g 0 -i "/volume1/@appstore/AirConnect/config.xml" -o "<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6,AllShare1.0" -z -f "/volume1/@appstore/AirConnect/log/airconnect.log" -d all=info
450452
```
451453

452454
After running this command, airupnp will be started until all needed information and devices are gathered,

0 commit comments

Comments
 (0)