Giter VIP home page Giter VIP logo

eizedev / airconnect-synology Goto Github PK

View Code? Open in Web Editor NEW
313.0 313.0 14.0 6.88 MB

Updated AirConnect packages for Synology NAS and Synology Router

Home Page: https://github.com/philippe44/AirConnect

License: MIT License

Makefile 15.34% Shell 84.66%
airconnect airconnect-application airconnect-configuration airplay apple bridge chromecast dlna dlna-player dlna-upnp dsm7 google sonos sonos-audio synology synology-devices synology-nas synology-package synology-router upnp

airconnect-synology's Introduction

airconnect-synology's People

Contributors

5trobl avatar aaltepet avatar dependabot[bot] avatar eizedev avatar seiryisnotablock avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

airconnect-synology's Issues

Cannot start, Cannot load SSL libraries

Hi,

Installed AirConnect-x86-0.2.43.1-20210115.spk on a Synology DS415+
However, when trying to start from the GUI, it stops straight away...
When trying to start via SSH, (./airupnp) it gives error: Start:1132 Cannot load SSL libraries
Any idea what's wrong here ?

Failed to start AirConnect on DS 918+

Hi,

It was worked in the past. But all of sudden, the functionality corrupted. I reinstalled the AirConnect but never got it work again.

Here is the error logs taken from the log file.

[08:52:34] Stopping AirConnect ...
[08:53:05] Starting AirConnect ...
[08:53:05] Starting airupnp on 192.168.50.17:49154
[08:53:05.195306] main:1418 Starting airupnp version: v0.2.41.0 (Dec  8 2020 @ 18:43:14)
[08:53:05.195436] main:1426 no config file, using defaults
[08:53:05.197038] Start:1127 Binding to 192.168.50.17:49154
[08:53:05] Starting aircast on 192.168.50.17
[08:53:05.203359] main:958 Starting aircast version: v0.2.41.0 (Dec  8 2020 @ 18:41:57)
[08:53:05.203486] main:966 no config file, using defaults
[08:53:05.203813] Start:716 Binding to 192.168.50.17
[08:53:05] Searching if renderer were added (for 10 seconds)...
[08:53:08.368454] XMLGetFirstDocumentItem:1438 (BUG) ixmlNode_getFirstChild(tmpNode) returned NULL
[08:53:10.372653] XMLGetFirstDocumentItem:1438 (BUG) ixmlNode_getFirstChild(tmpNode) returned NULL
[08:53:15] Failed to start AirConnect on ip "192.168.50.17", stopping it...
[08:53:26] Failed to start AirConnect on any of the local interfaces, please make sure you have at least one UPnP/Sonos/Chromecast device on your network
[08:53:26] Stopping AirConnect ..

Is there any configuration issue?
Thanks,

Failed to start AirConnect

AirConnect: [21:31:21] Failed to start AirConnect on ip "192.168.1.126", stopping it... [21:31:33] Failed to start AirConnect on any of the local interfaces, please make sure you have at least one UPnP/Sonos/Chromecast device on your network

DS120J DSM 6.2.3-25426 Update 3

Airconnect was fine on first day of install but now no devices is showing in airplay

Describe the bug
I installed the package a few days ago and all it worked right away and got to play music through airplay with multiple chromecast.
When I tried it today no devices was found on airplay.

To Reproduce
Fresh install

Expected behavior
Airplay should still show all my chromecast devices

Logfiles
airconnect.log

(is this the right way to show log files? Or is there more efficient way?)

Hardware (Device on which you are running AirConnect-Synology):

  • Airconnect is installed in Synology NAS DS418play
  • DSM Version DSM 6.2.4-25556
  • Router RT2600ac running SRM 1.2.5-8227

Package (which package from the releases page have you downloaded):

  • package name: AirConnect-x86-64-0.2.50.5-20210706.spk

Additional context
I did a fresh install, I enabled Multicast, IGMP Snooping, IGMP Proxy v2 and tried v3 as well.
I tried using an older version AirConnect-x86-64-0.2.44.1-20210308.spk . As I have read in one of the issues here that I thought was pretty similar to my situation.

I also have a home assistant and tried installing the airconnect add-on there and the logs there are similar to the logs in my synology logs, specifically:

2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.082059] rtsp_thread:347 got RTSP connection 15
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.083226] rtsp_thread:347 got RTSP connection 11
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.083458] read_line:1219 disconnected on the other end 15
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.083536] rtsp_thread:362 RTSP close 15
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.084470] rtsp_thread:347 got RTSP connection 12
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.084688] read_line:1219 disconnected on the other end 11
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.084754] rtsp_thread:362 RTSP close 11
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.085723] rtsp_thread:347 got RTSP connection 15
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.085884] read_line:1219 disconnected on the other end 12
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.085944] rtsp_thread:362 RTSP close 12
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.086928] rtsp_thread:347 got RTSP connection 18
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.087088] read_line:1219 disconnected on the other end 15
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.087174] rtsp_thread:362 RTSP close 15
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.088046] rtsp_thread:347 got RTSP connection 21
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.088168] read_line:1219 disconnected on the other end 18
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.088237] rtsp_thread:362 RTSP close 18
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.088454] read_line:1219 disconnected on the other end 21
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.088496] rtsp_thread:362 RTSP close 21
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.089296] rtsp_thread:347 got RTSP connection 24
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.089562] read_line:1219 disconnected on the other end 24
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.089634] rtsp_thread:362 RTSP close 24
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.090270] rtsp_thread:347 got RTSP connection 27
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.090474] read_line:1219 disconnected on the other end 27
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.090531] rtsp_thread:362 RTSP close 27
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.091153] rtsp_thread:347 got RTSP connection 30
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.091437] read_line:1219 disconnected on the other end 30
2021-07-11T20:38:01+08:00 ChuabakaNAS [20:38:01.091484] rtsp_thread:362 RTSP close 30

