Discussion:
[SlimDevices: Plugins] ANNOUNCE: AirPlay Bridge = integrate AirPlay devices with LMS (squeeze2raop)
philippe_44
2016-02-16 05:22:35 UTC
Permalink
After lots of tests and help (especially from epoch, thanks!) I can
release a first version of a new bridge that allows AirPlay devices to
be used as is they were regular LMS players. Compared to my other
bridges, it brings replaygain, gapless, fading (in/out/cross) and ...
what was the most important for me: synchronization with other LMS
players.


- It does decode mp3, flac, aac, pcm and aif, do the resample and then
send the audio in the AirPlay expected format.
- It consumes 5~7% of CPU for a raspi 2B per active AirPlay device
- There are Windows, Linux x86 (32 and 64 bits) and ARM, OSX
- It can run on LMS or on another computer on your network (for
example you can dedicate a raspi as the bridge and forget about it)
- You need to add firewall rules to let squeeze2raop (-win or -x86 or
-x86_64 or -armv6hf) open the ports he needs (and they are dynamic).
In Windows, just set a rule to authorize squeeze2raop-win.exe (in the
plugin cache directory)


The stable repository is
http://iweb.dl.sourceforge.net/project/lms-plugins-philippe44/repo-sf.xml
and the dev one is
http://iweb.dl.sourceforge.net/projects/lms-to-raop/dev/repo-sf.xml

Once you have started the plugin, allow 15-60s for players to appear.
For synchronisation, you need to adjust once your player delay in the
LMS player settings (not in the plugin setting page). Once you have
found the right delay, it should be pretty stable (I never had to adjust
mine on my 2 players, they are 375ms) - I've added a quick manual ...
have a look at it

Other notes :
- If the player seems to be un-responsive, before
de-activating/re-activating the whole plugin, you can try to switch it
off then back on in LMS
- One of my player takes a lot of time to start playing (>5s and volume
changes interrupt playback - itunes gives the same result, so I assume
this is a player problem. So be patient if the volume does not comes
right after playback. Other players will start and when this one joins
the group, it will be in sync
- This is still early phase and was much more complicated than what I
was expecting at the begining, so please be patient with me :)



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-02-16 10:46:10 UTC
Permalink
Booohoohoohoooo... I've removed my dev install and now I get redirection
limit exceeded when I try any of the 2 repo urls :(
(so LMS always wants to restart to finish install and fails and asks
again for a restart...)

I messed about with things like "curl
http://iweb.dl.sourceforge.net/projects/lms-to-raop/dev/repo-sf.xml"
until I landed on the final redirection, in my case
"http://freefr.dl.sourceforge.net/project/lms-to-raop/dev/repo-sf.xml"
--as of right now. Don't try this URL.
But the problem is that your repo file contains a link to iweb for the
zip file...

Sourceforge is in a serious state of flux, shall we say...
Perhaps it's time to revert to manual install instructions?

I'll try again later, perhaps the weather will clear up a little bit.
But I thought I'd post in case others encounter an issue with
installing.



4 SB 3 • iPeng (iPhone + iPad) • Squeezebox Server 7.9 (linux) with
plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa • IRBlaster
by Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart
Mix, Music Walk With Me, What Was That Tune? by Michael Herger •
PowerSave by Jason Holtzapple • Song Info, Song Lyrics by Erland
Isaksson • WeatherTime by Martin Rehfeld • ShairTunes2 by disaster123 •
Local Player by Triode • Auto Dim Display, SaverSwitcher, ContextMenu by
Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
castalla
2016-02-16 13:35:07 UTC
Permalink
Using version 0.1.0.1 (no idea anymore if it's the stable or dev !!!) -
but still getting the sound loss after random time, with restart stream
recovering the sound.



Touch - Muse M50 EX TPA3123 T-Amp Mini - Acoustics Q10 speakers
Logitech Radio
Logitech UE Radio
O2 Joggler + SqpOS + Aune X2 T-amp + Mordaunt Short ms-3.40 speakers
UPnPBridge - 2 paired Sonos Play1 speakers
UPnPBridge - Rocki - Sony SRS-BTM8 speaker
UPnPBridge - Pioneer WX-SMA1 speaker
UPnPBridge - PURE One Flow internet radio
Castbridge - Chromecast 1 + Chromecast Audio
SB Player - Fire TV
------------------------------------------------------------------------
castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-02-16 14:19:29 UTC
Permalink
Something I did to find the "right" value of player audio delay: I
created an AIFF file with alternating 2secs L/R tones, for a total
length of 60 secs.
I set an SB3 to play only the right channel, [I wanted to do the
opposite with the software player but I always got both channels output]
I half-unplugged the audio cord on my Airport Express to output the left
channel only.
Then I synced the group, played the file in loop and fiddled with the
audio delay slider on the software player.
Until you reach the right value to your setup and ears, you'll hear a
silence gap and/or both sources at the same time.
To my surprise, the right value for this device was around 400ms (nearly
50ms higher than I thought)
I don't know what you think of the idea but if felt I needed some help
in assessing the right audio delay.



4 SB 3 • Libratone Loop mk.2 • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-02-17 03:08:49 UTC
Permalink
epoch1970 wrote:
> Something I did to find the "right" value of player audio delay: I
> created an AIFF file with alternating 2secs L/R tones, for a total
> length of 60 secs.
> I set an SB3 to play only the right channel, [I wanted to do the
> opposite with the software player but I always got both channels output]
> I half-unplugged the audio cord on my Airport Express to output the left
> channel only.
> Then I synced the group, played the file in loop and fiddled with the
> audio delay slider on the software player.
> Until you reach the right value to your setup and ears, you'll hear a
> silence gap and/or both sources at the same time.
> To my surprise, the right value for this device was around 400ms (nearly
> 50ms higher than I thought)
> I don't know what you think of the idea but if felt I needed some help
> in assessing the right audio delay.
>
> EDIT. Since we are knee-deep into psychoacoustics, another remark, but
> within the same post ;)
> I have 1 source to the left of a small room where I am sitting and 1
> source on the right, nearby. Speaker systems are *not* the same. Sync is
> perfect but I can feel the "stage" shifting from left to right (and
> back) from time to time. Yeah, I know that's scary... I think (not
> verified) this is related to 10ms player sync adjustment events within
> LMS. 10ms is the minimum value in the web interface. Is it possible to
> go lower?
> Please disregard if this doesn't make sense.

There is another option which is to indicate to LMS that each "sampling
point" are not 'fully' accurate and must be averaged out. This is an
option you can set when the player is being registered. The result is
probably that LMS will do adjustement more slowly but that would prevent
that effect from happening. Today, I can't do below 10ms as I'm using
"sample point" every 8 ms to LMS, so ther accuracy is +/-8ms. Again,
mean is centered but if you take every point for an accurate value, then
LMS might do shift a bit too often (you can see in the log that there
are often adjustement of "skip 441 frames = 441/44100 = 10ms)



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-02-17 06:25:57 UTC
Permalink
epoch1970 wrote:
> Booohoohoohoooo... I've removed my dev install and now I get redirection
> limit exceeded when I try any of the 2 repo urls :(
> (so LMS always wants to restart to finish install and fails and asks
> again for a restart...)
>
> Sourceforge is in a serious state of flux, shall we say...
> Perhaps it's time to revert to manual install instructions?
> (BTW, since I can't really live without the plugin, I started my test
> machine which still has dev-11... ]/QUOTE]
> My Bad ...
>
> > > > I noticed your sox magic does not seem to work with remote library
> > URLs.)> >
> I don't quite understand
>
> > > >
> > I have 1 source to the left of a small room where I am sitting and 1
> > source on the right, nearby. Speaker systems are *not* the same. Sync is
> > perfect but I can feel the "stage" shifting from left to right (and
> > back) from time to time. Yeah, I know that's scary... I think (not
> > verified) this is related to 10ms player sync adjustment events within
> > LMS. 10ms is the minimum value in the web interface. Is it possible to
> > go lower?
> > Please disregard if this doesn't make sense.> >
> There is another option which is to indicate to LMS that each
> "sampling point" are not 'fully' accurate and must be averaged out.
> This is an option you can set when the player is being registered. The
> result is probably that LMS will do adjustement more slowly but that
> would prevent that effect from happening. Today, I can't do below 10ms
> as I'm using "sample point" every 8 ms to LMS, so ther accuracy is
> +/-8ms. Again, mean is centered but if you take every point for an
> accurate value, then LMS might do shift a bit too often (you can see
> in the log that there are often adjustement of "skip 441 frames =
> 441/44100 = 10ms)



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-02-17 20:04:56 UTC
Permalink
First thing first, dev-12 works great for me.

philippe_44 wrote:
> There is another option which is to indicate to LMS that each "sampling
> point" are not 'fully' accurate and must be averaged out. This is an
> option you can set when the player is being registered. The result is
> probably that LMS will do adjustement more slowly but that would prevent
> that effect from happening...
I have looked into the logs, and I can correlate the audible "soundstage
shifts" in my sync group (SB3 and AE, wired, 3 meters apart) to
Slim::Player::StreamingController::_CheckSync "resync:" events.

I noticed that when the SB3 resyncs, typically at the beginning of a
song, usually no audible shift happen afterwards. If the software player
resyncs first at the beginning of a song, usually the SB3 will resync
moments later, with an audible shift.
With the SB3, resync logging and audible shift happen at the same time.
With the software player, the audible effect seems to be delayed by the
value of the network buffer option.
I also looked at an SB3 sync group, one wired and one wifi; resync
events are a rarity, even over track changes.

I tried setting the "Minimum Synchronization Adjustment (ms)" option to
1000 on my software player to see the typical values of "playPoints:",
then set it to 30ms, most playPoints being under this value. This
removed the audible "shifts", but degraded sync quality.

The exercise is probably vain. With sources something about 6 m. apart
instead of 3 m., when a sync event happens I cannot perceive any audible
shift. And I ran this test on my "soft" LMS VM machine anyway.

I did not resist ordering a Zipp mini any longer... Can't wait to put it
in service as a stand-alone squeezebox :)



4 SB 3 • Libratone Loop mk.2 • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-02-18 06:51:44 UTC
Permalink
epoch1970 wrote:
> First thing first, 0.1.0.2-dev-1 works great for me.
>
>
> I have looked into the logs, and I can correlate the audible "soundstage
> shifts" in my sync group (SB3 and AE, wired, 3 meters apart) to
> Slim::Player::StreamingController::_CheckSync "resync:" events.
>
> I noticed that when the SB3 resyncs, typically at the beginning of a
> song, usually no audible shift happen afterwards. If the software player
> resyncs first at the beginning of a song, usually the SB3 will resync
> moments later, with an audible shift.
> With the SB3, resync logging and audible shift happen at the same time.
> With the software player, the audible effect seems to be delayed by the
> value of the network buffer option.
> I also looked at an SB3 sync group, one wired and one wifi; resync
> events are a rarity, even over track changes.
>
> I tried setting the "Minimum Synchronization Adjustment (ms)" option to
> 1000 on my software player to see the typical values of "playPoints:",
> then set it to 30ms, most playPoints being under this value. This
> removed the audible "shifts", but degraded sync quality.
>
> The exercise is probably vain. With sources something about 6 m. apart
> instead of 3 m., when a sync event happens I cannot perceive any audible
> shift. And I ran this test on my "soft" LMS VM machine anyway.
>
> I did not resist ordering a Zipp mini any longer... Can't wait to put it
> in service as a stand-alone squeezebox :)

