Closed nlights closed 4 years ago
Hi @nlights let's give it a try. Don't know exactly if ppc32 is supported. ppc(64) in general is supported. Can you please test this package on your DS213+? https://github.com/eizedev/AirConnect-Synology/releases/download/0.2.25.0-20200504/AirConnect-ppc-0.2.25.0-20200504.spk If it's working i can add it to the current and future releases.
Hi @eizedev! Thanks for the qick reply and the effort! I can install the package, but if I run it I get the following error:
Failed to run the package service. Failed to start AirConnect on ip "XXX.XXX.XXX.XXX", stopping ist...
I attached the package and the application logfile. application_airconnect.log package_AirConnect.log
[17:12:02.853295] main:1377 Wrong GLIBC version, use -static build
Wrong glibc version. The ppc version from AirConnect ist Not compatible with your ppc32 architecture from the ds213+. Hmm, we could try Building the AirConnect binary manually on your NAS, but i think the best way is to Open an issue at the official AirConnect Repo if he could Build the binary and include it into the Release.
I am currently writing from my phone. I will Open an issue later on. (Of course, you could also open this issue there.)
@nlights Next Try: Please download the spk with the static build binaries for airupnp and aircast, upload it to your NAS and give it a try. https://github.com/eizedev/AirConnect-Synology/releases/download/0.2.25.0-20200504/AirConnect-static-0.2.25.0-20200506.spk
If this package is working for you, i will add a general release for this.
Thank you very much for the effort! But this package can't even be installed.
@nlights Ah, damn, I'm sorry. I put the wrong architecture in the package for the static binaries. Please test it again with the newly uploaded package. If that doesn't work we really need 1 binary for aircast and 1 binary for airconnect for the PPC platform.
AirConnect-static-0.2.25.0-20200508.spk
If you do not need the ppc package for streaming to chromcast i could also build a new package only with airupnp. @philippe44 just uploaded a static binary of airupnp for the ppc platform.
I have also changed the readme section to explain in detail which package should/can be used for which system.
Thanks once again for the effort! Same error:
Failed to run the package service. Failed to start AirConnect on ip "XXX.XXX.XXX.XXX", stopping ist...
PS.: I would only need airupnp.
New logs attached: 2020-05-08_package_AirConnect.log 2020-05-08_application_airconnect.log
That log does not tell me enough
@nlights
The log does not show up the needed information (the airconnect log should point to an error during startup of aircast/airupnp binary, but it looks like that you have removed these line by mistake?).
But thats not a problem, I have now integrated both binaries, aircast-ppc-static
and airupnp-ppc-static
into a new package.
Please test this one AirConnect-ppc-static-0.2.25.0-20200508.spk.
Thanks again! This package is installed now and it runs without an error 👍 Unfortunately playing music wont work: I can choose the speaker, but then an error an my iPhone tells me that the connection is not possible. I attached a screenshot an the application log, I can find a reason there. Is there a place where I can search for more information, an other log file for example? PS.: Running on my windows desktop the playback works without problems.
@nlights There you go :) Well, the log looks good to me so far. The various Sonos players and your foobar2000 installation are found.
The song you play and the volume change (0x10295400 = Schlafzimmer) is also recognized and passed on. As far as I can tell it looks good.
[15:50:41] Starting AirConnect ...
[15:50:41] Starting airupnp on 192.168.x.x:49154
[15:50:41.145362] main:1374 Starting airupnp version: v0.2.25.0 (May 3 2020 @ 17:42:03)
[15:50:41.145656] main:1382 no config file, using defaults
[15:50:41.150084] Start:1099 Binding to 192.168.x.x:49154
[15:50:41] Starting aircast on 192.168.2.3
[15:50:41.165011] main:945 Starting aircast version: v0.2.25.0 (May 3 2020 @ 17:41:16)
[15:50:41.165225] main:953 no config file, using defaults
[15:50:41.165553] Start:712 Binding to 192.168.x.x
[15:50:41] Searching if renderer were added (for 10 seconds)...
[15:50:41] At least one renderer successfully discovered!
[15:50:41] AirConnect successfully started on ip "192.168.x.x"!
[15:50:41.201343] AddMRDevice:987 [0x10295400]: adding renderer (Schlafzimmer)
[15:50:41.209114] MasterHandler:655 [0x10295400]: subscribe success
[15:50:41.234670] AddMRDevice:987 [0x10297840]: adding renderer (AZ XXXXXX)
[15:50:41.237642] MasterHandler:655 [0x10297840]: subscribe success
[15:50:41.550653] AddMRDevice:987 [0x10299c80]: adding renderer (AZ XXXX)
[15:50:41.559845] MasterHandler:655 [0x10299c80]: subscribe success
[15:50:41.630004] AddMRDevice:987 [0x1029c0c0]: adding renderer (WZ Symfonisk)
[15:50:41.633309] MasterHandler:655 [0x1029c0c0]: subscribe success
[15:50:41.715491] AddMRDevice:985 [0x1029e500] skipping Sonos slave Bad
[15:50:41.726038] MasterHandler:655 [0x1029e500]: subscribe success
[15:50:41.765326] AddMRDevice:987 [0x102a0940]: adding renderer (K..che)
[15:50:41.777472] MasterHandler:655 [0x102a0940]: subscribe success
[15:50:43.187627] AddMRDevice:987 [0x102a2d80]: adding renderer (foobar2000 Renderer (XXX) [XXX])
[15:50:43.199445] MasterHandler:655 [0x102a2d80]: subscribe success
...
[15:51:17.161049] search_remote_cb:629 [0x4db11af0]: found ActiveRemote for 7CF33D6A1B305236 at 192.168.2.72:54146
[15:51:17.231710] handle_rtsp:392 [0x4db11af0]: received SET_PARAMETER
[15:51:17.231821] handle_rtsp:576 [0x4db11af0]: received metadata
artist: Umse, Nottz & Megaloh
album: Uno
title: Alles reduziert
[15:51:17.231907] handle_rtsp:591 [0x4db11af0]: responding:
RTSP/1.0 200 OK
...
[15:51:17.685309] AVTSetURI:91 [0x10295400]: uPNP setURI http://192.168.x.x:44708/stream.flc (cookie 0x2)
[15:51:17.686014] AVTPlay:151 [0x10295400]: uPNP play (cookie 0x3)
After playing your music on Airplay, did you check the Sonos app to see if it was playing and the volume was correct? Have you tried turning WLAN & Bluetooth off and on again?
Besides, the Synology package itself seems to work, so i can include the ppc-static package in the next releases. (Found some small bugs in the upgrade process in the current release, so a new release will be coming in the next few days).
@philippe44 Can you take a look at the log for a moment? Maybe you still see a problem?
@nlights I have published a new release which also includes the ppc-static
binaries. For your package, it is only a bugfix release (mainly problems during the upgrade process were fixed).
You can find the new package in the release section: https://github.com/eizedev/AirConnect-Synology/releases/tag/0.2.25.0-20200511
I don't know why there is an issue with AirPlay, everything seems to be working fine according to the logs
Hey there, thanks for your efforts and sorry for me taking so much time to answer...
I needed some time to try things out but still I'm facing the same issue: Installation works, my iPhone finds my speakers. After chosing one of them for Airplay nothing happens for a moment (especially no music 😉) and then I get an error for the speaker in the Sonos controller running on my desktop (title does not have the right encoding? Error is in german...) and a short time after this on my iPhone. Afterwards I can no longer find the speakers on my iPhone until I restart AirConnect on the Synology NAS. I restartet the NAS, still the same effect. Running AirConnect on my Desktop works like a charm (of course its not running when I try to use AirConnect on the NAS).
I attached the errors from the Sonos controller and my iPhone and again the logs from my NAS - I can't find any cause for this behaviour - maybe I have to get an raspberry pi as an alternative.
2020-05-20_application_airconnect.log 2020-05-20_package_AirConnect.log
hmm.. strange. It could possibly a firewall issue on your DS? do you have activated the firewall there? Are you using IGMP Snooping? Also please take a look at these topics:
https://github.com/philippe44/AirConnect/issues/246
https://github.com/philippe44/AirConnect/issues/213
https://github.com/philippe44/AirConnect/issues/222
Since it works on your Windows system and the logs from AirConnect look good on your NAS, there must be a difference in networking between your NAS and your PC. Any thoughts on that?
Have you tried another sonos speaker? (i think so but i just wanted to make that clear) Your bathroom speaker for example? (Bad+) In the logfile i only see log entries for "AZ ...".
The error from the windows sonos controller that the "Song Not Encoded Properly" confuses me, flac should be no problem. From what source are you trying to stream? EDIT: Due to some forum posts, the intermittent 'not encoded correctly' errors are almost certainly due to packet/connection loss, i.e. a network problem rather than a format problem.
It does not look like an issue with the synology package at all. @philippe44 Do you have any other ideas?
Have you build a config file or is this the default?
@philippe44
He is using the defaults from the synology package as i can see in his logfile, he has not created the config files:
...
[18:28:24] Starting airupnp on 192.168.2.x:49154
[18:28:24.870926] main:1374 Starting airupnp version: v0.2.25.0 (May 3 2020 @ 17:42:03)
[18:28:24.871270] main:1382 no config file, using defaults
[18:28:24.875556] Start:1099 Binding to 192.168.2.x:49154
[18:28:24] Starting aircast on 192.168.2.x
[18:28:24.893087] main:945 Starting aircast version: v0.2.25.0 (May 3 2020 @ 17:41:16)
[18:28:24.893395] main:953 no config file, using defaults
[18:28:24.895913] Start:712 Binding to 192.168.2.x
...
The synology package itself is using the following startup commands:
/volume1/@appstore/AirConnect/airupnp -b [synology device local ip]:49154 -l 1000:2000 -x "/volume1/@appstore/AirConnect/config.xml" -z -f "/var/log/airconnect.log" -d all=info
/volume1/@appstore/AirConnect/aircast -b [synology device local ip] -l 1000:2000 -x "/volume1/@appstore/AirConnect/config-cast.xml" -z -f "/var/log/airconnect.log" -d all=info
@nlights Any new information?
Hey there, still no difference. I tried all the other Sonos Players: same outcome. After traying some of them all entries for the AirConnect Airplay Devices are gone - until I restart AirConnect on the Synology NAS. Synology firewall is not activated, I stoppeg other running packages (DokuWiki). My network topology is attached, I found no information that I use IGMP spoofing, the Netgear switch is unmanaged. Is IGMP spoofing a good or a bad thing for AirConnect? My network topology is attached (https://t1p.de/yf85): 2020-06-10_application_airconnect.log
I found AirConnect-ppc-static-0.2.26.1-20200528.spk and upgraded to this version. Now AirConnect stops after I try to Airplay to a Sonos speaker. Afterwrds I have to start AirConnect again via Synology DSM. 2020-06-10_application_airconnect_2.log
@nlights Strange, it looks like the airupnp service is crashing for some reasons. (last few log lines). Aircast is running fine.
Perhaps you could check /var/log/messages
for errors of airupnp why it is stopping/crashing? There should be some log entries after you start the playback and airupnp is crashing. Please restart the service before starting the playback and running this command to check the logfile for problems:
Command: grep airupnp /var/log/messages
If you get any entries please upload/post them here.
Unfortunately I have no more ideas what the problem could be, sorry.
@philippe44 You got any more ideas?
@nlights Any news here?
I will close this issue here for now. If you (or another person) still has problems we can discuss this further. I don't think it's a problem of the Synology package in general, this is more a local networking or an AirConnect related issue.
Hello! I would love to use AirConnect-Synology on my DS213+. But the architecture is not supported, the DS213+ uses a Freescale P1022. I found an AirConnect bin for PPC (https://github.com/philippe44/AirConnect/blob/master/bin/airupnp-ppc). Could this be used for an appropriate Synology package? Thank you very much!