[FEATURE] Own packages only for airupnp or aircast

The build scripts should be extended or adapted in that individual packages are built only for airupnp or aircast. (i.e. there is one package (airconnect) for both binaries and one package only for airupnp or aircast).

Alternatively, it could be considered to include the Synology Package Manager GUI and to integrate a selection menu during installation (WIZARD_UIFILES folder) which binaries should be installed and managed (Both, airupnp, aircast).

[BUG] Not sure if compatible with DSM 7

Describe the bug
Upon installation on DS1621+ running Beta DSM 7, receive Invalid file format. Please contact developer message.
To Reproduce
See above
Expected behavior
Installation to proceed
Logfiles

Hardware (Device on which you are running AirConnect-Synology):

  • DS1621+
  • DSM 7 Beta

Package (which package from the releases page have you downloaded):
0.2.43.0-20201229

Error obtaining description :Error = -108

Describe the bug

2023-11-19T17:51:31+08:00 DiskStation [17:51:31.391230] UpdateThread:824 Error obtaining description http://192.168.31.53:35763/upnp/dev/21065%2FB9S905195/desc -- error = -108
2023-11-19T17:51:52+08:00 DiskStation [17:51:51.599685] UpdateThread:824 Error obtaining description http://192.168.31.80:39938/upnp/dev/21065%2FA9NK65604/desc -- error = -108

To Reproduce

Steps to reproduce the behavior.

Expected behavior

A clear and concise description of what you expected to happen.

Logfiles

If applicable, add logfiles to help understand your problem.

Hardware

Device on which you are running AirConnect-Synology):

  • Synology NAS or Router model name: 918+
  • (optional) DSM Version DSM 6.2.3-25426 Update 3

Package

Which package from the releases page have you downloaded):

  • package name: AirConnect-x86-64-0.2.50.5-20210706.spk

Additional context

Add any other context about the problem here.

Failed to run

I have 4 Nest Minis on my network, still Synology resports the package can't be run and tells me to make sure I have at least one Chromecast device on my network. Any tips on how to debug this and get things running?

CastDevices disappear after some hours, usually on the next day.

Describe the bug
CastDevices disappear after some hours, usually on the next day.

To Reproduce
Just wait for a long time, usually next day.

Expected behavior
CastDevice should always be shown.

Logfiles