I've made 0.1.0.2 the stable version (I think it deserves its name this
time). I've also added a 0.1.0.3-dev-1 for you in whihc I don't tell to
LMS that my "sample points" (reporting time") are accurate, so LMS has
to do a bit of averaging before changing sync. It seems to me that the
phase shift effect has diseappeared (probably at the expense of a slower
de-sync recovery when a spike happens). Let me know what you think



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-02-18 09:28:19 UTC
Permalink
philippe_44 wrote:
> I've also added a 0.1.0.3-dev-1 for you in which I don't tell to LMS
> that my "sample points" (reporting time) are accurate .... Let me know
> what you think
Fantastic! Will do!



4 SB 3 • Libratone Loop mk.2 • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-02-19 15:25:47 UTC
Permalink
I'm running the standard squeeze2raop-x86 executable on a pc engines
Alix machine, "powered" by an AMD Geode LX800 running a custom linux 4
kernel.
Works perfectly fine. Takes 7-10% CPU, very efficient.
The Airplay bridge will be up during summer days. Great!



4 SB 3 • Libratone Loop mk.2 • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-02-16 14:28:13 UTC
Permalink
castalla wrote:
> Using version 0.1.0.1 (no idea anymore if it's the stable or dev !!!) -
> but still getting the sound loss after random time, with restart stream
> recovering the sound.

I think this is the stable version. Are you using a 1000ms network
buffer in the plugin? This is the recommended setting, but I you had
installed an earlier dev version this was set by default at 500ms.
At 500ms the player is more reactive to commands, but I've seen drops.



4 SB 3 • Libratone Loop mk.2 • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
castalla
2016-02-16 14:42:21 UTC
Permalink
epoch1970 wrote:
> I think this is the stable version. Are you using a 1000ms network
> buffer in the plugin? This is the recommended setting, but I you had
> installed an earlier dev version this was set by default at 500ms.
> At 500ms the player is more reactive to commands, but I've seen drops.
>
> EDIT: The path is: Settings>Advanced>Airplay Bridge,
> then [Default parameters] or your_player_name,
> look for AirPlay options: Networking buffer (ms)

Buffer already at 1000. Just experienced another sound loss ...



Touch - Muse M50 EX TPA3123 T-Amp Mini - Acoustics Q10 speakers
Logitech Radio
Logitech UE Radio
O2 Joggler + SqpOS + Aune X2 T-amp + Mordaunt Short ms-3.40 speakers
UPnPBridge - 2 paired Sonos Play1 speakers
UPnPBridge - Rocki - Sony SRS-BTM8 speaker
UPnPBridge - Pioneer WX-SMA1 speaker
UPnPBridge - PURE One Flow internet radio
Castbridge - Chromecast 1 + Chromecast Audio
SB Player - Fire TV
------------------------------------------------------------------------
castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-02-16 14:56:03 UTC
Permalink
castalla wrote:
> Buffer already at 1000. Just experienced another sound loss ...
I suppose you're on wifi? How does it fare wrt to ping regularity
(latency) and bandwidth?
In the guide, philippe_44 says "Network bandwidth and CPU: this requires
1.4Mbits/s per player (plus some overhead), so this puts a fair amount
of constraints on your network and CPU"

I've been using the plugin with an Airport Express (wired), a Loop
(sitting 2m away from the AE) and an AppleTV 1 (2 walls away from the
AE.) The Loop is unable to work properly, Airplay bridge or not, when
signal strength dips noticeably under 60%. The Apple TV 1 seems much
more resilient.
As for ping, the LMS server on my network pings the Loop on wifi around
2ms on average, but the max is near 10ms (and on my usual VM server max
is 30ms.)
In this environment, little to no drops for me.



4 SB 3 • Libratone Loop mk.2 • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
castalla
2016-02-16 15:01:56 UTC
Permalink
epoch1970 wrote:
> I suppose you're on wifi? How does it fare wrt to ping regularity
> (latency) and bandwidth?
> In the guide, philippe_44 says "Network bandwidth and CPU: this requires
> 1.4Mbits/s per player (plus some overhead), so this puts a fair amount
> of constraints on your network and CPU"
>
> I've been using the plugin with an Airport Express (wired), a Loop
> (sitting 2m away from the AE) and an AppleTV 1 (2 walls away from the
> AE.) The Loop is unable to work properly, Airplay bridge or not, when
> signal strength dips noticeably under 60%. The Apple TV 1 seems much
> more resilient.
> As for ping, the LMS server on my network pings the Loop on wifi around
> 2ms on average, but the max is near 10ms (and on my usual VM server max
> is 30ms.)
> In this environment, little to no drops for me.

Same player on upnpbridge has no dropouts. On wifi.



Touch - Muse M50 EX TPA3123 T-Amp Mini - Acoustics Q10 speakers
Logitech Radio
Logitech UE Radio
O2 Joggler + SqpOS + Aune X2 T-amp + Mordaunt Short ms-3.40 speakers
UPnPBridge - 2 paired Sonos Play1 speakers
UPnPBridge - Rocki - Sony SRS-BTM8 speaker
UPnPBridge - Pioneer WX-SMA1 speaker
UPnPBridge - PURE One Flow internet radio
Castbridge - Chromecast 1 + Chromecast Audio
SB Player - Fire TV
------------------------------------------------------------------------
castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-02-16 20:11:02 UTC
Permalink
castalla wrote:
> Same player on upnpbridge has no dropouts. On wifi.

The difficulty is that players tend to buffer much more when being
driven through UPnP. Do you have a log of the AirPlay Bridge ?



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
castalla
2016-02-16 20:31:46 UTC
Permalink
philippe_44 wrote:
> The difficulty is that players tend to buffer much more when being
> driven through UPnP. Do you have a log of the AirPlay Bridge ?

No log - I can try one later.



Touch - Muse M50 EX TPA3123 T-Amp Mini - Acoustics Q10 speakers
Logitech Radio
Logitech UE Radio
O2 Joggler + SqpOS + Aune X2 T-amp + Mordaunt Short ms-3.40 speakers
UPnPBridge - 2 paired Sonos Play1 speakers
UPnPBridge - Rocki - Sony SRS-BTM8 speaker
UPnPBridge - Pioneer WX-SMA1 speaker
UPnPBridge - PURE One Flow internet radio
Castbridge - Chromecast 1 + Chromecast Audio
SB Player - Fire TV
------------------------------------------------------------------------
castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-02-17 06:32:34 UTC
Permalink
castalla wrote:
> Same player on upnpbridge has no dropouts. On wifi.

castalla wrote:
> No log - I can try one later.
>
> edit: here's a log - probably not much use as the stream didn't stop
> after 1 hour. The random nature of the dropouts will make this issue a
> drag to pin down

I think you put me on the rigth track ... if a player has enough to
buffer PCM in UPnP mode, it should be able to do the same with AirPlay.
So going small buffer was the wrong direction (I did that at the
beginning because I was misleading by another bug). So I think now the
problem is an overload I was creating on the host & guest UDP/IP stacks
by sending audio too quickly. I've now paced that much more efficiently
and it has been flawless on my system since then. Increase the buffer to
at least 3000 ms and then try again. Use version 0.1.0.2-dev-1, this is
the only version where it works. Your feedback would be highly
appreciated !



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
castalla
2016-02-17 09:09:32 UTC
Permalink
philippe_44 wrote:
> I think you put me on the right track ... if a player has enough to
> buffer PCM in UPnP mode, it should be able to do the same with AirPlay.
> So going small buffer was the wrong direction (I did that at the
> beginning because I was mislead by another bug). So I think now the
> problem is an overload I was creating on the host & guest UDP/IP stacks
> by sending audio too quickly. I've now paced that much more efficiently
> and it has been flawless on my system since then. Increase the buffer to
> at least 3000 ms and then try again. Use version 0.1.0.2-dev-1 in the
> dev repository, this is the only version where it works. Your feedback
> would be highly appreciated !

Testing now ..

One thing I've noticed - I have to start a stream twice to get any
sound when the device is first discovered.



Touch - Muse M50 EX TPA3123 T-Amp Mini - Acoustics Q10 speakers
Logitech Radio
Logitech UE Radio
O2 Joggler + SqpOS + Aune X2 T-amp + Mordaunt Short ms-3.40 speakers
UPnPBridge - 2 paired Sonos Play1 speakers
UPnPBridge - Rocki - Sony SRS-BTM8 speaker
UPnPBridge - Pioneer WX-SMA1 speaker
UPnPBridge - PURE One Flow internet radio
Castbridge - Chromecast 1 + Chromecast Audio
SB Player - Fire TV
------------------------------------------------------------------------
castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
castalla
2016-02-17 13:15:39 UTC
Permalink
Tested with BBC live stream - 4 hours without dropout.



Touch - Muse M50 EX TPA3123 T-Amp Mini - Acoustics Q10 speakers
Logitech Radio
Logitech UE Radio
O2 Joggler + SqpOS + Aune X2 T-amp + Mordaunt Short ms-3.40 speakers
UPnPBridge - 2 paired Sonos Play1 speakers
UPnPBridge - Rocki - Sony SRS-BTM8 speaker
UPnPBridge - Pioneer WX-SMA1 speaker
UPnPBridge - PURE One Flow internet radio
Castbridge - Chromecast 1 + Chromecast Audio
SB Player - Fire TV
------------------------------------------------------------------------
castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-02-18 06:57:43 UTC
Permalink
castalla wrote:
> Testing now ..
>
> One thing I've noticed - I have to start a stream twice to get any
> sound when the device is first discovered.

I think I've found why (an optimization to avoid sending silence when
nothing has to be played) - I'll correct that soon



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-02-17 01:24:49 UTC
Permalink
epoch1970 wrote:
> Booohoohoohoooo... I've removed my dev install and now I get redirection
> limit exceeded when I try any of the 2 repo urls :(
> (so LMS always wants to restart to finish install and fails and asks
> again for a restart...)
>
> I messed about with things like "curl
> http://iweb.dl.sourceforge.net/projects/lms-to-raop/dev/repo-sf.xml"
> until I landed on the final redirection, in my case
> "http://freefr.dl.sourceforge.net/project/lms-to-raop/dev/repo-sf.xml"
> --as of right now. Don't try this URL.
> But the problem is that your repo file contains a link to iweb for the
> zip file...
>
> Sourceforge is in a serious state of flux, shall we say...
> Perhaps it's time to revert to manual install instructions?
>
> I'll try again later, perhaps the weather will clear up a little bit.
> But I thought I'd post in case others encounter an issue with
> installing.
>
> (BTW, since I can't really live without the plugin, I started my test
> machine which still has dev-11... I noticed your sox magic does not seem
> to work with remote library URLs.)

Damm it ... there is no 's' on /project/ and I had to do that mistake on
that 1st post of that thread :mad: :mad: :mad:



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
davidlymburner
2016-02-20 19:03:38 UTC
Permalink
Had the AirPlay bridge working fine with my Samsung DA-e750 for a few
days, but now it will only play the first 1-3 seconds of a track with
static&flutter before discontinuing all sound output. The controller
shows the track as still streaming to the player, but there is no sound
output. Streaming To the device still works fine using Pandora/AirPlay
on my iPad. Any ideas where things might be going wrong?


Sent from my iPad using Tapatalk




------------------------------------------------------------------------
davidlymburner's Profile: http://forums.slimdevices.com/member.php?userid=65018
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-02-20 21:01:55 UTC
Permalink
Dis you upgrade to a new version ? Can you post tour configuration file
and a log (all found under the plugin setting page)



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-02-22 12:10:48 UTC
Permalink
Yay!
(my player audio delay setting is at a low 270ms for this device. SQ
seems fine as well.)



4 SB 3 • Libratone Loop mk.2 • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
woodster
2016-03-02 11:34:08 UTC
Permalink
I finally got around testing the plugin with multiple airplay speakers
in sync, and must say, it seems VERY good.

How does it look, are the any extra features planned before a new stable
release will appear ; )
Martin


------------------------------------------------------------------------
woodster's Profile: http://forums.slimdevices.com/member.php?userid=32688
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-03 00:42:34 UTC
Permalink
woodster wrote:
> I finally got around testing the plugin with multiple airplay speakers
> in sync, and must say, it seems VERY good.
>
> How does it look, are the any extra features planned before a new stable
> release will appear ; )
> Martin

