Skip to content

Commit 231686d

Browse files
committed
Added support for Samsung HW-N950 by default. Added this device (modelNumber AllShare1.0) to the Default Filter List.
1 parent 3e4b7ea commit 231686d

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ AIRUPNP_ENABLED=1
185185
AIRUPNP_LATENCY="1000:2000"
186186
AIRUPNP_LOGLEVEL="all=info"
187187
AIRUPNP_PORT=49154
188-
FILTER_AIRPLAY2_DEVICES="<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6"
188+
FILTER_AIRPLAY2_DEVICES="<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6,AllShare1.0"
189189
SYNO_IP="<your synology ip>"
190190
```
191191

@@ -220,7 +220,7 @@ Please activate both options:
220220
It runs the AirConnect processes with the following options by default tuned for sonos:
221221

222222
```bash
223-
/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" -z -f "/volume1/@appstore/AirConnect/log/airconnect.log" -d all=info
223+
/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
224224
/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
225225
```
226226

@@ -232,7 +232,7 @@ To speed up the detection of Sonos/UPnP/DLNA speakers and to not discover speake
232232

233233
> If you have another UPnP based speaker that you want to be supported by this package which is not in the list below, please open an [issue](https://github.com/eizedev/AirConnect-Synology/issues) and let me know (Please tell me the product name (**model name**, **model number** etc.)), then i will include it to the default configuration.
234234
235-
> With `-o <NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwillian,2.2.6` the sonos/UPnP speakers that are natively supporting AirPlay or AirPlay2 will be ignored from AirConnect/airupnp and only the ones listed with `-o` will be used. Since no new "non airplay" speakers (from sonos) will be released in the future, that should work in any case. So they will be not displayed twice in the list.
235+
> With `-o <NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwillian,2.2.6,AllShare1.0` the sonos/UPnP speakers that are natively supporting AirPlay or AirPlay2 will be ignored from AirConnect/airupnp and only the ones listed with `-o` will be used. Since no new "non airplay" speakers (from sonos) will be released in the future, that should work in any case. So they will be not displayed twice in the list.
236236
237237
#### How to detect UPnP speakers on your network
238238

@@ -277,6 +277,7 @@ This modelNumber is the number that i need to extend the following [List of supp
277277
| LibreWireless | LibreWireless based Speakers | LibreSyncDMR |
278278
| Fitzwilliam | Fitzwilliam | Fitzwilliam |
279279
| 2.2.6 | Devialet Expert Pro 140 | Devialet Export Pro |
280+
| AllShare1.0 | Samsung HW-N950 | Samsung HW-N950 Soundbar |
280281
| `<NULL>` | All speakers without a model number | |
281282

282283
See [Command-Line Arguemts](#command-line-arguemts) for more information about these arguments.

src/dsm/scripts/postinst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ if [ "$SYNOPKG_PKG_STATUS" = "INSTALL" ]; then
3535
echo "[$(date +'%T')] Setting AIRUPNP_LATENCY=\"1000:2000\" n \"${AIRCONNECT_CONFIG}\""
3636
echo "[$(date +'%T')] Setting AIRUPNP_LOGLEVEL=\"all=info\" in \"${AIRCONNECT_CONFIG}\""
3737
echo "[$(date +'%T')] Setting AIRUPNP_PORT=${pkgwizard_airupnp_port} in \"${AIRCONNECT_CONFIG}\""
38-
echo "[$(date +'%T')] Setting FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6\" in \"${AIRCONNECT_CONFIG}\""
38+
echo "[$(date +'%T')] Setting FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6,AllShare1.0\" in \"${AIRCONNECT_CONFIG}\""
3939
} >>"$LOG"
4040
{
4141
echo "AIRCAST_ENABLED=0"
@@ -45,7 +45,7 @@ if [ "$SYNOPKG_PKG_STATUS" = "INSTALL" ]; then
4545
echo "AIRUPNP_LATENCY=\"1000:2000\""
4646
echo "AIRUPNP_LOGLEVEL=\"all=info\""
4747
echo "AIRUPNP_PORT=${pkgwizard_airupnp_port}"
48-
echo "FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6\""
48+
echo "FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6,AllShare1.0\""
4949
} >>"${AIRCONNECT_CONFIG}"
5050
else
5151
{
@@ -56,7 +56,7 @@ if [ "$SYNOPKG_PKG_STATUS" = "INSTALL" ]; then
5656
echo "[$(date +'%T')] Setting AIRUPNP_LATENCY=\"1000:2000\" n \"${AIRCONNECT_CONFIG}\""
5757
echo "[$(date +'%T')] Setting AIRUPNP_LOGLEVEL=\"all=info\" in \"${AIRCONNECT_CONFIG}\""
5858
echo "[$(date +'%T')] Setting AIRUPNP_PORT=${pkgwizard_airupnp_port} in \"${AIRCONNECT_CONFIG}\""
59-
echo "[$(date +'%T')] Setting FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6\" in \"${AIRCONNECT_CONFIG}\""
59+
echo "[$(date +'%T')] Setting FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6,AllShare1.0\" in \"${AIRCONNECT_CONFIG}\""
6060
} >>"$LOG"
6161
{
6262
echo "AIRCAST_ENABLED=1"
@@ -66,7 +66,7 @@ if [ "$SYNOPKG_PKG_STATUS" = "INSTALL" ]; then
6666
echo "AIRUPNP_LATENCY=\"1000:2000\""
6767
echo "AIRUPNP_LOGLEVEL=\"all=info\""
6868
echo "AIRUPNP_PORT=${pkgwizard_airupnp_port}"
69-
echo "FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6\""
69+
echo "FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6,AllShare1.0\""
7070
} >>"${AIRCONNECT_CONFIG}"
7171
fi
7272

src/dsm7/scripts/postinst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ if [ "$SYNOPKG_PKG_STATUS" = "INSTALL" ]; then
3535
echo "[$(date +'%T')] Setting AIRUPNP_LATENCY=\"1000:2000\" n \"${AIRCONNECT_CONFIG}\""
3636
echo "[$(date +'%T')] Setting AIRUPNP_LOGLEVEL=\"all=info\" in \"${AIRCONNECT_CONFIG}\""
3737
echo "[$(date +'%T')] Setting AIRUPNP_PORT=${pkgwizard_airupnp_port} in \"${AIRCONNECT_CONFIG}\""
38-
echo "[$(date +'%T')] Setting FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6\" in \"${AIRCONNECT_CONFIG}\""
38+
echo "[$(date +'%T')] Setting FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6,AllShare1.0\" in \"${AIRCONNECT_CONFIG}\""
3939
} >>"$LOG"
4040
{
4141
echo "AIRCAST_ENABLED=0"
@@ -45,7 +45,7 @@ if [ "$SYNOPKG_PKG_STATUS" = "INSTALL" ]; then
4545
echo "AIRUPNP_LATENCY=\"1000:2000\""
4646
echo "AIRUPNP_LOGLEVEL=\"all=info\""
4747
echo "AIRUPNP_PORT=${pkgwizard_airupnp_port}"
48-
echo "FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6\""
48+
echo "FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6,AllShare1.0\""
4949
} >>"${AIRCONNECT_CONFIG}"
5050
else
5151
{
@@ -56,7 +56,7 @@ if [ "$SYNOPKG_PKG_STATUS" = "INSTALL" ]; then
5656
echo "[$(date +'%T')] Setting AIRUPNP_LATENCY=\"1000:2000\" n \"${AIRCONNECT_CONFIG}\""
5757
echo "[$(date +'%T')] Setting AIRUPNP_LOGLEVEL=\"all=info\" in \"${AIRCONNECT_CONFIG}\""
5858
echo "[$(date +'%T')] Setting AIRUPNP_PORT=${pkgwizard_airupnp_port} in \"${AIRCONNECT_CONFIG}\""
59-
echo "[$(date +'%T')] Setting FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6\" in \"${AIRCONNECT_CONFIG}\""
59+
echo "[$(date +'%T')] Setting FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6,AllShare1.0\" in \"${AIRCONNECT_CONFIG}\""
6060
} >>"$LOG"
6161
{
6262
echo "AIRCAST_ENABLED=1"
@@ -66,7 +66,7 @@ if [ "$SYNOPKG_PKG_STATUS" = "INSTALL" ]; then
6666
echo "AIRUPNP_LATENCY=\"1000:2000\""
6767
echo "AIRUPNP_LOGLEVEL=\"all=info\""
6868
echo "AIRUPNP_PORT=${pkgwizard_airupnp_port}"
69-
echo "FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6\""
69+
echo "FILTER_AIRPLAY2_DEVICES=\"<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,LibreWireless,Fitzwilliam,2.2.6,AllShare1.0\""
7070
} >>"${AIRCONNECT_CONFIG}"
7171
fi
7272

0 commit comments

Comments
 (0)