[2021-02-24 11:23:58] #### Start preuninst... ####
[2021-02-24 11:24:08] #### Done preuninst ####
[2021-02-24 11:24:08] #### Start postuninst... ####
[11:24:08] User "airconnect" found - deleting it
[11:24:12] "airconnect" user folder "/var/services/homes/airconnect" not found - nothing deleted
[2021-02-24 11:24:15] #### Done postuninst ####
[11:25:45] start-stop-status - Creating "airconnect" user.
[11:25:46] Starting AirConnect ...
[11:25:46] Starting airupnp on 192.168.5.18:49154
[11:25:46.555610] main:1415 Starting airupnp version: v0.2.43.1 (Jan 14 2021 @ 22:18:02)
[11:25:46.555727] main:1423 no config file, using defaults
[11:25:46.557413] Start:1127 Binding to 192.168.5.18:49154
[11:25:46] Starting aircast on 192.168.5.18
[11:25:46.563478] main:966 Starting aircast version: v0.2.43.1 (Jan 14 2021 @ 22:17:01)
[11:25:46.563597] main:974 no config file, using defaults
[11:25:46.563942] Start:727 Binding to 192.168.5.18
[11:25:46] AirConnect successfully started on ip "192.168.5.18"!
[11:25:46.612670] AddCastDevice:664 [0xfb3ff0]: adding renderer (Chromecast Audio)
[11:25:46.612754] AddCastDevice:670 [0xfb3ff0]: creating MAC fb3ffa
[11:25:46.613676] AddCastDevice:664 [0xfb4988]: adding renderer (Black Nest Mini)
[11:25:46.613731] AddCastDevice:670 [0xfb4988]: creating MAC fb4992
[11:25:49.027110] rtsp_thread:356 got RTSP connection 12
[11:25:49.027518] read_line:1219 disconnected on the other end 12
[11:25:49.027576] rtsp_thread:371 RTSP close 12
[11:25:49.028382] rtsp_thread:356 got RTSP connection 9
[11:25:49.028614] read_line:1219 disconnected on the other end 9
[11:25:49.028665] rtsp_thread:371 RTSP close 9
[11:25:52.040972] rtsp_thread:356 got RTSP connection 9
[11:25:52.041166] read_line:1219 disconnected on the other end 9
[11:25:52.041217] rtsp_thread:371 RTSP close 9
[11:25:52.041886] rtsp_thread:356 got RTSP connection 12
[11:25:52.042108] read_line:1219 disconnected on the other end 12
[11:25:52.042163] rtsp_thread:371 RTSP close 12
[22:06:14.743961] CheckAndLock:259 device is NULL
[22:06:14.744124] CheckAndLock:259 device is NULL
[22:06:14.744259] CheckAndLock:259 device is NULL
[22:06:14.744304] CheckAndLock:259 device is NULL
[22:07:08.833721] CheckAndLock:259 device is NULL
[22:07:08.833835] CheckAndLock:259 device is NULL
[22:07:08.833938] CheckAndLock:259 device is NULL
[22:07:08.834080] CheckAndLock:259 device is NULL
[22:08:08.413748] CheckAndLock:259 device is NULL
[22:08:08.413824] CheckAndLock:259 device is NULL
[22:08:08.413917] CheckAndLock:259 device is NULL
[22:08:08.414073] CheckAndLock:259 device is NULL
[04:33:04.941891] mDNSsearchCallback:535 [0xfb3ff0]: removing renderer (Chromecast Audio+) 0
[04:33:04.942297] DeleteCastDevice:512 [0xfb3ff0]: Cast device stopped
[04:33:09.051530] rtsp_thread:356 got RTSP connection 12
[04:33:09.051733] read_line:1219 disconnected on the other end 12
[04:33:09.051799] rtsp_thread:371 RTSP close 12
[04:33:47.393761] AddCastDevice:664 [0xfb3ff0]: adding renderer (Chromecast Audio)
[04:33:47.393859] AddCastDevice:670 [0xfb3ff0]: creating MAC fb3ffa
[04:33:47.393997] mDNSsearchCallback:535 [0xfb3ff0]: removing renderer (Chromecast Audio+) 1
[04:33:47.394305] DeleteCastDevice:512 [0xfb3ff0]: Cast device stopped
[04:33:51.004528] rtsp_thread:356 got RTSP connection 8
[04:33:51.004761] read_line:1219 disconnected on the other end 8
[04:33:51.004831] rtsp_thread:371 RTSP close 8
[08:58:52.195839] mDNSsearchCallback:535 [0xfb4988]: removing renderer (Black Nest Mini+) 0
[08:58:52.196572] DeleteCastDevice:512 [0xfb4988]: Cast device stopped
[08:59:28.247738] AddCastDevice:664 [0xfb3ff0]: adding renderer (Black Nest Mini)
[08:59:28.247856] AddCastDevice:670 [0xfb3ff0]: creating MAC fb3ffa
[08:59:28.248001] mDNSsearchCallback:535 [0xfb3ff0]: removing renderer (Black Nest Mini+) 1
[08:59:28.248510] DeleteCastDevice:512 [0xfb3ff0]: Cast device stopped
[10:36:49.739628] AddCastDevice:664 [0xfb3ff0]: adding renderer (Black Nest Mini)
[10:36:49.739837] AddCastDevice:670 [0xfb3ff0]: creating MAC fb3ffa
[10:36:49.740093] mDNSsearchCallback:535 [0xfb3ff0]: removing renderer (Black Nest Mini+) 1
[10:36:49.740700] DeleteCastDevice:512 [0xfb3ff0]: Cast device stopped
[11:03:52.810809] AddCastDevice:664 [0xfb3ff0]: adding renderer (Black Nest Mini)
[11:03:52.810912] AddCastDevice:670 [0xfb3ff0]: creating MAC fb3ffa
[11:03:52.811050] mDNSsearchCallback:535 [0xfb3ff0]: removing renderer (Black Nest Mini+) 1
[11:03:52.811314] DeleteCastDevice:512 [0xfb3ff0]: Cast device stopped
[11:03:55.673754] AddCastDevice:664 [0xfb3ff0]: adding renderer (Black Nest Mini)
[11:03:55.673836] AddCastDevice:670 [0xfb3ff0]: creating MAC fb3ffa
[11:03:55.673968] mDNSsearchCallback:535 [0xfb3ff0]: removing renderer (Black Nest Mini+) 1
[11:03:55.674626] DeleteCastDevice:512 [0xfb3ff0]: Cast device stopped
[12:32:42.733069] CheckAndLock:259 device is NULL
[12:32:42.733176] CheckAndLock:259 device is NULL
[12:32:42.733292] CheckAndLock:259 device is NULL
[12:32:42.733435] CheckAndLock:259 device is NULL

Hardware (Device on which you are running AirConnect-Synology):

  • Synology NAS DS918+, Asus RT-AC86U
  • DSM 6.2.3-25426 Update 3

Package (which package from the releases page have you downloaded):

  • package name: AirConnect-x86-64-0.2.43.1-20210119.spk