No key features planned currently - The main remaining thing could be
the support of the remote control from the player, but I see that as
pretty optional and I does not seem that there is a lot of traction for
this plugin, so I'll see how it goes before doing more development :)



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
woodster
2016-03-03 06:09:52 UTC
Permalink
Hi Philippe_44,

OK - I haven't been testing the 0.1.0.3-dev-1 version - is it to be
preferred over 0.1.0.2?

I have changed the settings regarding excluding/searching for players,
but other than that I'm using the default settings, and it really works
well - in sync and all.
Strange that it isn't used by more people - it is a perfect match
between LMS, Squeezebox eco system and off the shelf airplay speakers.

Previously I have had some duets in front of my active airplay speakers,
but now they integrate seamlessly without any extra hardware.... perfect
; )

I have been off the grid for some time, but if you need further
testing/assistance let me know.
Martin

philippe_44 wrote:
> No key features planned currently - The main remaining thing could be
> the support of the remote control from the player, but I see that as
> pretty optional and I does not seem that there is a lot of traction for
> this plugin, so I'll see how it goes before doing more development :)


------------------------------------------------------------------------
woodster's Profile: http://forums.slimdevices.com/member.php?userid=32688
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-03-03 10:51:43 UTC
Permalink
philippe_44 wrote:
> No key features planned currently - The main remaining thing could be
> the support of the remote control from the player, but I see that as
> pretty optional and I does not seem that there is a lot of traction for
> this plugin, so I'll see how it goes before doing more development :)

I guess the requirement for airplay (and possibly SB) hardware to
benefit from the plugin represents a barrier... Or perhaps few actually
care for sync these days?

For my part I'd like to see bidirectional control in the future. Web or
mobile controllers are fine but nothing beats the IR or control panel
buttons for quick adjustments.



4 SB 3 • Libratone Loop mk.2 • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-03 11:01:18 UTC
Permalink
Yes sometimes it happens you think you have something that people would
like as it is a full and clean replacement of a LMS device with sync and
all effects (I was planning to add full remote) ... but no interest.
Well at least I learnt many things at this occasion and I have my AV amp
synchronized as well a portable speaker

Anyway ... (deep breath)



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
castalla
2016-03-03 11:18:45 UTC
Permalink
philippe_44 wrote:
> Yes sometimes it happens you think you have something that people would
> like as it is a full and clean replacement of a LMS device with sync and
> all effects (I was planning to add full remote) ... but no interest.
> Well at least I learnt many things at this occasion and I have my AV amp
> synchronized as well a portable speaker
>
> Anyway ... (deep breath)

I think the overall stumbling block to wider take-up of all 3 bridge
plugins is the LMS software itself, which while excellent in itself, can
initially prove complicated and complex to set up for beginners.

I have promoted the upnp bridge to a group of Reciva users - few of whom
have taken up the challenge to install LMS (even in a basic Windows
setup) and then take on the challenge of crafting a suitable config
file! In this respect, both the airplay and cast bridges are easier
to set up.

Nevertheless, given the fact that SB devices are all 'museum' pieces,
these plugins are a massive contribution to the existing LMS universe.

Thanks, Philippe!



Touch - Muse M50 EX TPA3123 T-Amp Mini - Acoustics Q10 speakers
Logitech Radio
Logitech UE Radio
O2 Joggler + SqpOS + Aune X2 T-amp + Mordaunt Short ms-3.40 speakers
UPnPBridge - 2 paired Sonos Play1 speakers
UPnPBridge - Rocki - Sony SRS-BTM8 speaker
UPnPBridge - Pioneer WX-SMA1 speaker
UPnPBridge - PURE One Flow internet radio
Castbridge - Chromecast 1 + Chromecast Audio
SB Player - Fire TV
------------------------------------------------------------------------
castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
woodster
2016-03-04 07:01:25 UTC
Permalink
Hi,

today I had an issue where the sound from the bridge stopped - after a
while it started again.
The log shows:

[07:58:19.948128] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50679 nb:1 (mis:1) (err:0)
[07:58:20.099377] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50697 nb:1 (mis:1) (err:0)
[07:58:20.127616] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50700 nb:1 (mis:1) (err:0)
[07:58:20.141718] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50702 nb:1 (mis:1) (err:0)
[07:58:20.159388] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50703 nb:1 (mis:1) (err:0)
[07:58:20.166575] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50704 nb:1 (mis:1) (err:0)
[07:58:20.406879] raopcl_send_sample:338 check n:1080787058 p:1080790001
tsa:836571878 sn:52268
[07:58:20.588391] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50753 nb:1 (mis:1) (err:0)
[07:58:20.588673] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50754 nb:1 (mis:1) (err:0)
[07:58:20.601954] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50755 nb:1 (mis:1) (err:0)
[07:58:20.622915] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50756 nb:1 (mis:1) (err:0)
[07:58:20.771778] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50778 nb:1 (mis:1) (err:0)
[07:58:20.791957] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50779 nb:1 (mis:1) (err:0)
[07:58:20.792325] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50780 nb:1 (mis:1) (err:0)
[07:58:20.792470] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50782 nb:1 (mis:1) (err:0)
[07:58:21.015384] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50806 nb:1 (mis:1) (err:0)
[07:58:21.028759] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50807 nb:1 (mis:1) (err:0)
[07:58:21.029272] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50809 nb:1 (mis:1) (err:0)
[07:58:21.029400] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50810 nb:1 (mis:1) (err:0)
[07:58:21.191272] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50830 nb:1 (mis:1) (err:0)
[07:58:21.226002] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50834 nb:1 (mis:1) (err:0)
[07:58:21.259710] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50830 nb:1 (mis:1) (err:0)
[07:58:21.444187] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50858 nb:1 (mis:1) (err:0)
[07:58:21.451264] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50859 nb:1 (mis:1) (err:0)
[07:58:21.465635] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:50860 nb:1 (mis:1) (err:0)
[07:58:30.440438] raopcl_send_sample:338 check n:1080797092 p:1080800002
tsa:837012934 sn:53521
[07:58:38.040709] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:54475 nb:1 (mis:0) (err:0)
[07:58:40.377678] raopcl_send_sample:338 check n:1080807029 p:1080810003
tsa:837453990 sn:54774
[07:58:43.949181] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:55220 nb:1 (mis:0) (err:0)
[07:58:50.389425] raopcl_send_sample:338 check n:1080817041 p:1080820004
tsa:837895046 sn:56027
[07:58:53.480837] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:56406 nb:1 (mis:0) (err:0)
[07:58:55.440433] rtp_control_thread:1000 [0x1ae8ad0]: retransmit packet
sn:56660 nb:1 (mis:0) (err:0)
[07:59:00.416215] raopcl_send_sample:338 check n:1080827068 p:1080830006
tsa:838336102 sn:57280
[07:59:10.433065] raopcl_send_sample:338 check n:1080837084 p:1080840007
tsa:838777158 sn:58533


Any idea what could be causing it?
Martin


------------------------------------------------------------------------
woodster's Profile: http://forums.slimdevices.com/member.php?userid=32688
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-04 07:38:33 UTC
Permalink
Yes, I should be releasing an improvement this weekend. It a sort of
flooding of the player by udp packets


Envoyé de mon iPad en utilisant Tapatalk



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
woodster
2016-03-04 07:50:30 UTC
Permalink
philippe_44 wrote:
> Yes, I should be releasing an improvement this weekend. It a sort of
> flooding of the player by udp packets
>
>
> Envoyé de mon iPad en utilisant Tapatalk

Excellent, thanks for the quick reply.

Have a nice day.
Martin


------------------------------------------------------------------------
woodster's Profile: http://forums.slimdevices.com/member.php?userid=32688
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
raglencross
2016-03-04 14:35:09 UTC
Permalink
2006020061

I can't get any sound from an Apple TV or a Soundmate using the current
1.0.2. or any previous versions. I have allowed squeeze2raop through the
LMS server firewall and have even turned off the firewall with no
success. Castbridge works fine as did UPnPbridge (now not installed) on
the Soundmate which is capable of handling several protocols including
airplay and DLNA. The one thing I note that is different about
Airplaybridge is that it assigns bogus mac addresses to the Apple TV and
Soundmate while the other bridges use the actual mac addresses. I have
tried forcing the real Mac's through the settings and editing the config
file to no avail. I have attached the debug and config files. Let me
know if you need additional options set for the debug file. Thanks in
advance for your help and also for this marvelous suite of "bridges".
They have given the squeezebox ecosystem a new lease on life!


+-------------------------------------------------------------------+
|Filename: Debug file.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20061|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
raglencross's Profile: http://forums.slimdevices.com/member.php?userid=7239
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-04 18:47:37 UTC
Permalink
raglencross wrote:
> 2006020061
>
> I can't get any sound from an Apple TV or a Soundmate using the current
> 1.0.2. or any previous versions. I have allowed squeeze2raop through the
> LMS server firewall and have even turned off the firewall with no
> success. Castbridge works fine as did UPnPbridge (now not installed) on
> the Soundmate which is capable of handling several protocols including
> airplay and DLNA. The one thing I note that is different about
> Airplaybridge is that it assigns bogus mac addresses to the Apple TV and
> Soundmate while the other bridges use the actual mac addresses. I have
> tried forcing the real Mac's through the settings and editing the config
> file to no avail. I have attached the debug and config files. Let me
> know if you need additional options set for the debug file. Thanks in
> advance for your help and also for this marvelous suite of "bridges".
> They have given the squeezebox ecosystem a new lease on life!

The MAC address is voluntarely "bogus" in the sense that it is a hash of
the unique ID of the device. I'm doing this because this is necessary to
have different MAC when a device, like in your case, can be controlled
by UPnP or AirPlay. Otherwise, LMS is confused with 2 devices with the
same MAC. This causes no pain to the network as this address is not used
for real MAC addressing, but just as an identifier from LMS, so no
worries there.



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
raglencross
2016-03-05 16:44:06 UTC
Permalink
20071

As you explain it, I do understand the need to assign a unique (bogus?)
mac address to a device such as the Soundmate that has multiple renderer
capabilities, but the Apple TV can only do airplay so I would expect it
to be identified by its proper mac. If you check the config file from
my previous post, you will see that it is assigned a bogus mac just like
the Soundmate. Regardless, as I said in my OP the AppleTV, like the
Soundmate, has no sound output. Both work with an iPad as the source.
I did at one point edit the config file to try to force the use of the
real mac addresses for one and/or both devices with no success. The
config file I attached previously was not the edited file, but a newly
generated one.

I have attached the raop debug file as requested. Thanks for the help.


+-------------------------------------------------------------------+
|Filename: raop debug file.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20071|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
raglencross's Profile: http://forums.slimdevices.com/member.php?userid=7239
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-06 08:59:11 UTC
Permalink
raglencross wrote:
> 20071
>
> As you explain it, I do understand the need to assign a unique (bogus?)
> mac address to a device such as the Soundmate that has multiple renderer
> capabilities, but the Apple TV can only do airplay so I would expect it
> to be identified by its proper mac. If you check the config file from
> my previous post, you will see that it is assigned a bogus mac just like
> the Soundmate. Regardless, as I said in my OP the AppleTV, like the
> Soundmate, has no sound output. Both work with an iPad as the source.
> I did at one point edit the config file to try to force the use of the
> real mac addresses for one and/or both devices with no success. The
> config file I attached previously was not the edited file, but a newly
> generated one. I am not using any password protection on the airplay
> devices.
>
> I have attached the raop debug file as requested. Thanks for the help.

Yes but I can't know in advance if the player as multiple identities or
not, so I always choose the random Mac


Envoyé de mon iPad en utilisant Tapatalk



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-03-07 11:15:23 UTC
Permalink
philippe_44 wrote:
> [edit2]: Anybody with an AppleTV wanting to give that a try ?
I just tested with my ATV1,1 (the initial device, in aluminium) and
0.1.0.3-dev1
For some reason audio works for about one second and then the device
turns silent. Keep you posted.



4 SB 3 • Libratone Zipp Mini • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-07 15:32:13 UTC
Permalink
epoch1970 wrote:
> I just tested with my ATV1,1 (the initial device, in aluminium) and
> 0.1.0.3-dev1
> For some reason audio works for about one second and then the device
> turns silent. Skip to next song and it plays for 1 sec, etc. Keep you
> posted.
> [13:55:08.885298] sendSTAT:132 [0x80d9b20]: ms_played: 27449 (now:
> 1361395541)
> [13:55:08.885317] sendSTAT:158 [0x80d9b20]: STAT: STMr
> [13:55:08.885372] PlayerThread:322 [0x812b300]: tick 1361395541
> [13:55:08.885397] PlayerThread:360 [0x812b300]: raop connecting ...
> [13:55:08.885417] PlayerThread:363 [0x812b300]: raop connected
> [13:55:08.885752] process:523 [0x80d9b20] audg
> [13:55:08.885780] process_audg:422 [0x80d9b20] (old) audg gainL: 128
> gainR: 128
> [13:55:08.885818] PlayerThread:322 [0x812b300]: tick 1361395541
> [13:55:08.885843] PlayerThread:383 [0x812b300]: processing volume
> [13:55:08.885897] exec_request:470 [0xb6702628]: ----> : write
> SET_PARAMETER rtsp://172.17.255.201/1791929061 RTSP/1.0
> Content-Type: text/parameters
> Content-Length: 13
> CSeq: 64
> User-Agent: iTunes/10.6.2 (Windows; N;)
> Client-Instance: 0172c916b46b3524
> Client-Instance: 638a017d132ef26d
> Apple-Challenge: SYC1rtn4+Po7QEZYMGsW8A
> Session: 1
>
> volume: 0.0
>
> [13:55:08.886889] exec_request:496 [0xb6702628]: <------ : 200: request
> ok
> [13:55:08.887011] exec_request:503 [0xb6702628]: <------ : Server:
> AirTunes/101.9
> [13:55:08.887079] exec_request:503 [0xb6702628]: <------ : CSeq: 64
> [13:55:08.935171] PlayerThread:322 [0x812b9cc]: tick 1361395591
--------------------


Thanks for the test. Volume set to 0 is normally correct, it means max
volume (-30 .. 0). But there is something wrong with the fact that you
have 2 Client-Instance. I did a small correction on the latest dev-3
version on that problem



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-03-08 18:24:03 UTC
Permalink
philippe_44 wrote:
> Thanks for the test. Volume set to 0 is normally correct, it means max
> volume (-30 .. 0). But there is something wrong with the fact that you
> have 2 Client-Instance. I did a small correction on the latest dev-3
> version for that problem