Additional context
I have two devices, one Nest Mini and one Chromecast Audio. I found if I do not use both of them, all will be disappeared on the next day. If I keep using Nest Mini, I find it is still there on the next day, but Chromecast Audio is disappeared.

I have to stop the spa in NAS and start it again, and both will work for around one day.

I tried enable multicast routing in Asus router, it won't help at all. These are the settings:

Use DHCP routes: Microsoft (there is RFC3442 option to choose)
Enable multicast routing: Enable
Default IGMP version: IGMP v3 (have v1 and v2 to choose)
Enable Fast Leave: Disable
UDP Proxy (Udpxy): [empty]

I tried to restart Chromecast Audio, but I still can't see its Airplay counterpart.

Limit to Non-AirPlay2 enabled Sonos Models

Thank you for your work packaging this up for Synology. You made it dead simple to setup and get working out of the box.

Im wondering if its possible to configure the package to start with the ./airupnp -o S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120 option to remove all of the Sonos that already have the AirPlay 2 enabled?

Update build process for AirConnect to support newer version (use GitHub Actions Workflows)

Is your feature request related to a problem? Please describe

The developer of AirConnect changed the way the binaries are published. We need to change our build process to be able to build new AirConnect versions. They are only available in the github releases zip file, with all the other source files. We need to download the zip file, extract all relevant binaries, use these binaries for our build steps and afterwards delete all files including the downloaded zip file.

Describe the solution you'd like

Test https://github.com/marketplace/actions/release-downloader and perhaps https://github.com/marketplace/actions/download-workflow-artifact to get the latest release in ci step. After that, automatically test and publish a new release here in this repo.

Describe alternatives you've considered

.

Additional context

Also add https://github.com/marketplace/actions/action-shellcheck and use checkout to build packages

and one of these:

elgohr/Github-Release-Action
marvinpinto/action-automatic-releases
softprops/action-gh-release
ncipollo/release-action

Not able to start

Screen Shot 2020-05-16 at 20 47 29

Installed AirConnect-x86-64-0.2.25.0-20200511.spk on DS216+II, but failed to start with attached error. Seems like complaining no device found on the same network. However, my sonos play 1 is running at same network. And I can access http://192.168.1.xx:1400/support/review to see identification. Please help, thanks.

AirConnect shows manually stopped after installation and press start

Download AirConnect-dsm7-x86_64-static-1.2.2-20231001 and installed on my Synology DS718+

After installation AirConnect didn't started. When I press 'Start' it do show started but turn down after few seconds which shows manually stopped.

I have 1 Sonos bean paired with 2 'play 1' it works with airplay2 on ios system. But I have another 'play 1' connected to wifi which would like to use airplay by AirConnect.

Pls kindly let me know how to fix it and what happened.

The package service could not be executed (Der Paketdienst konnte nicht ausgeführt werden)

Hi,
I try to run the current version AirConnect-x86-64-0.2.43.1-20210119.spk on my NAS DS1819+ first with no success.
After installation I get the message that the package service could not be executed.
I checked it also on my second NAS DS1815+ with the same result.

image

root@GNAS02:/var/log/packages# cat AirConnect.log 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 Begin /bin/rm -rf /volume1/@appstore/AirConnect 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 End /bin/rm -rf /volume1/@appstore/AirConnect ret=[0] 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 Begin /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/AirConnect 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 End /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/AirConnect ret=[0] 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 Begin /bin/rm -rf /var/packages/AirConnect 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 End /bin/rm -rf /var/packages/AirConnect ret=[0] 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 Begin /bin/mkdir -p /var/packages/AirConnect 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 End /bin/mkdir -p /var/packages/AirConnect ret=[0] 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 Begin /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/AirConnect/INFO 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 End /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/AirConnect/INFO ret=[0] 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 Begin /bin/rm -rf /var/packages/AirConnect/scripts 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 End /bin/rm -rf /var/packages/AirConnect/scripts ret=[0] 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 Begin /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/AirConnect/scripts 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 End /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/AirConnect/scripts ret=[0] 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 Begin /bin/rm -rf /var/packages/AirConnect/conf 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 End /bin/rm -rf /var/packages/AirConnect/conf ret=[0] 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 Begin /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/AirConnect/conf 2021/03/06 20:53:16 install AirConnect 0.2.43.1-20210119 End /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/AirConnect/conf ret=[0] 2021/03/06 20:53:17 install AirConnect 0.2.43.1-20210119 Begin /bin/rm -rf /volume1/@tmp/pkginstall 2021/03/06 20:53:17 install AirConnect 0.2.43.1-20210119 End /bin/rm -rf /volume1/@tmp/pkginstall ret=[0] 2021/03/06 20:53:18 install AirConnect 0.2.43.1-20210119 Begin start-stop-status start 2021/03/06 20:53:18 install AirConnect 0.2.43.1-20210119 End start-stop-status start ret=[1] 2021/03/06 20:53:18 (system) trigger AirConnect 0.2.43.1-20210119 Begin start-stop-status stop 2021/03/06 20:53:18 (system) trigger AirConnect 0.2.43.1-20210119 End start-stop-status stop ret=[1] 2021/03/06 21:02:06 start AirConnect 0.2.43.1-20210119 Begin start-stop-status start 2021/03/06 21:02:06 start AirConnect 0.2.43.1-20210119 End start-stop-status start ret=[1] 2021/03/06 21:02:06 (system) trigger AirConnect 0.2.43.1-20210119 Begin start-stop-status stop 2021/03/06 21:02:06 (system) trigger AirConnect 0.2.43.1-20210119 End start-stop-status stop ret=[1]