I ran dev-3 today. The bridge found all my players ok, all worked ok
(the Zipp needs a volume command to start making noise, I think the
others are free of this kink) except the AppleTV1,1 device. It still
outputs 2 secs of audio before going mute, then it emits very short
audio bursts from time to time.
I have uploaded my config file and the bridge debug log to my 'Dropbox
folder:'
(https://www.dropbox.com/sh/cg85512r5hp8lgj/AAArQMXm71YL0eKtcvCSTLdda?dl=0)
raopbridge-1457457006.log (135k), raopbridge-1457457006.xml

The log covers: startup, discovery of all 4 players, power on to the
AppleTV player, play one song for about 2 secs, audio disappears, an
audible burst happens, then player power off, and finally bridge
shutdown.

This is on the test server where I fiddled with Localplayer and an alsa
device recently. I removed the usb audio gizmo, deinstalled LocalPlayer
plugin and rebooted the machine, but that didn't change anything.
The machine has an ipv4ll route, one gigabit ethernet and one wifi
interfaces on the lan. The wifi interface has a lower priority.
I disabled the wifi interface and removed the ipv4ll route, to no avail.
I specified the ethernet ip address in the bridge conf, to no avail.
In fact everything looks quite normal, except there is no audio...
Code:
--------------------
***@prades:~# dig @224.0.0.251 -p 5353 any ***@Hollywood._raop._tcp.local

; <<>> DiG 9.9.5-9+deb8u5-Debian <<>> @224.0.0.251 -p 5353 any ***@Hollywood._raop._tcp.local
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38376
;; flags: qr aa; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;0017F2F85EED\@Hollywood._raop._tcp.local. IN ANY

;; ANSWER SECTION:
0017F2F85EED\@Hollywood._raop._tcp.local. 10 IN SRV 0 0 49155 AppleTV-2.local.
0017F2F85EED\@Hollywood._raop._tcp.local. 10 IN TXT "txtvers=1" "ch=2" "cn=0,1" "et=0,2" "sv=false" "da=true" "sr=44100" "ss=16" "pw=false" "vn=65537" "tp=TCP,UDP" "md=0,1,2" "vs=101.9" "am=AppleTV1,1" "sf=0x4"

;; ADDITIONAL SECTION:
AppleTV-2.local. 10 IN AAAA fe80::xxx:xxff:fexx:xxxx
AppleTV-2.local. 10 IN A 172.17.20.1

;; Query time: 1 msec
;; SERVER: 172.17.20.1#5353(224.0.0.251)
;; WHEN: Tue Mar 08 19:12:58 CET 2016
;; MSG SIZE rcvd: 272

***@prades:~# netstat -an|grep 49155
tcp 0 0 172.17.255.201:33677 172.17.20.1:49155 ESTABLISHED

***@prades:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:17:31:38:46:c8
inet addr:172.17.255.201 Bcast:172.17.255.255 Mask:255.255.0.0
inet6 addr: fe80::217:31ff:fe38:46c8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25513 errors:0 dropped:0 overruns:0 frame:0
TX packets:211832 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4943049 (4.7 MiB) TX bytes:280085394 (267.1 MiB)
Interrupt:19 Memory:ff6e0000-ff700000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:45456 errors:0 dropped:0 overruns:0 frame:0
TX packets:45456 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:428990283 (409.1 MiB) TX bytes:428990283 (409.1 MiB)

***@prades:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 172.17.0.1 0.0.0.0 UG 0 0 0 eth0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
--------------------


Let me know if I can be of further help.



4 SB 3 • Libratone Zipp Mini • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
raglencross
2016-03-08 20:13:40 UTC
Permalink
You will note from my post #37 that I am testing an AT4 with this
plugin, also with audio problems like your ATV1 except that I have no
audio O/P at all. I am sure Phillipe will sort this out in due course!
In the meantime, I highly recommend the AT4, particularly because it has
its own app store and the ability to sideload non app store applications
using a mac computer and the Xcode developer program.


------------------------------------------------------------------------
raglencross's Profile: http://forums.slimdevices.com/member.php?userid=7239
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-08 23:13:01 UTC
Permalink
raglencross wrote:
> You will note from my post #37 that I am testing an AT4 with this
> plugin, also with audio problems like your ATV1 except that I have no
> audio O/P at all. I am sure Philippe will sort this out in due course!
> In the meantime, I highly recommend the AT4, particularly because it has
> its own app store and the ability to sideload non app store applications
> using a mac computer and the Xcode developer program.

I'll probably get an ATV3 because that will be just for test, I'll not
use it after that, and an ATV4 is twice the price :(



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-09 21:26:10 UTC
Permalink
epoch1970 wrote:
>
>
> Let me know if I can be of further help.
>
> BTW, I don't know if getting the ATV1,1 to work (again) is really
> important. I for one, don't plan to use it as an Airplay target, rather
> to update it with an ATV4 (which will run Plex and iPeng, some day). The
> device was great, but it will be 10 years old soon...

Do you think you could do a wireshark capture of a working session
between itunes and the ATV1,1 ?



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-03-09 22:00:35 UTC
Permalink
philippe_44 wrote:
> Do you think you could do a wireshark capture of a working session
> between itunes and the ATV1,1 ?

Yes, I think I can get a pcap file from my OSX 10.11 desktop. Or from a
Windows XP VM, but that will be with an older version of iTunes. I'll
look into it soon.



4 SB 3 • Libratone Zipp Mini • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
bakker_be
2016-03-10 13:20:02 UTC
Permalink
Hmmm, I'm having an issue with this on a Vortexbox. raopbridge.log
contains the following (keeps on repeating ...):

Code:
--------------------


Starting Squeeze2raop: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -f /var/log/squeezeboxserver/raopbridge.log -d raop=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml -i /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml -i /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -f /var/log/squeezeboxserver/raopbridge.log -d raop=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml -i /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml -i /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -f /var/log/squeezeboxserver/raopbridge.log -d raop=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml -i /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml -i /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

--------------------



Main System: Touch; Marantz SR-5004; TMA Premium 905; TMA Premium 901;
BK Monolith+ FF; HDI Dune Smart D1; Pioneer PDP-LX5090H
iPad 32GB Wifi + Squeezepad (local playback activated)
Acer Iconia Tab A700 + Squeezeplayer
Wandboard Duallite + CSOS, integrated LMS activated
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-11 02:31:17 UTC
Permalink
bakker_be wrote:
> Hmmm, I'm having an issue with this on a Vortexbox. raopbridge.log
> contains the following (keeps on repeating ...):
> Starting Squeeze2raop:
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64
> -Z -I -f /var/log/squeezeboxserver/raopbridge.log -d raop=debug -x
> /var/lib/squeezeboxserver/prefs/raopbridge.xml
>

Can you see if you have something in the squeeze2raop log ? (you can
access it in the LMS GUI, settings, advanced, select "AirPlay bridge")



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
bakker_be
2016-03-11 07:05:08 UTC
Permalink
philippe_44 wrote:
> Can you see if you have something in the squeeze2raop log ? (you can
> access it in the LMS GUI, settings, advanced, select "AirPlay bridge")
I don't even have a file squeeze2raop.log, only raopbridge.log,
containing only the same lines over and over again ...



Main System: Touch; Marantz SR-5004; TMA Premium 905; TMA Premium 901;
BK Monolith+ FF; HDI Dune Smart D1; Pioneer PDP-LX5090H
iPad 32GB Wifi + Squeezepad (local playback activated)
Acer Iconia Tab A700 + Squeezeplayer
Wandboard Duallite + CSOS, integrated LMS activated
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-11 14:09:42 UTC
Permalink
bakker_be wrote:
> I don't even have a file squeeze2raop.log, only raopbridge.log,
> containing only the same lines over and over again ...

One silly question : are you sure the vortexbox is a 64 bits distro ?



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
bakker_be
2016-03-11 16:30:06 UTC
Permalink
philippe_44 wrote:
> One silly question : are you sure the vortexbox is a 64 bits distro ?

Hi Philippe,
I'm quite sure it is:

Code:
--------------------

[***@vortexbox ~]# uname -a
Linux vortexbox 4.3.4-300.fc23.x86_64 #1 SMP Mon Jan 25 13:39:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[***@vortexbox ~]#

--------------------

But even if it isn't, shouldn't the correct flavour of the bridge be
chosen automagically? I certainly didn't tell it to run the 64-bit
version ...
LMS info:

Code:
--------------------

Logitech Media Server Version: 7.9.0 - 0.107.20151223git1450801618 @ Mon Jan 4 17:58:53 EST 2016
Hostname: vortexbox
Server IP Address: 192.168.1.103
Server HTTP Port Number: 9000
Operating system: Red Hat - EN - utf8
Platform Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-thread-multi
Audio::Scan: 0.95
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 3

--------------------

raopbridge-config.xml

Code:
--------------------

<squeeze2raop>
<log_limit>-1</log_limit>
<raop_log>info</raop_log>
<interface>?</interface>
<main_log>info</main_log>
<slimproto_log>warn</slimproto_log>
<scan_interval>30</scan_interval>
<scan_timeout>15</scan_timeout>
<output_log>warn</output_log>
<common>
<read_ahead>500</read_ahead>
<encryption>0</encryption>
<streambuf_size>2097152</streambuf_size>
<remove_count>3</remove_count>
<output_size>1764000</output_size>
<auto_play>0</auto_play>
<sample_rate>96000</sample_rate>
<codecs>flc,pcm,aif,aac,mp3</codecs>
<send_coverart>0</send_coverart>
<idle_timeout>60</idle_timeout>
<send_metadata>0</send_metadata>
<enabled>1</enabled>
<player_volume>0</player_volume>
<resample_options/>
<resample>1</resample>
</common>
<stream_log>warn</stream_log>
<util_log>warn</util_log>
<server>?</server>
<decode_log>warn</decode_log>
<slimmain_log>info</slimmain_log>
</squeeze2raop>

--------------------



Main System: Touch; Marantz SR-5004; TMA Premium 905; TMA Premium 901;
BK Monolith+ FF; HDI Dune Smart D1; Pioneer PDP-LX5090H
iPad 32GB Wifi + Squeezepad (local playback activated)
Acer Iconia Tab A700 + Squeezeplayer
Wandboard Duallite + CSOS, integrated LMS activated
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-11 16:48:34 UTC
Permalink
bakker_be wrote:
> Hi Philippe,
> I'm quite sure it is:
> >
Code:
--------------------
> >
> [***@vortexbox ~]# uname -a
> Linux vortexbox 4.3.4-300.fc23.x86_64 #1 SMP Mon Jan 25 13:39:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
> [***@vortexbox ~]#
>
--------------------
> >
> But even if it isn't, shouldn't the correct flavour of the bridge be
> chosen automagically? I certainly didn't tell it to run the 64-bit
> version ...
> LMS info:
> >
Code:
--------------------
> >
> Logitech Media Server Version: 7.9.0 - 0.107.20151223git1450801618 @ Mon Jan 4 17:58:53 EST 2016
> Hostname: vortexbox
> Server IP Address: 192.168.1.103
> Server HTTP Port Number: 9000
> Operating system: Red Hat - EN - utf8
> Platform Architecture: x86_64-linux
> Perl Version: 5.22.1 - x86_64-linux-thread-multi
> Audio::Scan: 0.95
> Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
> Total Players Recognized: 3
>
--------------------
> >
> raopbridge-config.xml
> >
Code:
--------------------
> >
> <squeeze2raop>
> <log_limit>-1</log_limit>
> <raop_log>info</raop_log>
> <interface>?</interface>
> <main_log>info</main_log>
> <slimproto_log>warn</slimproto_log>
> <scan_interval>30</scan_interval>
> <scan_timeout>15</scan_timeout>
> <output_log>warn</output_log>
> <common>
> <read_ahead>500</read_ahead>
> <encryption>0</encryption>
> <streambuf_size>2097152</streambuf_size>
> <remove_count>3</remove_count>
> <output_size>1764000</output_size>
> <auto_play>0</auto_play>
> <sample_rate>96000</sample_rate>
> <codecs>flc,pcm,aif,aac,mp3</codecs>
> <send_coverart>0</send_coverart>
> <idle_timeout>60</idle_timeout>
> <send_metadata>0</send_metadata>
> <enabled>1</enabled>
> <player_volume>0</player_volume>
> <resample_options/>
> <resample>1</resample>
> </common>
> <stream_log>warn</stream_log>
> <util_log>warn</util_log>
> <server>?</server>
> <decode_log>warn</decode_log>
> <slimmain_log>info</slimmain_log>
> </squeeze2raop>
>
--------------------
> >
> Config:
> 20109

Yes you're correct, then the choice was made automatically and correctly
(there are a few cases where it does not work). Any chance you know how
to run squeeze2raop-x86_64 from command line and see what happens ?



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
bakker_be
2016-03-11 17:14:32 UTC
Permalink
philippe_44 wrote:
> Yes you're correct, then the choice was made automatically and correctly
> (there are a few cases where it does not work). Any chance you know how
> to run squeeze2raop-x86_64 from command line and see what happens ?
This didn't seem to do it, please advise ...
20110


+-------------------------------------------------------------------+
|Filename: AirplayBridge_Putty01.JPG |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20110|
+-------------------------------------------------------------------+


Main System: Touch; Marantz SR-5004; TMA Premium 905; TMA Premium 901;
BK Monolith+ FF; HDI Dune Smart D1; Pioneer PDP-LX5090H
iPad 32GB Wifi + Squeezepad (local playback activated)
Acer Iconia Tab A700 + Squeezeplayer
Wandboard Duallite + CSOS, integrated LMS activated
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-11 19:53:25 UTC
Permalink
bakker_be wrote:
> This didn't seem to do it, please advise ...
> 20110

you have to do ./squeeze2raop-x86_64



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
bakker_be
2016-03-11 22:07:06 UTC
Permalink
philippe_44 wrote:
> you have to do ./squeeze2raop-x86_64

Code:
--------------------

login as: root
***@vortexbox's password:
Last login: Fri Mar 11 17:23:51 2016 from 192.168.1.109
[***@vortexbox ~]# cd /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/
[***@vortexbox RaopBridge]# cd Bin
[***@vortexbox Bin]# squeeze2raop-x86-64
-bash: squeeze2raop-x86-64: command not found
[***@vortexbox Bin]# ls
cc32160mt.dll libfaad2.dll libmad-0.dll libsoxr.dll squeeze2raop-armv5
libeay32.dll libFLAC.dll libmpg123-0.dll pthreadBC2.dll squeeze2raop-armv6
[***@vortexbox Bin]# ./squeeze2raop-x86-64
./squeeze2raop-x86-64: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
[***@vortexbox Bin]#

--------------------



Main System: Touch; Marantz SR-5004; TMA Premium 905; TMA Premium 901;
BK Monolith+ FF; HDI Dune Smart D1; Pioneer PDP-LX5090H
iPad 32GB Wifi + Squeezepad (local playback activated)
Acer Iconia Tab A700 + Squeezeplayer
Wandboard Duallite + CSOS, integrated LMS activated
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-11 22:22:52 UTC
Permalink
bakker_be wrote:
> >
Code:
--------------------
> >
> login as: root
> ***@vortexbox's password:
> Last login: Fri Mar 11 17:23:51 2016 from 192.168.1.109
> [***@vortexbox ~]# cd /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/
> [***@vortexbox RaopBridge]# cd Bin
> [***@vortexbox Bin]# squeeze2raop-x86-64
> -bash: squeeze2raop-x86-64: command not found
> [***@vortexbox Bin]# ls
> cc32160mt.dll libfaad2.dll libmad-0.dll libsoxr.dll squeeze2raop-armv5
> libeay32.dll libFLAC.dll libmpg123-0.dll pthreadBC2.dll squeeze2raop-armv6
> [***@vortexbox Bin]# ./squeeze2raop-x86-64
> ./squeeze2raop-x86-64: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
> [***@vortexbox Bin]#
>
--------------------
> >

I'll put VortexBox into a VM and give it a try. Obviously, the ssl
library is missing, but I would be surprised it's missing system-wide in
VortexBox, maybe more a version issue.



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
usc95
2016-03-12 04:02:07 UTC
Permalink
Thanks Philippe for the bridges that you have created. The cast bridge
works pretty well but the lack of gapless playback means it won't
replace any of my other devices. I tried the airplay bridge today with
my Sabrent WF-RADU and unfortunately it did not work. It will show up
in LMS but when I try to play some music there is no audio output. The
track will mostly play through but no audio. I am not sure how to attach
a log as the file I have is too big I guess. How should I troubleshoot
this? I am not that tech savvy but would like to get this to work.


------------------------------------------------------------------------
usc95's Profile: http://forums.slimdevices.com/member.php?userid=59694
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-12 06:01:38 UTC
Permalink
usc95 wrote:
> Thanks Philippe for the bridges that you have created. The cast bridge
> works pretty well but the lack of gapless playback means it won't
> replace any of my other devices. I tried the airplay bridge today with
> my Sabrent WF-RADU and unfortunately it did not work. It will show up
> in LMS but when I try to play some music there is no audio output. The
> track will mostly play through but no audio. I am not sure how to attach
> a log as the file I have is too big I guess. How should I troubleshoot
> this? I am not that tech savvy but would like to get this to work.

You can zip the file and attach it (it should compress a lot) or you can
send it to me at my contact email address (see LMS plugin tab). The one
thing that happens with AirPlay bridge is firewall blocking. Can you try
with all firewall disabled ?



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
usc95
2016-03-15 22:15:42 UTC
Permalink
philippe_44 wrote:
> You can zip the file and attach it (it should compress a lot) or you can
> send it to me at my contact email address (see LMS plugin tab). The one
> thing that happens with AirPlay bridge is firewall blocking. Can you try
> with all firewall disabled ?

Hi Phillippe,

I turned off the Windows Firewall and unfortunately it did not help. I
have emailed you the zipped log, I am hopeful you can advise something
else for me to try. Thanks for your help.

Thanks,
Marc


------------------------------------------------------------------------
usc95's Profile: http://forums.slimdevices.com/member.php?userid=59694
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-16 04:45:39 UTC
Permalink
usc95 wrote:
> Hi Phillippe,
>
> I turned off the Windows Firewall and unfortunately it did not help. I
> have emailed you the zipped log, I am hopeful you can advise something
> else for me to try. Thanks for your help.
>
> Thanks,
> Marc

Finally got the log. Can you move to the dev version 1.0.3-dev-9 ? There
are a few bugs corrected in the 1.0.2 and it seems that your
configuration is suffering from it. (see the 1st post of this thread and
if necessary, un-install the current version). Another thing: if you use
ShairportW, set the "encryption" parameter to "yes"



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
usc95
2016-03-16 18:26:32 UTC
Permalink
I just emailed you the log with the dev version running. I uninstalled
the other version and ran this one clean but unfortunately still no
audio. Hopefully you can see something else I should try. Thanks again
for plugins and your help.


------------------------------------------------------------------------
usc95's Profile: http://forums.slimdevices.com/member.php?userid=59694
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-16 18:55:45 UTC
Permalink
usc95 wrote:
> I just emailed you the log with the dev version running. I uninstalled
> the other version and ran this one clean but unfortunately still no
> audio. Hopefully you can see something else I should try. Thanks again
> for plugins and your help.

Have you tried to activate the encryption ? From the log, it does not
seem to be the case and when I look at the ID provided by your player
0xDEADBEEF, it looks to me like it is a shairport fork and in my
experience, at least with shairport Windows, you *must* activate
encryption for it to work

(got to LMS GUI, setup, advanced, AriPlay Bridge, select you player in
the dropdown list and set 'Yes' to 'use encryption" on the "AirPlay
options" line)



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-03-16 19:56:42 UTC
Permalink
FYI, with 1.0.3-dev-9 (x86-64) and a new config file, I have discovery
work fine for all my players,
- Libratone Loop mk2
- Libratone Zipp Mini
- Airport Express model 1392
- AppleTV (appletv1,1 original model)
- AppleTV 4 (appletv5,3 latest model)

Playback (synced, FLAC gapless, mp3, AAC radio stream) work just fine
for all except appletv1,1 (no worky at all, same as before)

Thanks for making the ATV4 a bit more useful than stock ;)



4 SB 3 • Libratone Zipp Mini • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
usc95
2016-03-16 20:58:42 UTC
Permalink
I just emailed you another log. I have ticked the box to use encryption
and I can now get some audio. The audio is garbled and sped up with
frequent drop outs but at least I have something now. Please advise
what else I should adjust to fine tune it. Getting close...


------------------------------------------------------------------------
usc95's Profile: http://forums.slimdevices.com/member.php?userid=59694
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-17 01:51:50 UTC
Permalink
usc95 wrote:
> I just emailed you another log. I have ticked the box to use encryption
> and I can now get some audio. The audio is garbled and sped up with
> frequent drop outs but at least I have something now. Please advise
> what else I should adjust to fine tune it. Getting close...

Are you playing from an online streaming ? If you are, can you try a
local file ? Then if it works, go to the LMS setup, advanced, choose
network and change "radio station buffer seconds" to 6



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-12 06:18:34 UTC
Permalink
philippe_44 wrote:
> I'll put VortexBox into a VM and give it a try. Obviously, the ssl
> library is missing, but I would be surprised it's missing system-wide in
> VortexBox, maybe more a version issue.

The problem was that VortexBox uses Fedora and my compilations are made
under Debian, so the shared library for openssl was not found. I made a
statically linked version now in x64 that should fixes that problem (I
checked). Don't forget to select the binary now. I cannot guarantee that
all other 3rd party codecs will work, but at least mp3 does



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
bakker_be
2016-03-12 16:15:19 UTC
Permalink
philippe_44 wrote:
> The problem was that VortexBox uses Fedora and my compilations are made
> under Debian, so the shared library for openssl was not found. I made a
> statically linked version now in x64 that should fixes that problem (I
> checked). Don't forget to select the binary now. I cannot guarantee that
> all other 3rd party codecs will work, but at least mp3 does
OK, partial success now :) I switched over to the dev repo, chose the
statically linked x64 binary and it discovers my airport. I saw it
appear in the player choice for a very short time, but now it's
disappeared and I can't get it back ....
Zipped Logfile + config as txt attached 20122
20123


+-------------------------------------------------------------------+
|Filename: raopbridge.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20123|
+-------------------------------------------------------------------+


Main System: Touch; Marantz SR-5004; TMA Premium 905; TMA Premium 901;
BK Monolith+ FF; HDI Dune Smart D1; Pioneer PDP-LX5090H
iPad 32GB Wifi + Squeezepad (local playback activated)
Acer Iconia Tab A700 + Squeezeplayer
Wandboard Duallite + CSOS, integrated LMS activated
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-12 17:14:05 UTC
Permalink
bakker_be wrote:
> OK, partial success now :) I switched over to the dev repo, chose the
> statically linked x64 binary and it discovers my airport. I saw it
> appear in the player choice for a very short time, but now it's
> disappeared and I can't get it back ....
> Zipped Logfile + config as txt attached 20122
> 20123

The discovery of the players is not reliable enough, but I don't know if
this is something in my app or if this is influenced by network issues.
So, starting version 1.0.3 I've increase a lot the number of times a
player must be missing a "discovery request" to it to be considered
lost. Best is that you erase the config file and start with a fresh one
(there is an "erase" button in the GUI), it will multiply by 10 the
disconnect time.

BTW, you don't need to force a "generate" of config file. Just wait for
~30s and it will be auto-generated.



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
raglencross
2016-03-07 18:29:49 UTC
Permalink
philippe_44 wrote:
> Yes but I can't know in advance if the player as multiple identities or
> not, so I always choose the random Mac
>
> [edit]: The AppleTV rejects my 'announce' request, I've not seen that
> before, let me investigate
> [edit2]: Anybody with an AppleTV wanting to give that a try ?
> [edit3]: Not sure if I asked before, but what is the computer you use to
> run the AirPlay bridge ?
>
>
> Envoyé de mon iPad en utilisant Tapatalk

I am testing the Airplay bridge on 2 PC's, a Foxconn nt-i1200 (Windows
7) and a HP Mediasmart Server (Windows Server 2011). The debug logs are
from the Foxconn. Neither PC results in any audio output from the
Soundmate or the Apple TV ( the "new" one, unofficially called the ATV
4).


------------------------------------------------------------------------
raglencross's Profile: http://forums.slimdevices.com/member.php?userid=7239
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-07 18:58:47 UTC
Permalink
raglencross wrote:
> I am testing the Airplay bridge on 2 PC's, a Foxconn nt-i1200 (Windows
> 7) and a HP Mediasmart Server (Windows Server 2011). The debug logs are
> from the Foxconn. Neither PC results in any audio output from the
> Soundmate or the Apple TV ( the "new" one, unofficially called the ATV
> 4).

ok - I'll get an AppleTV later, seems that this is the only option. What
I see in the log that immediately after I send the "announce" message,
the AppleTv closes the connection ... I'll report later what I see on my
own tests



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-03-08 08:12:36 UTC
Permalink
FYI, getting an ATV4 is in the cards for me as well.
I don't really feel the urge but I could have one within 1 or 2 weeks.
If you didn't plan on getting one...



4 SB 3 • Libratone Zipp Mini • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-11 03:55:57 UTC
Permalink
raglencross wrote:
> I am testing the Airplay bridge on 2 PC's, a Foxconn nt-i1200 (Windows
> 7) and a HP Mediasmart Server (Windows Server 2011). The debug logs are
> from the Foxconn. Neither PC results in any audio output from the
> Soundmate or the Apple TV ( the "new" one, unofficially called the ATV
> 4).

I've done a 1.0.3-dev-5 that removes a parameter that is not needed when
encryption is not used. I would be very surprised that if it is the
cause of the ATV4 problem, but it's worth a quick test - can you try
that with a clean config file ? If it still does not work, I'll get me a
ATV4 during the weekend

@epoch: this will not solve the ATV1,1 issue



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
raglencross
2016-03-11 22:00:18 UTC
Permalink
philippe_44 wrote:
> I've done a 1.0.3-dev-5 that removes a parameter that is not needed when
> encryption is not used. I would be very surprised that if it is the
> cause of the ATV4 problem, but it's worth a quick test - can you try
> that with a clean config file ? If it still does not work, I'll get me a
> ATV4 during the weekend
>
> @epoch: this will not solve the ATV1,1 issue

I gave 1.0.3-dev-5 a try with no success i.e. still no audio from the
ATV4 (or the Soundmate). Hopefully, you will be able to put your new
AT4 to good use other than troubleshooting this problem;)


------------------------------------------------------------------------
raglencross's Profile: http://forums.slimdevices.com/member.php?userid=7239
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-12 20:50:07 UTC
Permalink
raglencross wrote:
> I gave 1.0.3-dev-5 a try with no success i.e. still no audio from the
> ATV4 (or the Soundmate). Hopefully, you will be able to put your new
> AT4 to good use other than troubleshooting this problem;)

I've found the problem for AppleTV, it is a change from the "unofficial
spec" with regard to synchronization initialization. AppleTV (and I hope
this is the same for your other device) expect the time synchronizaton
message to be sent just before the SETUP message is sent, where
previously, they where supposed to be just before the RECORD message was
sent. Which was making sense as the response to the SETUP message was
including the port number to be used for time synchronization. Now you
have to deduct it from the UDP layer - anyway, it works on my AppleTV of
which I have no use :)



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
raglencross
2016-03-12 22:23:05 UTC
Permalink
philippe_44 wrote:
> I've found the problem for AppleTV, it is a change from the "unofficial
> spec" with regard to synchronization initialization. AppleTV (and I hope
> this is the same for your other device) expect the time synchronizaton
> message to be sent just before the SETUP message is sent, where
> previously, they where supposed to be just before the RECORD message was
> sent. Which was making sense as the response to the SETUP message was
> including the port number to be used for time synchronization. Now you
> have to deduct it from the UDP layer - anyway, it works on my AppleTV of
> which I have no use :)

Sounds promising...I presume that this change requires an updated dev
version, as I see nothing in the player or plugin settings that allow me
to make the changes you propose?


------------------------------------------------------------------------
raglencross's Profile: http://forums.slimdevices.com/member.php?userid=7239
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-12 22:33:43 UTC
Permalink
raglencross wrote:
> Sounds promising...I presume that this change requires an updated dev
> version, as I see nothing in the player or plugin settings that allow me
> to make the changes you propose?

Sorry, change is available in 0.1.0.3-dev-7, but there is still that
mistery of when LMS announces updates. Just remove the current AirPlay
bridge and re-install it again from my dev repository, you'll get the
updated version



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-03-13 13:53:59 UTC
Permalink
FYI, with 1.0.3-dev-8 (x86-64) and a new config file, I have discovery
work fine for all my players,
- Libratone Loop mk2
- Libratone Zipp Mini
- Airport Express model 1392
- AppleTV (original model)

Playback (synced, gapless) work just fine for all except appletv1,1 (no
worky at all)

(in other news, before the update I had another case of server lockup,
VM consuming 100% of its CPU but was unable to trace the cause. I
surmise it might be a case of the bridge executable running amok -I've
seen this a few times- but this time I wasn't even able to ssh into the
guest. Maybe in a few days.)



4 SB 3 • Libratone Zipp Mini • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
raglencross
2016-03-13 20:10:32 UTC
Permalink
philippe_44 wrote:
> I've found the problem for AppleTV, it is a change from the "unofficial
> spec" with regard to synchronization initialization. AppleTV (and I hope
> this is the same for your other device) expect the time synchronizaton
> message to be sent just before the SETUP message is sent, where
> previously, they where supposed to be just before the RECORD message was
> sent. Which was making sense as the response to the SETUP message was
> including the port number to be used for time synchronization. Now you
> have to deduct it from the UDP layer - anyway, it works on my AppleTV of
> which I have no use :)

My AT4 now has sound (still nothing from the Soundmate) using Dev-8, but
it is very garbled - probably a codec problem. I have tried playing MP3
streams and FLAC files with the same "Donald Duck" like output from the
ATV which should handle MP3 natively and FLAC should be transcoded to
MP3 by LMS using the installed LAME encoder, if I understand the process
and the file type table correctly.
Any suggestions?


------------------------------------------------------------------------
raglencross's Profile: http://forums.slimdevices.com/member.php?userid=7239
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-13 20:29:40 UTC
Permalink
raglencross wrote:
> My AT4 now has sound (still nothing from the Soundmate) using Dev-8, but
> it is very garbled - probably a codec problem. I have tried playing MP3
> streams and FLAC files with the same "Donald Duck" like output from the
> ATV which should handle MP3 natively and FLAC should be transcoded to
> MP3 by LMS using the installed LAME encoder, if I understand the process
> and the file type table correctly.
> Any suggestions?

Crap - that works w/o any problem on my config which has nothing exotic.
You're using Windows, right ? Which version ? Normally, all transcoding
are done by my plugin, unless you want to force something different in
LMS but as AirPlay only accept raw PCM or AAC (and I send raw PCM),
everything is transcoded to PCM by squeeze2raop.



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
raglencross
2016-03-14 19:46:13 UTC
Permalink
philippe_44 wrote:
> Crap - that works w/o any problem on my config which has nothing exotic.
> You're using Windows, right ? Which version ? Normally, all transcoding
> are done by my plugin, unless you want to force something different in
> LMS but as AirPlay only accept raw PCM or AAC (and I send raw PCM),
> everything is transcoded to PCM by squeeze2raop.
>
> [edit]: at that point, a log with ATV and Soundmate would help. Make
> sure you're starting from a fresh config file

I am using Windows 7. Which debug settings to you need for the log
runs?