2021/03/06 20:53:17 install AirConnect 0.2.43.1-20210119 successfully 2021/03/06 20:53:17 install AirConnect: begin to start version 0.2.43.1-20210119 2021/03/06 20:53:17 install AirConnect 0.2.43.1-20210119 Begin pre-load apparmor 2021/03/06 20:53:17 install AirConnect 0.2.43.1-20210119 End pre-load apparmor ret=[0] 2021/03/06 20:53:18 install AirConnect 0.2.43.1-20210119 Begin start-stop-status start 2021/03/06 20:53:18 install AirConnect 0.2.43.1-20210119 End start-stop-status start ret=[1] 2021/03/06 20:53:18 (system) trigger AirConnect 0.2.43.1-20210119 Begin start-stop-status stop 2021/03/06 20:53:18 (system) trigger AirConnect 0.2.43.1-20210119 End start-stop-status stop ret=[1] 2021/03/06 20:53:18 (system) trigger AirConnect 0.2.43.1-20210119 Begin unload apparmor 2021/03/06 20:53:18 (system) trigger AirConnect 0.2.43.1-20210119 End unload apparmor ret=[0] 2021/03/06 20:53:19 stop AirConnect: begin to stop version 0.2.43.1-20210119 2021/03/06 20:53:19 stop AirConnect: stop version 0.2.43.1-20210119 successfully, result 0 2021/03/06 20:53:19 install AirConnect: start version 0.2.43.1-20210119 failed, result 272

I run Virtual Machine Manager and Docker on both boxes may that helps ?
Do you need any additional information ?
Many thanks in advance.
DS1819+ & DS1815+ DSM 6.2.3-25426 Update 3 with some Sonos & two Chromecasts devices on my network

aircast doesn't use configuration file

Describe the bug

aircast doesn't use configuration file at /volume1/airconnect/config-cast.xml

To Reproduce

Create reference configuration file. Change reference config, e.g. disable device. Restart package. Disabled device is still accessible.

Expected behavior

aircast respects configuration file from /volume1/airconnect/config-cast.xml

Logfiles

2021-11-27T19:48:52+01:00 DS214play [19:48:52] Starting AirConnect ...
2021-11-27T19:48:52+01:00 DS214play [19:48:52] Linking airupnp configuration to "/volume1/@appstore/AirConnect/../../airconnect/".
2021-11-27T19:48:52+01:00 DS214play [19:48:52] Starting airupnp on 192.168.1.2:49154
2021-11-27T19:48:52+01:00 DS214play [19:48:52.525504] main:1420 Starting airupnp version: v0.2.50.5 (May 24 2021 @ 15:14:20)
2021-11-27T19:48:52+01:00 DS214play [19:48:52.529594] Start:1130 Binding to 192.168.1.2:49154
2021-11-27T19:48:52+01:00 DS214play [19:48:52] Linking aircast configuration to "/volume1/@appstore/AirConnect/../../airconnect/".
2021-11-27T19:48:52+01:00 DS214play [19:48:52] Starting aircast on 192.168.1.2
2021-11-27T19:48:52+01:00 DS214play [19:48:52.542213] main:974 Starting aircast version: v0.2.50.5 (May 24 2021 @ 15:13:00)
2021-11-27T19:48:52+01:00 DS214play [19:48:52.546171] Start:732 Binding to 192.168.1.2
2021-11-27T19:48:52+01:00 DS214play [19:48:52] AirConnect successfully started on ip "192.168.1.2"!
2021-11-27T19:48:53+01:00 DS214play [19:48:52.866580] AddCastDevice:669 [0x930cd88]: adding renderer (Speakers)
2021-11-27T19:48:53+01:00 DS214play [19:48:52.866759] AddCastDevice:675 [0x930cd88]: creating MAC 930cd92
2021-11-27T19:48:53+01:00 DS214play [19:48:52.867368] bind_socket:791 socket binding 8 on port 46595
2021-11-27T19:48:53+01:00 DS214play [19:48:52.872282] AddCastDevice:669 [0x930d6f4]: adding renderer (Living Room TV)
2021-11-27T19:48:53+01:00 DS214play [19:48:52.872435] AddCastDevice:675 [0x930d6f4]: creating MAC 930d6fe
2021-11-27T19:48:53+01:00 DS214play [19:48:52.872819] bind_socket:791 socket binding 11 on port 56474

Hardware

  • DS214play
  • DSM 6.2.4-25556 Update 2

Package

AirConnect-x86-0.2.50.5-20210706.spk

Additional context

I suspect the problem is wrong symlinks in /volume1/@appstore/AirConnect/ . Both config.xml and config-cast.xml lead to the directory /volume1/@appstore/AirConnect/../../airconnect/ , not to the config files in that directory:
config-cast.xml -> /volume1/@appstore/AirConnect/../../airconnect/