------------------------------------------------------------------------
raglencross's Profile: http://forums.slimdevices.com/member.php?userid=7239
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-15 01:21:07 UTC
Permalink
raglencross wrote:
> I am running LMS 7.8.1 on 2 PC's, one using using Windows 7 and the
> other Windows Home Server 2011. Which debug settings do you need for
> the log runs?

We can start with the default (i.e. don't set anything the the "debug
settings" box)



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
raglencross
2016-03-15 20:46:07 UTC
Permalink
2013420135

I have attached the files you requested. Using Dev-9, it is clear from
the log that the Soundmate is not connecting (hence the silence) while
the ATV4 is connecting (progress!), but I see nothing in the log that
accounts for the its garbled sound. FYI: I am trying to play a FLAC
file in both cases, but other attempts with MP3 streams have the same
results i.e. no output from the Soundmate and garbled sound from the
ATV4. As always, thanks for your help.


+-------------------------------------------------------------------+
|Filename: Soundmate Debug.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20135|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
raglencross's Profile: http://forums.slimdevices.com/member.php?userid=7239
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-15 21:01:03 UTC
Permalink
raglencross wrote:
> 2013420135
>
> I have attached the files you requested. Using Dev-9, it is clear from
> the log that the Soundmate is not connecting (hence the silence) while
> the ATV4 is connecting (progress!), but I see nothing in the log that
> accounts for the its garbled sound. FYI: I am trying to play a FLAC
> file in both cases, but other attempts with MP3 streams have the same
> results i.e. no output from the Soundmate and garbled sound from the
> ATV4. As always, thanks for your help.

Thanks - so for the soundmate, to identify the "non-connection" cause,
log should be set with "raopdebugging"



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
raglencross
2016-03-17 19:31:38 UTC
Permalink
philippe_44 wrote:
> Thanks - so for the soundmate, to identify the "non-connection" cause,
> log should be set with "raopdebugging"

Phillipe, I am holding off on sending you the requested debug file for
the Soundmate because I have just found out that if I enable encryption,
as you suggested to US95, I end up with exactly the same symptoms as him
i.e. sound that cuts in and out and is garbled. Per your instruction to
US95, I have tried setting the Radio Station Buffer to 6 seconds with no
success on a local flack file and a MP3 stream. This of course is
progress over having no sound at all. Do you still need a raop debug
run from me to help you trouble shoot the problem?


------------------------------------------------------------------------
raglencross's Profile: http://forums.slimdevices.com/member.php?userid=7239
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-17 22:16:15 UTC
Permalink
raglencross wrote:
> Philippe, I am holding off on sending you the requested debug file for
> the Soundmate because I have just found out that if I enable encryption,
> as you suggested to USC95, I end up with exactly the same symptoms as
> him i.e. sound that cuts in and out and is garbled. Per your
> instruction to USC95, I have tried setting the Radio Station Buffer to 6
> seconds with no success on a local flack file and a MP3 stream. This of
> course is progress over having no sound at all. Do you still need a
> raop debug run from me to help you trouble shoot the problem?

I'm not sure where to take it from here, especially on the ATV4 as I
don't understand why the result would be so different between epoch1970,
mine an your setup, knowing that we use the exact same device. The
soundmate is probably as you described, using ShairPort whcih requires
encryption. But if now you have same garbled sound with cut-offs on both
devices, I can't find a reason why. You can try to reduce the
"networking buffer" in "AirPlay options" from 3000 to 1500 or 1000 (in
the plugin settings), but I doubt this will solve the problem.

I'll try to describe the problem as sometimes explaining things helps
finding a solution. Sorry if it's getting too technical, but maybe
somebody will have an idea (this is the first time I'm implementing the
AirpLay protocol, but I looked at what others have done and read a lot
about it as well)

The AirPlay protocol requires audio stream to be sent "in real time",
but of course some buffering is always required in the AirPlay device as
one have to accomodate for some network congestion. The AirPlay v2
protocol also uses UDP for sending audio, which means that there is no
acknowledgement / flow control of audio, so the sender "shoots in the
dark" (although the receiver can ask for re-sending of lost packets that
are detected using an increasing sequence number, so there is a control
:)). So what I'm doing is sending quickly up to 3s of data (or whatever
the parameter above is set to) and then, based on the clock of the local
computer, I'm sending the rest of the audio track in "average real time"
(in other words, and to over-simplify, I'm replenishing the 3s buffer
every 100ms). The clock of the AirPlay device is constantly adjusted to
the clock of the local computer, that's part of the protocol, so if
there is no over/under run on the local computer, there is no over/under
run on the AirPlay device. In other words, if the local computer
estimates that the buffer in the device is fill with 2.5s of audio, it
is *really* filled with that, so "replenishing" is accurate.

Knowing that there are 2 reasons potentially for cutoffs.

1- underrun: Not sending fast enough, so the receiver is missing audio
data. That would mean that either the network bandwidth is ridiculously
low or that the bridge is not receiving enough computer CPU to send
audio fast enough
2- overrun : Sending to much data (ie, assuming that the audio buffer in
the device is big enough to hold 3s of data, but it's not)

One can add a bug in the time synchronization, but I've tested that a
lot and I have it working with 4 different devices, and epoch1970 is
experiencing the same. For people using an ATV4, the overrun is probably
ruled out or we would all experience the same problem. This leaves me
with an underrun, but I really can't see how it could happen with any
decent computer. Again, I've run test on a raspberry Pi B (not the 2,
only the B), only connected using WiFi and with 3 devices playing in
parallel, all requiring the Pi to do resampling and flac/mp3decoding. It
loaded the Pi around 20%, so it does not seem to be an overload problem
...



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
usc95
2016-03-17 23:28:20 UTC
Permalink
So my Sabrent device dropped off my network and I had to reboot it. We
had a power outage yesterday that also rebooted my Windows 8.1 pc
running LMS. Once I rebooted the Sabrent and reconnected it to my wifi
I tested the plugin again. This time it is working fine with both local
files (ALAC, FLAC and MP3 tested) as well as internet radio streams and
Pandora streams. I am wondering if the garbled sounds I was hearing
earlier were a result of network congestion or a bad connection but
anyway everything is working now. I am just running the dev plugin with
the encryption on, I did not adjust any other parameters.

Raglencross - I think your Soundmate device and my Sabrent device are
very similar. Both are cheap Chinese "wifi music players" that are
probably not officially licensed airplay devices. I bet if you were to
essentially set it up again by rebooting it and reconnecting it to your
wifi it will probably work now that you are running the plugin as
encrypted.

This is really cool. It should be really easy now for anyone with a
passing interest in setting up a cheap whole home music system to do so
without spending Sonos kind of money. Thanks Philippe!!!!


------------------------------------------------------------------------
usc95's Profile: http://forums.slimdevices.com/member.php?userid=59694
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
usc95
2016-03-17 23:37:46 UTC
Permalink
Now I might buy another "squeezebox" for the stunning price of $21.99!
http://www.amazon.com/SABRENT-Receiver-Portable-Speakers-WF-RADU/dp/B00L26YDA4/ref=sr_1_1?ie=UTF8&qid=1458257742&sr=8-1&keywords=sabrent+airplay

Thanks again Philippe! If you are ever in LA I would love to buy you a
beer!


------------------------------------------------------------------------
usc95's Profile: http://forums.slimdevices.com/member.php?userid=59694
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
bakker_be
2016-03-18 08:12:27 UTC
Permalink
I'm on 1.0.3-dev-6 (x86-64) (how does this upgrade BTW, shouldn't it be
automagic?) and for some strange reason my Airport Express seems to come
and go in a random way. It's in my wife's workshop, connected over
powerlan. Up until now I've had an iPad 1 in there, which sends the
music to it using Airplay, but in the summer, when the windows of the
workshop are wide open, as well as the back windows of the house, it's
quite clear that sync isn't really working all that well that way (our
BBQ area is in the middle :)). I never experience dropouts this way
though, so the disappearing of the Airport for hours at a time shouldn't
be a network issue ...
I'd like to use this solution but imperfectly synced music is of course
still better than no music at all :p



Main System: Touch; Marantz SR-5004; TMA Premium 905; TMA Premium 901;
BK Monolith+ FF; HDI Dune Smart D1; Pioneer PDP-LX5090H
iPad 32GB Wifi + Squeezepad (local playback activated)
Acer Iconia Tab A700 + Squeezeplayer
Wandboard Duallite + CSOS, integrated LMS activated
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-03-18 10:41:53 UTC
Permalink
bakker_be wrote:
> I'm on 1.0.3-dev-6 (x86-64) (how does this upgrade BTW, shouldn't it be
> automagic?) and for some strange reason my Airport Express seems to come
> and go in a random way.
Let me chime in before philippe_44 has his say.