Creating a proper symlink to xml files instead of directory fixes the problem:
config-cast.xml -> /volume1/@appstore/AirConnect/../../airconnect/config-cast.xml

Add support for Devialet UPnP speaker

As per the README file, here are the parameters necessary to add support for the Devialet Expert Pro product line:

<deviceType>urn:schemas-upnp-org:device:MediaRenderer:2</deviceType>
<friendlyName>Devialet Expert Pro 140</friendlyName>
<manufacturer>Devialet</manufacturer>
<manufacturerURL>https://www.devialet.com</manufacturerURL>
<modelDescription>The ultimate audiophile system</modelDescription>
<modelName>Expert 140 Pro</modelName>
<modelNumber>2.2.6</modelNumber>
<modelURL>https://www.devialet.com/expert-pro-audio-system</modelURL>

v1.0.13 Crashing on DS214Play/RS814 with DSM 7.1.1

I was running a v0.2xxx release ok, with the occasional restart needed. Initially just ran the upgrade to 1.0.13, from the DSM GUI, but airupnp stops immediately after it reports it has started. Have uninstalled, then reinstalled, but still crashes out.

using : AirConnect-dsm7-x86-static-1.0.13-20221216.spk

[11:08:44] Starting AirConnect ...
[11:08:44] Linking airconnect configuration to "/volume1/airconnect/airconnect.conf".
[11:08:44] Linking airupnp configuration to "/volume1/airconnect/config.xml".
[11:08:44] Starting airupnp on 10.1.1.10:49154
[11:08:44] AirConnect successfully started on ip "10.1.1.10"!
[11:08:49] Status: airupnp not running!

Starting and stopping playback takes very long time to start

Describe the bug

After selecting the SONOS Play 1 box in Apple Music and starting the playback it takes between 15-20 seconds until the music starts or stops.

To Reproduce

  1. Select SONOS player in the Apple Music App
  2. Play music

Expected behavior

The playback should start or stop at least 2-5 seconds later

Hardware

Device on which you are running AirConnect-Synology):

  • Synology NAS or Router model name: DS716+II
  • DSM Version: DSM 7.1.1-42962 Update 6

Package

Which package from the releases page have you downloaded):

  • package name: AirConnect-dsm7-x86_64-1.1.7-20230815.spk

Thank you for the good work!

AirConnect package can't start

I am having a problem where AirConnect fails to start. Here is a startup/shutdown cycle from the log file.

[23:56:24] Starting aircast on 172.16.0.11
[23:56:24.013382] main:951 Starting aircast version: v0.2.27.0 (Aug 3 2020 @ 11:16:54)
[23:56:24.013552] main:959 no config file, using defaults
[23:56:24.013942] Start:715 Binding to 172.16.0.11
[23:56:24.014271] Start:720 Cannot load SSL libraries
[23:56:24.014306] main:992 Cannot start
[23:56:24] Searching if renderer were added (for 10 seconds)...
[23:56:24.055522] Start:1103 Binding to 172.16.0.11:49154
[23:56:24.055836] Start:1108 Cannot load SSL libraries
[23:56:24.057442] main:1426 Cannot start
[23:56:34] Failed to start AirConnect on ip "172.16.0.11", stopping it...
[23:56:34] Stopping AirConnect ...

This is the error that's visible is the DSM.

Screen Shot 2020-09-02 at 12 07 35 AM

Thanks in advance!

"Cannot load SSL libraries" error on DS218+ (apollolake)

Describe the bug
Firstly many thanks for taking this project on! The package is installed correctly on my DS218+, but doesn't start. When clicking on "Run" in the Package Center - the window is greyed out for a bit but the package does not start. Examining the logs shows a "Cannot load SSL libraries" error.

To Reproduce
Install AirConnect-x86-64-0.2.43.0-20201229.spk from the Package Center GUI.
Click on Run.

Expected behavior
Expected the package to start.

Logfiles

[11:19:33] Starting AirConnect ...
[11:19:33] Starting airupnp on 192.168.1.252:49154
[11:19:33.094113] main:1415 Starting airupnp version: v0.2.43.1 (Jan 14 2021 @ 22:17:58)
[11:19:33.094225] main:1423 no config file, using defaults
[11:19:33] Starting aircast on 192.168.1.252
[11:19:33.102690] main:966 Starting aircast version: v0.2.43.1 (Jan 14 2021 @ 22:16:55)
[11:19:33.102870] main:974 no config file, using defaults
[11:19:33.103201] Start:727 Binding to 192.168.1.252
[11:19:33.103395] Start:732 Cannot load SSL libraries
[11:19:33.103788] main:1007 Cannot start
[11:19:33] AirConnect successfully started on ip "192.168.1.252"!
[11:19:33.150209] Start:1127 Binding to 192.168.1.252:49154
[11:19:33.150427] Start:1132 Cannot load SSL libraries
[11:19:33.151835] main:1456 Cannot start

Hardware (Device on which you are running AirConnect-Synology):

  • Synology NAS or Router model name: DS218+
  • DSM Version: DSM 6.2.3-25426 Update 3

Package (which package from the releases page have you downloaded):

  • package name: [e.g. AirConnect-x86-64-0.2.43.0-20201229.spk or the url]

Thanks again!

Please Add Support For Samsung HW-N950

Please add support for Samsung HW-N950 soundbar to airupnp.

I can confirm that airupnp works very well when run manually from command-line without any model name filters, but the model details needs to be added to the Synology package.

Relevant output from upnp announce as follows:

    <modelDescription>Samsung SOUNDBAR DMR</modelDescription>
    <modelName>HW-N950</modelName>
    <modelNumber>AllShare1.0</modelNumber>

can not use in ds916

I install the program in GUI successfully,i it doesn't work.
Until I in ssh mode, and input

cd /volume1/@appstore/AirConnect
./aircast

then, it work!

but, how can I use in ever reboot automatic without ssh a command?

and

Will support airplay2 in future?

static version or not?

Is your question related to a problem? Please describe

NO

Describe the solution you'd like

is static version different to non-static version? I can install both of them and work normally, so can anyone explain what the difference they are? Thank you.

[BUG] Detection if renderer were added does not work as expected

Describe the bug
The detection if a new renderer (speaker) were added in the first 10 seconds after startup of airupnp/aircast is not working as expected. The validation if the logfile contains the string "adding renderer" is not really good and leads to errors if the logfile is already a bit older. This should definitely be adjusted in the next versions.

Logfiles
/var/log/airconnect.log

[FEATURE] Improvement of the access to the log files

For most users of the package, especially beginners, the only reason to connect to the NAS via SSH is to view the log files. A solution for this should be worked out if possible.

Using Synology Log Center? Is it possible to pass the log files to the Synology Log Center in a standardized way (without syslog)?

Storage of the logfiles within a standardized share? (/volume1...) to make them available via File Station? The share could also be created during the installation.

Other ideas?

can't run AirConnect on Synology

I tried to install the packages AirConnect-dsm7-arm-1.0.13-20221216.spk or even AirConnect-dsm7-arm-static-1.0.13-20221216.spk on my Synology 218j with DSM 7.0-41890. The installation is fine but the app does not start. Maybe I use a wrong package?

Thanks and BR

AirConnect running on DS412+ tagetting to Onkyo AV TX-N

Hello,

I've tried to use this nice piece of software, but unfortunately i can't see the AirCast server from my daughter iPad.

Here is my setup :

iPad >>> Syno DS412+ running AirCast and AirUPnP as daemon >>> Gigabit home LAN >>> Onkyo TX-NR3009

Everything seems to work OK but however on iPad connected to 2.4GHz wifi LAN i can't see AirCast server.
Maybe the AirCast doesn't detect the Onkyo ?

Onkyo is set on Net > DLNA input

Any idea how should i proceed ?

Thanks in advance !

AirConnect does not work on DS214se (DSM7)

I recently upgraded my old but well-running DS214se from an outdated DSM 5 to the latest version of DSM 7.1.1. Full cleanup of the well-running old version of AirConnect and installing the latest build (also trying the static version: AirConnect-dsm7-arm-static-1.7.0-20240115.spk) did not help. The package cannot be started, after a starting attempt it always reverts to inactive. Executing the airupnp binary from a root account via SSH reveals the possible problem. I get the error msg:
FATAL: kernel too old
Illegal instruction: core dumped
Can anything be done here?
Many thanks,
Kay

Cleanup airconnect.log log file during startup

Describe the bug

See: #79 (comment)

The log file grows and will never be deleted. Check it during startup, and clean it up.

To Reproduce

Steps to reproduce the behavior.

Expected behavior

A clear and concise description of what you expected to happen.

Logfiles

If applicable, add logfiles to help understand your problem.

Hardware

Device on which you are running AirConnect-Synology):

  • Synology NAS or Router model name: [e.g. ds415+]
  • (optional) DSM Version [e.g. DSM 6.2.3-25426 Update 3]

Package

Which package from the releases page have you downloaded):

  • package name: [e.g. AirConnect-x86-64-0.2.43.0-20201229.spk or the url]

Additional context

Add any other context about the problem here.

[FEATURE] Support for DS1821+ and DS1621+

Support for the following new AMD based NAS system should be integrated/tested:

Model CPU Model Cores Threads FPU Package Arch RAM
DS1821+ AMD Ryzen V1500B Quad Core 8 Yes V1000 DDR4 ECC SODIMM 4GB
DS1621+ AMD Ryzen V1500B Quad Core 8 Yes V1000 DDR4 ECC SODIMM 4GB

airconnect.conf inaccessible

I'm using the ARM package on DS216j with DSM 7.0.1-42218.

The access rights for airconnect.conf were to only allow read access for all users but "Airconnect". So it was not possible to use the symlink in volume1/airconnect to edit the file via a share. Changing the access rights to e.g. 666 solved this.

SMB on Synology by default doesn't support following symlinks. So the documentation might need a hint to activate this in SMB=>Enhanced Settings=>Others (both options are required)

Now I can edit the configuration with windows.

Thank you for a great package.

Update AirConnect to 1.x.x