I've noticed update is not automatic too. What I do is:
- uncheck the plugin,
- restart LMS,
- check the plugin, DO NOTHING FOR A FEW MINUTES (go get a coffee)
while LMS displays a popup that says "You have to reboot".
In other words, do not dismiss the popup. Unless this was fixed recently
(I just updated my LMS, I don't know yet), dismissing the popup was in
fact interrupting plugin download...
- dismiss the popup finally, and restart LMS
This should propel you to version -dev-9 at least. (In case the
restarted LMS hasn't installed the plugin, and asks for a restart, it
means you dismissed the popup too early.)

About the Airport Express, I use the square hockey puck, the current
version, model A1392. For me it is very stable, never disappears.
However in some early versions of the plugin I had a Libratone device
that had a tendency to vanish. Philippe_44 advised a mitigation strategy
that worked well for me:
- go to Settings>Advanced>AirPlay Bridge,
- in the middle section of the page, with "[default parameters]"
selected, look at the value used in player discovery options: "Player is
enabled <yes> but removed after XX failed scans". In my LMS I can read
30 here. Some time ago the default was 3.
- select the player corresponding to you AE device in the players
drop-down menu, and jack up this variable value,
- Press apply. The bridge restarts and will rediscover your players,
and after a little while you should hopefully get a non-vanishing
player.
For me, player removal after 30 failed scans solved my problem.

I would also recommend to erase the raopbridge.xml configuration file
and let the bridge generate a new one. It is possible that the xml file
used by -dev-9 has a different structure or values that of your current
-dev-6 config file.

HTH



4 SB 3 • Libratone Zipp Mini • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
bakker_be
2016-03-18 14:31:05 UTC
Permalink
epoch1970 wrote:
> Let me chime in before philippe_44 has his say.
>
> I've noticed update is not automatic too. What I do is:
> - uncheck the plugin,
> - restart LMS,
> - check the plugin, DO NOTHING FOR A FEW MINUTES (go get a coffee)
> while LMS displays a popup that says "You have to restart".
> In other words, do not dismiss the popup. Unless this was fixed recently
> (I just updated my LMS, I don't know yet), dismissing the popup was in
> fact interrupting plugin download...
> - dismiss the popup finally, and restart LMS
> This should propel you to version -dev-9 at least. (In case the
> restarted LMS hasn't installed the plugin, and asks for a restart, it
> means you dismissed the popup too early.)
>
> About the Airport Express, I use the square hockey puck, the current
> version, model A1392. For me it is very stable, never disappears.
> However in some early versions of the plugin I had a Libratone device
> that had a tendency to vanish. Philippe_44 advised a mitigation strategy
> that worked well for me:
> - go to Settings>Advanced>AirPlay Bridge,
> - in the middle section of the page, with "[default parameters]"
> selected, look at the value used in player discovery options: "Player is
> enabled <yes> but removed after XX failed scans". In my LMS I can read
> 30 here. Some time ago the default was 3.
> - select the player corresponding to you AE device in the players
> drop-down menu, and jack up this variable value,
> - Press apply. The bridge restarts and will rediscover your players,
> and after a little while you should hopefully get a non-vanishing
> player.
> For me, player removal after 30 failed scans solved my problem.
>
> I would also recommend to erase the raopbridge.xml configuration file
> and let the bridge generate a new one. It is possible that the xml file
> used by -dev-9 has a different structure or values that of your current
> -dev-6 config file.
>
> HTH

Thanks for your reply. The augmentation to 30 is already present in
-dev-6. I'll check if there is a firmware update for the AE I'm using.
As I'm not home at the moment I'm not certain of the model, but it does
indeed resemble a square hockey puck ...



Main System: Touch; Marantz SR-5004; TMA Premium 905; TMA Premium 901;
BK Monolith+ FF; HDI Dune Smart D1; Pioneer PDP-LX5090H
iPad 32GB Wifi + Squeezepad (local playback activated)
Acer Iconia Tab A700 + Squeezeplayer
Wandboard Duallite + CSOS, integrated LMS activated
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-18 21:18:25 UTC
Permalink
bakker_be wrote:
> Thanks for your reply. The augmentation to 30 is already present in
> -dev-6. I'll check if there is a firmware update for the AE I'm using.
> As I'm not home at the moment I'm not certain of the model, but it does
> indeed resemble a square hockey puck ...

I found the reason for 'disapearing player". Fixed in dev-10



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
bakker_be
2016-03-19 19:06:49 UTC
Permalink
philippe_44 wrote:
> I found the reason for 'disapearing player". Fixed in dev-10

I confirm. I've upgraded to dev-10, and it's been rock solid since :)
Can't wait for the good weather to verify sync ;)
Thanks for solving this!



Main System: Touch; Marantz SR-5004; TMA Premium 905; TMA Premium 901;
BK Monolith+ FF; HDI Dune Smart D1; Pioneer PDP-LX5090H
iPad 32GB Wifi + Squeezepad (local playback activated)
Acer Iconia Tab A700 + Squeezeplayer
Wandboard Duallite + CSOS, integrated LMS activated
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-20 01:14:51 UTC
Permalink
I've now uploaded in stable the 1.0.3 (dev is as well updated). It's
mainly bug correction, except for the armv5 version that is no more a
fixed point version, but a floating point and will all codecs statically
linked. It has a better chance to work on NAS that usually don't have
such shared libraries installed



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-03-22 21:35:42 UTC
Permalink
1.0.5 on x86_64 works great for me on all my devices:
- Libratone Loop mk2
- Libratone Zipp Mini - needs a volume command up or down to unmute on
first (?) playback
- Airport Express model 1392
- AppleTV (appletv1,1 original model) - requires network buffer ~2800ms
- AppleTV 4 (appletv5,3 latest model)

Is it possible to lock player volume to 100% on the ATVs and AE ? In
have this option in SB3 players settings, but unfortunately not in
software players settings.

Also, one of those crazy Sabrent device (as used successfully by usc95)
should land in my mailbox this week...



4 SB 3 • Libratone Zipp Mini • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-23 02:14:42 UTC
Permalink
epoch1970 wrote:
> 1.0.5 on x86_64 works great for me on all my devices:
> - Libratone Loop mk2
> - Libratone Zipp Mini - needs a volume command up or down to unmute on
> first (?) playback
> - Airport Express model 1392
> - AppleTV (appletv1,1 original model) - requires network buffer ~2800ms
> - AppleTV 4 (appletv5,3 latest model)
>
> Is it possible to lock player volume to 100% on the ATVs and AE ? In
> have this option in SB3 players settings, but unfortunately not in
> software players settings.
>
> Also, one of those crazy Sabrent devices (as used successfully by usc95)
> should land in my mailbox this week...

I've pushed a 1.0.6-dev-1 where, if you set the "Fix analogue volume" at
-1, all LMS volume commands shall be ignored



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-03-23 15:39:51 UTC
Permalink
usc95 wrote:
> Now I might buy another "squeezebox" for the stunning price of $21.99!
It would be interesting to see how sync works with 2 identical devices.

I got one of these Sabrent WF-RADU devices. Incredible price, quality
build, nice embedded web frontend (!!!), chimes into the speaker when
the network is up. I have installed, very easily, the latest firmware,
v2.0.7

ONE problem: it doesn't sync with the other regular (shall I say
licensed?) Airplay devices I have.
I have connected it to my TDK soundcube, which is a regular speaker with
line-in and, handily enough, an USB power port. Until now I had my
Airport Express connected to the soundcube.
In Airplay Bridge, I couldn't find an audio delay setting to fit the
player. It was swinging ahead or behind my Libratone Loop (both devices
are wifi.)

So I fired up iTunes on my mac, and I can't get this device to sync.
This time the delay is totally stable, but it plays early by half a
second or so. I tried syncing it to the integrated speaker in the mac to
the device, same issue. I tried accessing the device from my wireless
LAN or direct through the access point started by the device, same
issue.

Basically, as far as I can tell, this is a good product for the price,
but I would advise to stick to the manufacturer use case which seems to
enable Airplay audio in a car, without sync.
Don't expect a "squeezebox replacement" or you'll be disappointed. Still
you can use it at home, as long as you wouldn't hear 2 sources at the
same time.

I hope usc95 (or the manufacturer via a firmware update) can prove me
wrong. There is a lot to like in this little device.



4 SB 3 • Libratone Zipp Mini • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
usc95
2016-03-23 19:36:40 UTC
Permalink
Hi Epoch,

I had not tried sync on my Sabrent as my use case for it is in a room
that is far enough from my other squeezeboxes that I won't be
overhearing it. My interest in the device was gapless playback and
easily using airplay for music services not supported by LMS which it
does fine. I have had some trouble with some dropouts after extended
(multi hour) playback that I hope is resolved with Philippe's latest
updates but I haven't had a chance to check yet. I can also confirm
that airplay on this in the car works fine as well although you have to
wait about a minute or so everytime you start your car and select the
device for playback before you can get any audio out of it. That ritual
has grown old so I am moving it inside to use with Philippe's plugin and
will be hooking my phone up via cable.


------------------------------------------------------------------------
usc95's Profile: http://forums.slimdevices.com/member.php?userid=59694
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-03-24 11:26:46 UTC
Permalink
usc95 wrote:
> I have had some trouble with some dropouts after extended (multi hour)
> playback that I hope is resolved with Philippe's latest updates but I
> haven't had a chance to check yet.
I will use the soundcube for a while, this should help confirm how
stable this device runs.
With Airplay Bridge 1.0.5 (stable) I have found I need to lock volume
(at 100) and use encryption. Without encryption, no audio. Without
volume lock, only large changes in volume seem to be taken into account.



4 SB 3 • Libratone Zipp Mini • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-25 04:33:54 UTC
Permalink
epoch1970 wrote:
> I will use the soundcube for a while, this should help confirm how
> stable this device runs.
> With Airplay Bridge 1.0.5 (stable) I have found I need to lock volume
> (at 100) and use encryption. Without encryption, no audio. Without
> volume lock, only large changes in volume seem to be taken into
> account.
>
> EDIT: And it drops. Don't know why, but it is possible to 'telnet and
> login as root'
> (https://sweethack.wordpress.com/2015/01/01/hacking-the-sabrent-low-cost-airplayairtunes-dongle-for-speakers/)
> into the device and perhaps figure out why it..
> The machine is running "airplay -b 104 --apname=SABRENT_xxxx", so this
> looks like shairport but which flavour I don't know.

What woudl also be interesting is to see how it behaves when controlled
by iTunes. For example, my JBL OnBeat volume control does not work,
hence I did this volume lock thing. I thought it was my fault at the
begining, but I have exactly the same behaviour when using iTunes:
sending proper AirPlay volume change commands are either ignored or
cause the device to drop sound, so I change to volume lock and a
"software volume". Remember that "soft volume" change is delayed by the
amount of buffer the device has, and this can be a bit disturbing: with
3000ms of network buffer, any LMS volume command will take 3s to be
applied to the player.



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-03-25 09:08:33 UTC
Permalink
philippe_44 wrote:
> What woudl also be interesting is to see how it behaves when controlled
> by iTunes.
Under iTunes/mac: the volume slider has a much higher latency than other
airplay players I have. Volume control seems accurate (no need to impose
large steps to get an audible change), but a change can take 1sec or so
to become effective.
I will listen to whatever music there is on the mac :( to see how robust
the Sabrent thinggy is with iTunes.

Yesterday with Airplay Bridge, I had encountered several instances where
music drops on a song, and the player remains silent until next track.
The buffer was set to 1000ms, partly because I had experienced drops,
partly because of the delay in volume change effectiveness you mention.
I will run the device a bit more with 3000ms and see.

(Drops don't seem to be related to file format, the device doesn't seem
to be overheating particularly (it's warm though), wifi is presumably
very good. Yesterday I logged in the device but my console under telnet
didn't process linefeeds correctly so running top in a window prove
impractical.)



4 SB 3 • Libratone Zipp Mini • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
philippe_44
2016-03-23 20:18:04 UTC
Permalink
epoch1970 wrote:
> It would be interesting to see how sync works with 2 identical devices.
>
> I got one of these Sabrent WF-RADU devices. Incredible price, quality
> build, nice embedded web frontend (!!!), chimes into the speaker when
> the network is up. I have installed, very easily, the latest firmware,
> v2.0.7
>
> ONE problem: it doesn't sync with the other regular (shall I say
> licensed?) Airplay devices I have.
> I have connected it to my TDK soundcube, which is a regular speaker with
> line-in and, handily enough, an USB power port. Until now I had my
> Airport Express connected to the soundcube.
> In Airplay Bridge, I couldn't find an audio delay setting to fit the
> player. It was swinging ahead or behind my Libratone Loop (both devices
> are wifi.)
>
> So I fired up iTunes on my mac, and I can't get this device to sync.
> This time the delay is totally stable, but the WF-RADU plays early by
> half a second or so. I tried syncing the integrated speaker in the mac
> to the device, same issue. I tried accessing the device from my wireless
> LAN or direct through its embedded access point, same issue.
> EDIT: To my surprise, the device does lip-sync correctly when watching a
> video on an iPad.
>

The video/audio sync is because they are sent as a single stream, where
the multi-speaker sync is requiring a very different set of
functionnality, including having the player's clock synchronized to a
external clock provided by the controler (the bridge in that case), the
player being able to play each packet at a precise moment as indicated
by the controler (each packet comes with a playtime based on the above
sync'd clock) and the player has to guarantee a constant delay on its
D/A conversion queue. What I saw using ShairPort Windows (eg) is that
the timing aspects are not taken into account (in fact, I was running
test with that at the beginning and I thought all was fine, but when I
moved to a real player, I realized that some of my timing information
were wrong, but ShairPort Windows simply did not care)



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
epoch1970
2016-03-18 15:26:49 UTC
Permalink
philippe_44 wrote:
> ...there are 2 reasons potentially for cutoffs.
>
> 1- underrun: Not sending fast enough, so the receiver is missing audio
> data. That would mean that either the network bandwidth is ridiculously
> low or that the bridge is not receiving enough computer CPU to send
> audio fast enough
> 2- overrun : Sending to much data (ie, assuming that the audio buffer in
> the device is big enough to hold 3s of data, but it's not) and so new
> audio data are constantly lost

philippe_44, thanks for your explanations.
Given your description, I suspected buffer overrun with the old AirTunes
device AppleTV 1 and tried to reduce the buffer size. I reduced it to
1000ms and ... bam! Perfect playback on the old AppleTV.
I did not push the binary search to define the exact value, but on my
wired device, the point where playback breaks up is above 2800ms and
below 2900ms.

So now the AppleTV1 works again as a squeezebox. Mystery solved. Very
cool!
I hope this saves you from ploughing through the packet captures I sent
you some days ago ;)



4 SB 3 • Libratone Zipp Mini • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
Loading...