Is your feature request related to a problem? Please describe

Nope

Describe the solution you'd like

A fully refactored version of AirConnect was released. Testing and packaging is needed.
Update to 1.0.1 or newer version will be planed.

Describe alternatives you've considered

None

Additional context

https://github.com/philippe44/AirConnect/releases

Install issue with AirConnect-x86-64-0.2.50.5-20210826

Describe the bug

Package installs but fails to run with an error message

Screen Shot 2021-11-05 at 11 08 44 PM

## To Reproduce Manuall install from download

Expected behavior

Should run after install

Logfiles

If applicable, add logfiles to help understand your problem.

Hardware

Device on which you are running AirConnect-Synology):

  • Synology NAS ds415+
  • (optional) DSM Version [e.g. DSM 6.2.4-25556 Update 2]

Package

Which package from the releases page have you downloaded):

  • package name: `AirConnect-x86-64-0.2.50.5-20210826.spk

Additional context

Do I need to create the config file, or setup some kind of permissions for this to run

Sometimes stable, sometimes not

I have been using this plugin for a week or so now and it does not always seem stable. Sometimes AirPlay plays for hours, sometimes it’s stops after an hour or 2 or less. I then have to restart the plugin and restart the audio.

AirPlay does seem to be stable when used from my iPhone and my Google speakers play the entire day when playing from the built in services like tune in, so I guess it’s not my wifi.

Any thoughts?

New Device

Please add this player to the supported list. It's a frontier silicon based internet radio. No native airplay.

urn:schemas-upnp-org:device:MediaRenderer:1 Some Name Adition http://www.frontier-silicon.com ir-mmi-FS2026-0500-0748_V2.14.19c3.EX73616-1A23 Fitzwilliam Fitzwilliam http://www.frontier-silicon.com 120a170e33171f270101cc00ffffc9ff uuid:3DCC7100-F76C-11DD-87AF-0022618C9BEC

Integrate Auto-Update of package

Hi,

first thanks at all, that you continue the project. Just two questions:

If everything is working well (release notes of AirConnect are very silent), why should I update from the latest version? Are there any security issues?

As in addition and a bit more important depending on your answer: I can enable auto-update of the packages, as you're really regular releasing (once again, many thanks for you effort), can/how can I let your package auto-update as well on Synology?

Regards
Christian

Video Support

Hi there,

I was wondering if it would be possible to integrate also video für UPNP and Chromecast.

Currently, by using AirConnect with Chromecast capable apps (e.g. Youtube / Youtube Music), common Chromecast Devices are shown but no longer seperated but only through AirConnect. It would be nice to still being able to use those Chromecast native apps but also having support for it in Airplay-only Apps.

Cheers,
Matt

No sound when playing music on Huawei sound

Is your question related to a problem? Please describe

After starting airconnect, I can search for Huawei sound normally and use airplay to push music to Huawei sound, but there is no sound. After clicking the play button for a few seconds, the concert is paused. After a few consecutive starts, the playback is no longer paused, but there is still no sound; I tested Xiaomi's Xiaoai sound pro without this problem and can play the sound normally; I grabbed some logs separately, but I can't locate the problem, I hope you can help me locate it; thank you!

Describe alternatives you've considered

I wonder if Huawei sound has restrictions on Apple's products, or is it because Huawei sound detects that it is an Apple device and refuses to play sound? I don't know the internal processing mechanism, I just guess;

Additional context

The log of Huawei sound playing music:
airconnect-HuaWei_sound.log
The log of XiaoAi sound playing music:
airconnect-XiaoAi_sound.log
Huawei Sound and Xiaoai Sound play music logs:
airconnect-both.log

Device model:DS3615xs
DSM version:DSM 6.1.7-15284
Airconnect version:AirConnect-x86-64-0.2.50.5-20210826.spk
Download url:https://github.com/eizedev/AirConnect-Synology/releases/tag/0.2.50.5-20210826

Chromecast Volume

Hello,

I just have a little issue with the volume, each time the cast begin the volume is low.
Maybe I'm missing something ?

I see this when the stream starts :

[17:06:15.188453] handle_rtsp:363 [0x7f2ba4013fd0]: received SET_PARAMETER
[17:06:15.188475] handle_rtsp:528 [0x7f2ba4013fd0]: SET PARAMETER volume -20.000000
[17:06:15.188489] CastSetDeviceVolume:299 [0x1150ac0]: Queuing SET_VOLUME
[17:06:15.188499] raop_cb:227 [0x1150ac0]: Volume[0..1] 0.3333
[17:06:15.188575] handle_rtsp:562 [0x7f2ba4013fd0]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 7

So, I generated a config file for aircast and set <media_volume>1</media_volume>, because I saw that this could help but nothing changes.
(Seeing in the logs that "[17:04:11.321656] main:891 no config file, using defaults" not displaying anymore so the confilg file seems to be processed)

Target devices are Nest Hubs and Nest Audios.

Could you help me with this ?

Thanks !!!

it not support huawei sound

huawei sound or sound x support DLNA; DSM install airconnect can not find huawei sound device; xiaomi sound is ok; can you support it? thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.