Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-05-26 Thread philippe_44

crewxp wrote: 
> I just found out about this awesome plugin a few weeks ago and just
> recently got everything up! 
> 
> But my airplay bridge players *can't seem to connect to the right
> servers*. Normal players switch servers just fine, but my bridged ones
> start up stuck on what seems like a random server. Changing it from an
> android app or the web interface doesn't change anything. To get the
> player switched to a different server, I have to power off the squeeze
> server it's connected to until it finally connects to the right one.
> 
> Have you any ideas as to what could be causing this? I have attached the
> bridge log below, the squeeze log shows no errors if I click on log in
> the information tab.
> 
> Example:
> 192.168.100.149 [LMS SERVER 1] [HOSTS BRIDGED AV-GYM & AV-STUDIO]
> 192.168.100.152 [LMS SERVER 2] [HOSTS BRIDGED AV-LOBBY]
> 192.168.100.153 [LMS SERVER 3]
> 192.168.100.172 [LMS SERVER 4]
> 
> When they all start up (at the same time), the AV-GYM, LOBBY, or STUDIO
> connects the virtual bridge player to a random LMS SERVER X. 
> Clicking change player to [designated server i click] asks me if im
> sure, then doesn't do anything; no matter how many times I try or if I
> try my app I use.
> I have to power down the LMS SERVER the virtual player is connected to
> in order to get it to connect to a different one.
> 
> -Is there a way I can fix this? Ideally, I would love to be able to
> switch the bridged player's server.
> -If not, is there a way I can manually specify which LMS SERVER to
> connect the bridge to?
> 
> *THANK YOU! I've been stuck on this for a week now*, experimenting
> everyday
> 
> 20531

Switching server is not very well handled in my bridges and as of today,
the "server" parameter with sets the LMS server to connect to if
discovery shall not be used is global to all players managed by a
running squeeze2raop instance. I ran into difficulties that I can't
fully remember right now on the switching servers. I'll explore that
back in the coming weeks and I'll see also if I can set the "server"
parameter to be different to each player - that's doable, but a bit of
careful refactoring of some code as this is today globally shared by all
players. 

Stay tuned



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-05-26 Thread epoch1970

It's been my experience too that 2 bridge plugins installed on 2 LMS on
the network will discover the same devices, and confusion ensues.
You could disable some players in each running plugin, to dedicate LMS1
to players near the Gym, and LMS2 to players near the Lobby. That should
fix the random location at startup.
I don't think connecting a player to another LMS server can work. But
changing the enabled/disabled state on a device in the plugins should
have the same effect, albeit slower.



3 SB 3 • Libratone Loop, Zipp Mini • iPeng (iPhone + iPad) • LMS 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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-05-26 Thread crewxp

from looking at the log, it looks like the bridge tries the switch
server command, but it puts the ip address that it's already connected
to instead of the ip address it's supposed to connect to.



crewxp's Profile: http://forums.slimdevices.com/member.php?userid=39943
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-05-26 Thread crewxp

I just found out about this awesome plugin a few weeks ago and just
recently got everything up! 

But my airplay bridge players *can't seem to connect to the right
servers*. Normal players switch servers just fine, but my bridged ones
start up stuck on what seems like a random server. Changing it from an
android app or the web interface doesn't change anything. To get the
player switched to a different server, I have to power off the squeeze
server it's connected to until it finally connects to the right one.

Have you any ideas as to what could be causing this? I have attached the
bridge log below, the squeeze log shows no errors if I click on log in
the information tab.

Example:
192.168.100.149 [LMS SERVER 1] [HOSTS BRIDGED AV-GYM & AV-STUDIO]
192.168.100.152 [LMS SERVER 2] [HOSTS BRIDGED AV-LOBBY]
192.168.100.153 [LMS SERVER 3]
192.168.100.172 [LMS SERVER 4]

When they all start up (at the same time), the AV-GYM, LOBBY, or STUDIO
connects the virtual bridge player to a random LMS SERVER X. 
Clicking change player to [designated server i click] asks me if im
sure, then doesn't do anything; no matter how many times I try or if I
try my app I use.
I have to power down the LMS SERVER the virtual player is connected to
in order to get it to connect to a different one.

-Is there a way I can fix this? Ideally, I would love to be able to
switch the bridged player's server.
-If not, is there a way I can manually specify which LMS SERVER to
connect the bridge to?

*THANK YOU! I've been stuck on this for a week now*, experimenting
everyday

20531


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


crewxp's Profile: http://forums.slimdevices.com/member.php?userid=39943
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-05-24 Thread d6jg

oyvindo wrote: 
> OK, thanks for your time and support anyway Philippe. As I have no idea
> what lib-this and lib-that is, I guess I'll just have to give up. It's
> not the end of the world  :)
> 
> Maybe someone else with more QNAP knowledge than I have, will step up
> and put together a step-by-step some day :rolleyes:

Doesn't the TS453 include virtualisation support ? If so you -could- run
an instance of Vortexbox in a VM and point it at your QNAP files or you
could run a Windows VM with LMS and point it at the QNAP for that
matter. 

LMS on QNAP can be very fiddly. I still have one running on my TS419 but
the production LMS is a separate Vortexbox with an NFS mount to the
QNAP.



*Vortexbox LMS 7.8 music on QNAP TS419p via NFS* iThingys/iPeng/Tablets
*Living Room* - SB3 -> Onkyo TS606 - > Celestion Ditton F20s - Zone 2 ->
Sony TA FE 320 -> Sennheiser RS 130 & B P7
*Office* - RPi -> Sony TA FE320 -> Celestion F10s / SB3 -> Onkyo CRN 755
-> Wharfedale Modus Cubes
*Dining Room* -> SB Boom *Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - SB Touch -> Topping TP21 -> AKG Headphones
*Bedroom (TV)* - Amazon Fire TV (SB Player) -> Topping TP20 ->
Wharfedale Modus Cubes

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-05-12 Thread woodster

philippe_44 wrote: 
> This is on the LMS to plugin side of the bridge (vs the plugin to
> airplay): the connection with LMS is lost and is automatically
> restablished

Hi philippe_44,

Thanks for your quick reply.

OK - it's running on the same RPi - so it seems strange the connection
should be lost - any ideas?

Martin



woodster's Profile: http://forums.slimdevices.com/member.php?userid=32688
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-05-12 Thread philippe_44

woodster wrote: 
> Hi, 
> 
> I just had a look on the log, and thought it looked strange? 
> 
> The log shows:
> [20:31:07.293678] AddRaopDevice:623 [0xdc900]: adding renderer
> (LibratoneSoundbar)
> [20:31:07.300781] output_raop_thread_init:144 [0x8d008]: init output
> raop
> [20:31:07.301101] output_init_common:307 allocating 1764000
> 
> [20:35:26.164923] slimproto:824 [0x8a900] connected
> [20:35:26.165371] sendHELO:107 [0x8a900] cap:
> Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
> [20:36:02.210806] slimproto_run:597 [0x8a900] No messages from server -
> connection dead
> [20:36:02.311405] slimproto:824 [0x8a900] connected
> [20:36:02.311562] sendHELO:107 [0x8a900] cap:
> Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
> ... 
> ... 20:46:58.756905] output_init_common:307 allocating 1764000
> [20:46:58.835626] slimproto_thread_init:942 [0x8f710] connecting to
> 10.0.0.5:3483
> [20:46:58.836430] slimproto:824 [0x8f710] connected
> [20:46:58.836589] sendHELO:107 [0x8f710] cap:
> Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
> [20:47:04.052572] PlayerThread:376 [0xdc230]: processing off
> [20:47:04.108260] PlayerThread:376 [0xdc900]: processing off

This is on the LMS to plugin side of the bridge (vs the plugin to
airplay): the connection with LMS is lost and is automatically
restablished



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-05-12 Thread woodster

Hi, 

I just had a look on the log, and thought it looked strange? 

The log shows:
[20:31:07.293678] AddRaopDevice:623 [0xdc900]: adding renderer
(LibratoneSoundbar)
[20:31:07.300781] output_raop_thread_init:144 [0x8d008]: init output
raop
[20:31:07.301101] output_init_common:307 allocating 1764000
[20:31:13.040551] slimproto_run:597 [0x8a900] No messages from server -
connection dead
[20:31:13.141544] slimproto:824 [0x8a900] connected
[20:31:13.141710] sendHELO:107 [0x8a900] cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
[20:31:49.184641] slimproto_run:597 [0x8a900] No messages from server -
connection dead
[20:31:49.285330] slimproto:824 [0x8a900] connected
[20:31:49.285503] sendHELO:107 [0x8a900] cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
[20:32:25.329694] slimproto_run:597 [0x8a900] No messages from server -
connection dead
[20:32:25.430366] slimproto:824 [0x8a900] connected
[20:32:25.430535] sendHELO:107 [0x8a900] cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
[20:33:01.475762] slimproto_run:597 [0x8a900] No messages from server -
connection dead
[20:33:01.576464] slimproto:824 [0x8a900] connected
[20:33:01.576686] sendHELO:107 [0x8a900] cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
[20:33:37.621988] slimproto_run:597 [0x8a900] No messages from server -
connection dead
[20:33:37.722785] slimproto:824 [0x8a900] connected
[20:33:37.722966] sendHELO:107 [0x8a900] cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
[20:34:13.767720] slimproto_run:597 [0x8a900] No messages from server -
connection dead
[20:34:13.873770] slimproto:824 [0x8a900] connected
[20:34:13.873966] sendHELO:107 [0x8a900] cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
[20:34:49.918217] slimproto_run:597 [0x8a900] No messages from server -
connection dead
[20:34:50.019032] slimproto:824 [0x8a900] connected
[20:34:50.019216] sendHELO:107 [0x8a900] cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
[20:35:26.064139] slimproto_run:597 [0x8a900] No messages from server -
connection dead
[20:35:26.164923] slimproto:824 [0x8a900] connected
[20:35:26.165371] sendHELO:107 [0x8a900] cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
[20:36:02.210806] slimproto_run:597 [0x8a900] No messages from server -
connection dead
[20:36:02.311405] slimproto:824 [0x8a900] connected
[20:36:02.311562] sendHELO:107 [0x8a900] cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
... 
... 20:46:58.756905] output_init_common:307 allocating 1764000
[20:46:58.835626] slimproto_thread_init:942 [0x8f710] connecting to
10.0.0.5:3483
[20:46:58.836430] slimproto:824 [0x8f710] connected
[20:46:58.836589] sendHELO:107 [0x8f710] cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
[20:47:04.052572] PlayerThread:376 [0xdc230]: processing off
[20:47:04.108260] PlayerThread:376 [0xdc900]: processing off



woodster's Profile: http://forums.slimdevices.com/member.php?userid=32688
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-30 Thread oyvindo

philippe_44 wrote: 
> I understand, these library things are pretty technical and although
> they are almost always available on computers, they are not on NAS. If I
> find the time to have them built-in for your platform, I'll let you know

Thank you Philippe, but please do not give priority to it just for me -
unless other show up to vote as well. I'm using Castbridge and your
UPnP/DLNA bridge and I'm very happy with those. Music is flowing in my
home, thanks to you :o



QNAP TS-453Mini 4TB RAID10 QTS 4.2.1 Unbuntu 14.4
Madsonic 6.0
Plex 0.9.16.1

QNAP HS-251 4TB RAID0, QTS 4.2.1
Logitech Media server 7.9
Kodi 16.1 Jarvis

QNAP TS-119 1TB Single, QTS 4.2.1
Retired

oyvindo's Profile: http://forums.slimdevices.com/member.php?userid=19302
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-30 Thread philippe_44

oyvindo wrote: 
> OK, thanks for your time and support anyway Philippe. As I have no idea
> what lib-this and lib-that is, I guess I'll just have to give up. It's
> not the end of the world  :)
> 
> Maybe someone else with more QNAP knowledge than I have, will step up
> and put together a step-by-step some day :rolleyes:

I understand, these library things are pretty technical and although
they are almost always available on computers, they are not on NAS. If I
find the time to have them built-in for your platform, I'll let you know



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-30 Thread oyvindo

philippe_44 wrote: 
> Unfortunately what you need are shared libs libFLAC.so.8, libmad.so.0
> and/or libmpg123.so.0, libfaad.so.2 built for your platform. I've made
> them built-in the squeeze2raop application for armv5 and OSX, but this
> is a lot of work and I've not made that for any other Linux built
> (armv6, x86). So if you can't find these (they should be in some
> /xxx/lib directory, then it cannot work
OK, thanks for your time and support anyway Philippe. As I have no idea
what lib-this and lib-that is, I guess I'll just have to give up. It's
not the end of the world  :)

Maybe someone else with more QNAP knowledge than I have, will step up
and put together a step-by-step some day :rolleyes:



QNAP TS-453Mini 4TB RAID10 QTS 4.2.1 Unbuntu 14.4
Madsonic 6.0
Plex 0.9.16.1

QNAP HS-251 4TB RAID0, QTS 4.2.1
Logitech Media server 7.9
Kodi 16.1 Jarvis

QNAP TS-119 1TB Single, QTS 4.2.1
Retired

oyvindo's Profile: http://forums.slimdevices.com/member.php?userid=19302
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-30 Thread philippe_44

oyvindo wrote: 
> Of course!!  Stupid me :( I should have thought of that. Sorry.
> Now it works from Windows. Meaning - it plays :o
> That's a great step forward.
> 
> But going back to LMS running on my QNAP QTS 4.2.1 It fails to play (No
> Sound).
> I have Lame installed:> 
Code:

  >   > [~] # which lame
  > /opt/bin/lame
  > [~] # lame
  > LAME 64bits version 3.99.5 (http://lame.sf.net)
  > 
  > usage: lame [options]  [outfile]
  > 

> > 
> Still, RaopBridge complains that it cannot find the codec:
> > 
Code:

  >   > Starting Squeeze2raop: 
/opt/ssods4/var/home/SqueezeboxServer/Cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-static
 -Z -I -f /opt/ssods4/var/home/SqueezeboxServer/Logs/raopbridge.log -x 
/opt/ssods4/var/home/SqueezeboxServer/Prefs/raopbridge.xml
  > [15:01:42.586713] main:929 Starting squeeze2raop version: v0.1.0.6-dev-4 
(Apr 16 2016 @ 11:23:49)
  > 
  > [15:01:57.635083] AddRaopDevice:623 [0x82b7be0]: adding renderer (Apple-TV)
  > [15:01:57.636981] output_raop_thread_init:144 [0x82663a0]: init output raop
  > [15:01:57.637102] output_init_common:307 allocating 1764000
  > [15:01:57.637573] slimproto_thread_init:942 [0x82663a0] connecting to 
192.168.0.12:3483
  > [15:01:57.638492] slimproto:824 [0x82663a0] connected
  > [15:01:57.638542] sendHELO:107 [0x82663a0] cap: 
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
  > [15:01:57.641290] PlayerThread:381 [0x82b7be0]: processing volume
  > [15:02:23.568119] PlayerThread:369 [0x82b7be0]: flushing ... (1)
  > [15:02:23.621943] PlayerThread:381 [0x82b7be0]: processing volume
  > [15:02:23.623405] process_strm:230 [0x82663a0] strm command s
  > [15:02:23.623450] process_strm:308 [0x82663a0], strm s autostart: 1 
transition period: 10 transition type: 0 codec: m
  > [15:02:23.623495] codec_open:260 codec not found
  > [15:02:23.623521] sq_callback:287 [0x82b7be0]: codec:m, ch:255, s:255, r:255
  > [15:02:23.623548] PlayerThread:358 [0x82b7be0]: raop connecting ...
  > [15:02:23.624759] raopcl_connect:662 [0x82c9ef8]: local interface 
192.168.0.12
  > [15:02:23.894398] PlayerThread:361 [0x82b7be0]: raop connected
  > [15:02:23.894455] PlayerThread:381 [0x82b7be0]: processing volume
  > [15:02:23.898231] raopcl_send_sample:261 [0x82c9ef8]: Send 1st packet + 
synchro at:1733595779

> > 
> So I guess I have to tell it exactly where to find it, but how do I do
> that? 
> Allthough /opt/bin/ is in the path:
> > 
Code:

  >   > [~] # echo $PATH
  > 
/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin
  > 

> > 


Unfortunately what you need are shared libs libFLAC.so.8, libmad.so.0
and/or libmpg123.so.0, libfaad.so.2 built for your platform. I've made
them built-in the squeeze2raop application for armv5 and OSX, but this
is a lot of work and I've not made that for any other Linux built
(armv6, x86). So if you can't find these (they should be in some
/xxx/lib directory, then it cannot work



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-30 Thread oyvindo

philippe_44 wrote: 
> You likely have left the other airplay bridge (on the QNAP) activated:
> that creates an issue with LMS. Also, on Windows, make sure that the
> firewall does not block the plugin
Of course!!  Stupid me :( I should have thought of that. Sorry.
Now it works from Windows. Meaning - it plays :o
That's a great step forward.
Does this mean that when running on windows it no longer need Lame (?),
or is it because I just happened to have Lame on windows, or because
Lame is an integral part of the WIndows platform??



QNAP TS-453Mini 4TB RAID10 QTS 4.2.1 Unbuntu 14.4
Madsonic 6.0
Plex 0.9.16.1

QNAP HS-251 4TB RAID0, QTS 4.2.1
Logitech Media server 7.9
Kodi 16.1 Jarvis

QNAP TS-119 1TB Single, QTS 4.2.1
Retired

oyvindo's Profile: http://forums.slimdevices.com/member.php?userid=19302
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-30 Thread philippe_44

oyvindo wrote: 
> I tried to run it on my Windows PC, and this is what I got:
> > 
Code:

  >   > [13:10:55.576] main:914 Starting squeeze2raop version: v0.1.0.6-dev-4 
(Apr 16 2016 @ 11:20:27)
  > 
  > [13:10:55.576] main:917
  > 
  > !! ERROR LOADING CONFIG FILE !
  > 
  > [13:11:40.869] AddRaopDevice:611 [0045A8E0]: adding renderer (Apple-TV)
  > [13:11:41.012] output_raop_thread_init:144 [0046CF98]: init output raop
  > [13:11:41.013] output_init_common:307 allocating 1764000
  > [13:11:41.021] slimproto_thread_init:942 [0046CF98] connecting to 
192.168.0.12:3483
  > [13:11:41.036] slimproto:824 [0046CF98] connected
  > [13:11:41.036] sendHELO:107 [0046CF98] cap: 
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
  > [13:11:41.042] PlayerThread:370 [0045A8E0]: processing off
  > [13:11:41.222] slimproto_run:569 [0046CF98] error reading from socket: 
closed
  > [13:11:41.331] slimproto:824 [0046CF98] connected
  > [13:11:41.331] sendHELO:107 [0046CF98] cap: 
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
  > [13:11:41.340] PlayerThread:370 [0045A8E0]: processing off
  > [13:11:41.530] slimproto_run:569 [0046CF98] error reading from socket: 
closed

> > 
> Then it goes on repeating the last there lines over and over
> forever


You likely have left the other airplay bridge (on the QNAP) activated:
that creates an issue with LMS. Also, on Windows, make sure that the
firewall does not block the plugin



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-30 Thread oyvindo

philippe_44 wrote: 
> The executable 'squeeze2raop-xxx' can run on any computer, it does not
> need to be co-located with LMS. You can, for test, try it on a Windows,
> Linux x86 or ARM (a pi) or OSX and it will work the same way. Then, if
> it works to your satisfaction, you can see what's missing (probably the
> shared libs) on the QNAP platform

I tried to run it on my Windows PC, and this is what I got:

Code:

[13:10:55.576] main:914 Starting squeeze2raop version: v0.1.0.6-dev-4 (Apr 
16 2016 @ 11:20:27)
  
  [13:10:55.576] main:917
  
  !! ERROR LOADING CONFIG FILE !
  
  [13:11:40.869] AddRaopDevice:611 [0045A8E0]: adding renderer (Apple-TV)
  [13:11:41.012] output_raop_thread_init:144 [0046CF98]: init output raop
  [13:11:41.013] output_init_common:307 allocating 1764000
  [13:11:41.021] slimproto_thread_init:942 [0046CF98] connecting to 
192.168.0.12:3483
  [13:11:41.036] slimproto:824 [0046CF98] connected
  [13:11:41.036] sendHELO:107 [0046CF98] cap: 
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
  [13:11:41.042] PlayerThread:370 [0045A8E0]: processing off
  [13:11:41.222] slimproto_run:569 [0046CF98] error reading from socket: closed
  [13:11:41.331] slimproto:824 [0046CF98] connected
  [13:11:41.331] sendHELO:107 [0046CF98] cap: 
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
  [13:11:41.340] PlayerThread:370 [0045A8E0]: processing off
  [13:11:41.530] slimproto_run:569 [0046CF98] error reading from socket: closed


Then it goes on repeating the last four lines over and over forever



QNAP TS-453Mini 4TB RAID10 QTS 4.2.1 Unbuntu 14.4
Madsonic 6.0
Plex 0.9.16.1

QNAP HS-251 4TB RAID0, QTS 4.2.1
Logitech Media server 7.9
Kodi 16.1 Jarvis

QNAP TS-119 1TB Single, QTS 4.2.1
Retired

oyvindo's Profile: http://forums.slimdevices.com/member.php?userid=19302
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-30 Thread philippe_44

oyvindo wrote: 
> I disabled the Password security.
> Is it correct that the plug-in cannot play mp3 files? I cannot find the
> file custom-convert.xml  anywhere. I did a search through all subfolders
> of LMS.
> My platform is QNAP QTS 4.2.1
> I updated (changed) the repo to
> http://iweb.dl.sourceforge.net/project/lms-to-raop/dev/repo-sf.xml and a
> new version was downloaded, but the problem is still the same... No
> Sound, but the AppleTV says; Now Playing, no name.

The plug-in can play mp3, flac, aac, pcm but the decoders must be
available on your platform. What binary do you choose for the QNAP ? If
you can send me the log since the start of the plugin, I think we'd see
that the mp3 decoder is not loaded probably because it is not installed
on your QNAP platform


Code:


  Format supported: AirPlay requires tracks to be 44.1kHz/16 bits, sq2r will do 
the necessary decoding. It supports mp3,flac,aac,aif,pcm as well as resampling 
and 24 bits truncating. Such decoding requires a fair amount of CPU. You need 
to have the corresponding libraries installed. For windows, the DLL are 
provided in the package, for Linux you need to make sure that the .so are 
installed. (libFLAC.so.8, libmad.so.0 and/or libmpg123.so.0, libfaad.so.2). The 
resampler is built-in with the application, no need of shared librairies. For 
OSX, as such libraries seems to be difficult to find, everything is built-in.
  




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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-30 Thread oyvindo

philippe_44 wrote: 
> Hi - There is something with loggin then, and I don't remember what, but
> that log should not be part of LMS log, but in a separated file. Their
> is probably a redirect function (I discuss that previous but can't
> recall where). Having said that, I see a few things here: 
> 
> - LMS password protection: most of my plugins don't work well with that
> and TBH, I don't test anymore with password protection activated, so I'm
> not sure what's happening in that configuration (might be okay, though)
> - What platform is your LMS running onto ? I see that airplaybridge is
> complaining about 'codec not found' and that means that the mp3 codec
> has not been loaded when the plugin started ==> that explain the no
> sound and issues
> 
> NB: the mode of this plugin in quite different compared to upnp/cast
> bridge(s): the squeeze2raop application does a full decoding of the
> stream, it is not anymore a "passthrough" as the others are. So it must
> find all the audio codecs at startup, load them, and then use them to
> decode audio streams into PCM
I disabled the Password security.
However, I cannot find the file custom-convert.xml  anywhere. I did a
search through all subfolders of LMS.
My platform is QNAP QTS 4.2.1



QNAP TS-453Mini 4TB RAID10 QTS 4.2.1 Unbuntu 14.4
Madsonic 6.0
Plex 0.9.16.1

QNAP HS-251 4TB RAID0, QTS 4.2.1
Logitech Media server 7.9
Kodi 16.1 Jarvis

QNAP TS-119 1TB Single, QTS 4.2.1
Retired

oyvindo's Profile: http://forums.slimdevices.com/member.php?userid=19302
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-30 Thread philippe_44

oyvindo wrote: 
> Hi Philippe,
> 
> I tried AirPlay Bridge today, and it reports correctly that it has found
> my AppleTV (2nd gen). When I try to play, a black box with now playing
> comes up on the TV, but no sound.
> Trying to start and stop the playback from LMS doesn't work. The only
> way to stop playback is to click the 'off' button for that player in
> LMS. By 'playback' I mean the fact the the progress bar is running.
> All my music files are mp3.  I saw in this thread that there was some
> comments from you about special handling of mp3, but I couldn't really
> understand it. Also, just FYI, my LMS is password protected.
> 
> This is what I found in the LMS log (I did not activate the plug-in
> log):
> > 
Code:

  >   > 0184: [10:31:44.124882] PlayerThread:328 [0x82b7b60]: broken 
connection, attempting reset
  > 0183: [10:31:44.124815] raopcl_is_sane:144 [0x82c8010]: not connected
  > 0182: [10:31:43.991807] raopcl_send_sample:261 [0x82c8010]: Send 1st packet 
+ synchro at:1724877849
  > 0181: [10:31:43.983694] exec_request:481 [0x82c92e8]: response :  request 
failed
  > 0180: [10:31:43.983676] read_line:213 disconnected on the other end 9
  > 0179: [10:31:43.983624] raopcl_flush_stream:763 [0x82c8010]: flushing up to 
s:17767 ts:1724877849
  > 0178: [10:31:43.983561] PlayerThread:369 [0x82b7b60]: flushing ... (1)
  > 0177: [10:30:21.118873] raopcl_send_sample:261 [0x82c8010]: Send 1st packet 
+ synchro at:1721222329
  > 0176: [10:30:21.111543] PlayerThread:381 [0x82b7b60]: processing volume
  > 0175: [10:30:21.111482] PlayerThread:361 [0x82b7b60]: raop connected
  > 0174: [10:30:20.200149] raopcl_connect:661 [0x82c8010]: local interface 
192.168.0.12
  > 0173: [10:30:20.196365] PlayerThread:358 [0x82b7b60]: raop connecting ...
  > 0172: [10:30:20.196203] sq_callback:287 [0x82b7b60]: codec:m, ch:255, 
s:255, r:255
  > 0171: [10:30:20.196177] codec_open:260 codec not found
  > 0170: [10:30:20.196129] process_strm:308 [0x8266320], strm s autostart: 1 
transition period: 10 transition type: 0 codec: m
  > 0169: [10:30:20.196084] process_strm:230 [0x8266320] strm command s
  > 0168: [10:30:20.194447] PlayerThread:381 [0x82b7b60]: processing volume
  > 0167: [10:30:19.933377] PlayerThread:369 [0x82b7b60]: flushing ... (1)
  > 0166: [10:28:23.360396] PlayerThread:381 [0x82b7b60]: processing volume
  > 0165: [10:28:23.228947] sendHELO:107 [0x8266320] cap: 
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
  > 0164: [10:28:23.228897] slimproto:823 [0x8266320] connected
  > 0163: [10:28:23.228112] slimproto_thread_init:941 [0x8266320] connecting to 
192.168.0.12:3483
  > 0162: [10:28:23.227613] output_init_common:307 allocating 1764000
  > 0161: [10:28:23.227482] output_raop_thread_init:144 [0x8266320]: init 
output raop
  > 0160: [10:28:23.225495] AddRaopDevice:623 [0x82b7b60]: adding renderer 
(Apple-TV)

> > 

Hi - There is something with loggin then, and I don't remember what, but
that log should not be part of LMS log, but in a separated file. Their
is probably a redirect function (I discuss that previous but can't
recall where). Having said that, I see a few things here: 

- LMS password protection: most of my plugins don't work well with that
and TBH, I don't test anymore with password protection activated, so I'm
not sure what's happening in that configuration (might be okay, though)
- What platform is your LMS running onto ? I see that airplaybridge is
complaining about 'codec not found' and that means that the mp3 codec
has not been loaded when the plugin started ==> that explain the no
sound and issues

NB: the mode of this plugin in quite different compared to upnp/cast
bridge(s): the squeeze2raop application does a full decoding of the
stream, it is not anymore a "passthrough" as the others are. So it must
find all the audio codecs at startup, load them, and then use them to
decode audio streams into PCM



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-30 Thread oyvindo

Hi Philippe,

I tried AirPlay Bridge today, and it reports correctly that it has found
my AppleTV (2nd gen). When I try to play, a black box with now playing
comes up on the TV, but no sound.
Trying to start and stop the playback from LMS doesn't work. The only
way to stop playback is to click the 'off' button for that player in
LMS. By 'playback' I mean the fact the the progress bar is running.
All my music files are mp3.  I saw in this thread that there was some
comments from you about special handling of mp3, but I couldn't really
understand it. Also, just FYI, my LMS is password protected.

This is what I found in the LMS log (I did not activate the plug-in
log):

Code:

0184: [10:31:44.124882] PlayerThread:328 [0x82b7b60]: broken connection, 
attempting reset
  0183: [10:31:44.124815] raopcl_is_sane:144 [0x82c8010]: not connected
  0182: [10:31:43.991807] raopcl_send_sample:261 [0x82c8010]: Send 1st packet + 
synchro at:1724877849
  0181: [10:31:43.983694] exec_request:481 [0x82c92e8]: response :  request 
failed
  0180: [10:31:43.983676] read_line:213 disconnected on the other end 9
  0179: [10:31:43.983624] raopcl_flush_stream:763 [0x82c8010]: flushing up to 
s:17767 ts:1724877849
  0178: [10:31:43.983561] PlayerThread:369 [0x82b7b60]: flushing ... (1)
  0177: [10:30:21.118873] raopcl_send_sample:261 [0x82c8010]: Send 1st packet + 
synchro at:1721222329
  0176: [10:30:21.111543] PlayerThread:381 [0x82b7b60]: processing volume
  0175: [10:30:21.111482] PlayerThread:361 [0x82b7b60]: raop connected
  0174: [10:30:20.200149] raopcl_connect:661 [0x82c8010]: local interface 
192.168.0.12
  0173: [10:30:20.196365] PlayerThread:358 [0x82b7b60]: raop connecting ...
  0172: [10:30:20.196203] sq_callback:287 [0x82b7b60]: codec:m, ch:255, s:255, 
r:255
  0171: [10:30:20.196177] codec_open:260 codec not found
  0170: [10:30:20.196129] process_strm:308 [0x8266320], strm s autostart: 1 
transition period: 10 transition type: 0 codec: m
  0169: [10:30:20.196084] process_strm:230 [0x8266320] strm command s
  0168: [10:30:20.194447] PlayerThread:381 [0x82b7b60]: processing volume
  0167: [10:30:19.933377] PlayerThread:369 [0x82b7b60]: flushing ... (1)
  0166: [10:28:23.360396] PlayerThread:381 [0x82b7b60]: processing volume
  0165: [10:28:23.228947] sendHELO:107 [0x8266320] cap: 
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
  0164: [10:28:23.228897] slimproto:823 [0x8266320] connected
  0163: [10:28:23.228112] slimproto_thread_init:941 [0x8266320] connecting to 
192.168.0.12:3483
  0162: [10:28:23.227613] output_init_common:307 allocating 1764000
  0161: [10:28:23.227482] output_raop_thread_init:144 [0x8266320]: init output 
raop
  0160: [10:28:23.225495] AddRaopDevice:623 [0x82b7b60]: adding renderer 
(Apple-TV)




QNAP HS-251 4TB RAID0, QTS 4.2.1 beta
Kodi 15.2 Isengard
Logitech Media server 7.9

QNAP TS-119 1TB Single, QTS 4.2.0 Stable
Logitech Media Server 7.9
MediaSonic 5.01

oyvindo's Profile: http://forums.slimdevices.com/member.php?userid=19302
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-25 Thread schmurtz

philippe_44 wrote: 
> Thanks - Doesn't the shairtunes2 plugin do what you want ? or maybe I
> misuderstood. 
> 
> Re shairport4W, you have to enable encryption in the options of the
> virtual player created for shairport (in AirPlaay Bridge plugin
> setting), otherwise yes, shairport4w crashes

My server is working on Windows... I've just tried shairtunes2 with an
VM and it is awesome too. 
It is really a pity that shairtunes2 don't work on Windows ! It would be
easier if shairtunes2 was compatible with Windows (Now I have de VMware
player always running on my computer...)

Quickly I thought of a test : "And if I combine LMS-to-UPnP and
shairtunes2 ?"
Believe it or not it work ! LMS-to-UPnP transforms each DLNA device into
a squeezebox player and shairtunes2 transforms each squeezebox player
into airplay player. All taht with about one second of delay only !

You have created a way to transform any DLNA device into airplay
receiver !

Just for that it is interesting to have squeezebox server in his house
!

Thanks for that.



schmurtz's Profile: http://forums.slimdevices.com/member.php?userid=57368
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-25 Thread woodster

philippe_44 wrote: 
> If you stop and re-start the plugin, does it find the speaker at the
> same adress/port ? Some players change port randomly, and this change is
> only seen by my plugin at discovery time (every 30 seconds - default)

Ahh.. Might be the issue...Strange it continues though as nothing was
playing on the controller after I pressed stop. 

After a lot of the same log, this happens... The restart causes the
players
to be found. 


:08:31.314188] get_tcp_connect:136 cannot connect addr=10.0.0.92,
port=1024
[22:08:32.314482] raopcl_is_sane:144 [0x4d9ce18]: not connected
[22:08:32.314719] PlayerThread:328 [0xdd6a0]: broken connection,
attempting reset
[22:08:32.420040] get_tcp_connect:136 cannot connect addr=10.0.0.92,
port=1024
[22:08:33.420387] raopcl_is_sane:144 [0x4d9ce18]: not connected
[22:08:33.420629] PlayerThread:328 [0xdd6a0]: broken connection,
attempting reset
[22:08:33.526351] get_tcp_connect:136 cannot connect addr=10.0.0.92,
port=1024
[22:08:34.526634] raopcl_is_sane:144 [0x4d9ce18]: not connected
[22:08:34.526884] PlayerThread:328 [0xdd6a0]: broken connection,
attempting reset
[22:08:34.527155] open_tcp_socket:83 cannot create tcp socket 0

Retarting Squeeze2raop after crash.



woodster's Profile: http://forums.slimdevices.com/member.php?userid=32688
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-25 Thread philippe_44

woodster wrote: 
> Today I had no sound, and the following in the log. 
> 
> connection, attempting reset
> [20:15:53.625523] get_tcp_connect:136 cannot connect addr=10.0.0.92,
> port=1024
> [20:15:54.625801] raopcl_is_sane:144 [0x4d9ce18]: not connected
> [20:15:54.626045] PlayerThread:328 [0xdd6a0]: broken connection,
> attempting reset
> [20:15:54.730810] get_tcp_connect:136 cannot connect addr=10.0.0.92,
> port=1024
> [20:15:55.731110] raopcl_is_sane:144 [0x4d9ce18]: not connected
> [20:15:55.731352] PlayerThread:328 [0xdd6a0]: broken connection,
> attempting reset
> [20:15:55.836110] get_tcp_connect:136 cannot connect addr=10.0.0.92,
> port=1024
> [20:15:56.836406] raopcl_is_sane:144 [0x4d9ce18]: not connected
> [20:15:56.836635] PlayerThread:328 [0xdd6a0]: broken connection,
> attempting reset
> [20:15:56.942856] get_tcp_connect:136 cannot connect addr=10.0.0.92,
> port=1024
> [20:15:57.943141] raopcl_is_sane:144 [0x4d9ce18]: not connected
> [20:15:57.943375] PlayerThread:328 [0xdd6a0]: broken connection,
> attempting reset
> [20:15:58.049564] get_tcp_connect:136 cannot connect addr=10.0.0.92,
> port=1024
> [20:15:59.049915] raopcl_is_sane:144 [0x4d9ce18]: no
> 
> The speaker / ip is online, and found by the discovery. 
> 
> Running version 1.0.6 dev 4

If you stop and re-start the plugin, does it find the speaker at the
same adress/port ? Some players change port randomly, and this change is
only seen by my plugin at discovery time (every 30 seconds - default)



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-24 Thread woodster

Today I had no sound, and the following in the log. 

connection, attempting reset
[20:15:53.625523] get_tcp_connect:136 cannot connect addr=10.0.0.92,
port=1024
[20:15:54.625801] raopcl_is_sane:144 [0x4d9ce18]: not connected
[20:15:54.626045] PlayerThread:328 [0xdd6a0]: broken connection,
attempting reset
[20:15:54.730810] get_tcp_connect:136 cannot connect addr=10.0.0.92,
port=1024
[20:15:55.731110] raopcl_is_sane:144 [0x4d9ce18]: not connected
[20:15:55.731352] PlayerThread:328 [0xdd6a0]: broken connection,
attempting reset
[20:15:55.836110] get_tcp_connect:136 cannot connect addr=10.0.0.92,
port=1024
[20:15:56.836406] raopcl_is_sane:144 [0x4d9ce18]: not connected
[20:15:56.836635] PlayerThread:328 [0xdd6a0]: broken connection,
attempting reset
[20:15:56.942856] get_tcp_connect:136 cannot connect addr=10.0.0.92,
port=1024
[20:15:57.943141] raopcl_is_sane:144 [0x4d9ce18]: not connected
[20:15:57.943375] PlayerThread:328 [0xdd6a0]: broken connection,
attempting reset
[20:15:58.049564] get_tcp_connect:136 cannot connect addr=10.0.0.92,
port=1024
[20:15:59.049915] raopcl_is_sane:144 [0x4d9ce18]: no

The speaker / ip is online, and found by the discovery. 

Running version 1.0.6 dev 4



woodster's Profile: http://forums.slimdevices.com/member.php?userid=32688
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-23 Thread philippe_44

schmurtz wrote: 
> Hello,
> 
> Thanks for these excellent plugins ! What a good surprise to find these
> news in the plugin manager !
> I use LMS-to-Raop and LMS-to-UPnP , this is awesome !
> 
> I've got one big question : now the airplay technology and bridges has
> no secret for you, are you going to make a plugin to transform a
> squeezebox into an airplay player ?
> I've done a plugin to do it ('see here'
> (http://forums.slimdevices.com/showthread.php?100048-Announce-Airplay-on-squeezebox-%28for-Windows%29))
> but it is much a trick than a real plugin. A real bridge should be
> awesome with less hack and less delay !
> 
> Just FYI, it's not really your business but shairport4W crach
> immediately with LMS-to-Raop.
> 
> Thank again ;)

Thanks - Doesn't the shairtunes2 plugin do what you want ? or maybe I
misuderstood. 

Re shairport4W, you have to enable encryption in the options of the
virtual player created for shairport (in AirPlaay Bridge plugin
setting), otherwise yes, shairport4w crashes



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-22 Thread schmurtz

Hello,

Thanks for these excellent plugins ! What a good surprise to find these
news in the plugin manager !
I use LMS-to-Raop and LMS-to-UPnP , this is awesome !

I've got one big question : now the airplay technology and bridges has
no secret for you, are you going to make a plugin to transform a
squeezebox into an airplay player ?
I've done a plugin to do it ('see here'
(http://forums.slimdevices.com/showthread.php?100048-Announce-Airplay-on-squeezebox-%28for-Windows%29))
but it is much a trick than a real plugin. A real bridge should be
awesome with less hack and less delay !

Just FYI, it's not really your business but shairport4W crach
immediately with LMS-to-Raop.

Thank again ;)



schmurtz's Profile: http://forums.slimdevices.com/member.php?userid=57368
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-20 Thread epoch1970

My LMS server is a VM ...
Code:

root@montreux:~# cat /proc/cpuinfo 
  processor : 0
  vendor_id : GenuineIntel
  cpu family: 6
  model : 15
  model name: Intel(R) Core(TM)2 Duo CPU T7700  @ 2.40GHz
  stepping  : 11
  microcode : 0x1
  cpu MHz   : 1994.999
  cache size: 4096 KB
  physical id   : 0
  siblings  : 1
  core id   : 0
  cpu cores : 1
  apicid: 0
  initial apicid: 0
  fpu   : yes
  fpu_exception : yes
  cpuid level   : 10
  wp: yes
  flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush mmx fxsr sse sse2 ss syscall nx lm constant_tsc arch_perfmon 
rep_good nopl pni ssse3 cx16 hypervisor lahf_lm
  bogomips  : 3989.99
  clflush size  : 64
  cache_alignment   : 64
  address sizes : 40 bits physical, 48 bits virtual
  power management:


... running on a Poweredge 2900 (2 dual-core CPUs)
Code:

processor   : 3
  vendor_id : GenuineIntel
  cpu family: 6
  model : 15
  model name: Intel(R) Xeon(R) CPU5130  @ 2.00GHz
  stepping  : 11
  microcode : 0xbc
  cpu MHz   : 1994.873
  cache size: 4096 KB
  physical id   : 3
  siblings  : 2
  core id   : 1
  cpu cores : 2
  apicid: 7
  initial apicid: 7
  fpu   : yes
  fpu_exception : yes
  cpuid level   : 10
  wp: yes
  flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm 
constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor 
ds_cpl vmx tm2 ssse3 cx16 xtpr pdcm dca lahf_lm dtherm tpr_shadow
  bogomips  : 3990.03
  clflush size  : 64
  cache_alignment   : 64
  address sizes : 38 bits physical, 48 bits virtual
  power management:




3 SB 3 • Libratone Loop, Zipp Mini • iPeng (iPhone + iPad) • LMS 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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-20 Thread philippe_44

I have to see if this is not a problem due to 32 bits vs 64 bits
compilation. I know in what part of the code the problem happens and
this is due to a 32 bits wrap, but I'm not 100% sure of a few things
about that overflow and how it is handled on all CPUs



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-20 Thread epoch1970

I'm afraid v0.1.6-dev-4 doesn't solve the CPU burning issue in my case.
squeezeboxserver reports a machine running time of almost 28hrs, which
seems about consistent with my last restart trace in server.log:

Code:

[16-04-17 18:16:17.8394] main::init (384) Starting Logitech Media Server 
(v7.9.0, 1458127503, Wed Mar 16 11:35:41 UTC 2016) perl 5.020002 - 
x86_64-linux-gnu-thread-multi


FYI:

Code:

root@montreux:~# top
  
  Tasks:  79 total,   1 running,  78 sleeping,   0 stopped,   0 zombie
  %Cpu(s): 58.9 us, 41.1 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 
st
  KiB Mem:   3092936 total,  3020488 used,72448 free,60884 buffers
  KiB Swap:   218108 total,   48 used,   218060 free.  2531900 cached Mem
  
  PID USER  PR  NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 
  18202 squeeze+  20   0  645608  76972   3568 S 98.4  2.5   2224:26 
squeeze2rao+
  18194 squeeze+  20   0  379416 251572  12024 S  0.7  8.1  27:50.27 
squeezeboxs+
  1 root  20   0   28572   4688   3084 S  0.0  0.2   0:09.03 systemd 
  2 root  20   0   0  0  0 S  0.0  0.0   0:00.06 kthreadd
  ...
  root@montreux:~# uptime
  10:42:14 up 7 days, 11:41,  1 user,  load average: 0.05, 0.95, 1.60
  root@montreux:~# uname -a
  Linux montreux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 
(2016-02-29) x86_64 GNU/Linux
  root@montreux:~# lsb_release -a
  No LSB modules are available.
  Distributor ID:   Debian
  Description:  Debian GNU/Linux 8.3 (jessie)
  Release:  8.3
  Codename: jessie
  root@montreux:~# ls -la /sbin/init 
  lrwxrwxrwx 1 root root 20 Nov 21 20:00 /sbin/init -> /lib/systemd/systemd



In other news, I finally decided to mothball the SB3 that feeds my
Libratone Loop via line-in. Goes to replenish the stock of spare SB3s,
that's cool.



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-04-01 Thread epoch1970

philippe_44 wrote: 
> ...when a controller takes over an AirPlay device, it will accept no
> other remote, even for volume.
Somehow the Libratone app manages to do that towards their newest Zipp
players. But perhaps that's a proprietary feature.
> 1..100 : fixed AirPlay volume, but LMS volume control scales up/down the
> digital samples
> 0 : LMS volume control forward to the device
> -1..-100: fixed AirPlay volume and LMS volume commands are ignore
> 
> What do you think ?
I think that's ok. 
I also think the negative range deserves a big fat red warning message;
I guess we don't want an unsuspecting user to set -100 for an amplified
speaker...



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-03-31 Thread philippe_44

epoch1970 wrote: 
> Ok.
> The zipp mini starts at 100% and stays mute even when I dial back to a
> lower % with the Libratone app. In normal mode,  setting, the
> same app shows this, when I modify the LMS volume:
> > 
Code:

  >   > LMS volume set to  -->  Libratone app reports
  > 0 --> 0
  > 10 --> 2
  > 20 --> 10
  > 30 --> 20
  > 40 --> 30
  > 50 --> 42
  > 60 --> 60
  > 70 --> 72
  > 80 --> 90
  > 90 --> 100
  > 100 --> 100

> >  
> The player also only reacts when in play mode. In pause, I can play
> with volume on the LMS web interface, but the airplay volume as
> reported by the app remains unchanged (I had to play a silent track to
> test with vol over 60...)
> 
> For other devices, I'll see if I can hijack them briefly with Airplay
> on my iPad to make sure the airplay volume is not actually set to 0.
> UPDATE. No joy with the Airport Express if set -1. The hijack seemed
> to work less easily than before: I got reports that "This device is
> used by someone else" when I tried to select it. So I am not sure I
> could alter the airplay volume while the stream was coming from LMS.

hah ... yeah you're right this cannnot work because when a controller
takes over an AirPlay device, it will accept no other remote, even for
volume. I was hoping that a basic volume remote (like an IR/radio) would
work, but probably not. What I'll do then is when a volume lock is a
negative number, it will be used as a fixed volume

1..100 : fixed AirPlay volume, but LMS volume control scales up/down the
digital samples
0 : LMS volume control forward to the device
-1..-100: fixed AirPlay volume and LMS volume commands are ignore

What do 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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-03-31 Thread epoch1970

philippe_44 wrote: 
> A quck comment: with -1, the plugin does not send any AirPlay volume
> command (not even a 100%), so you have to set it manually, on the device
Ok.
The zipp mini starts at 100% and stays mute even when I dial back to a
lower % with the Libratone app. In normal mode,  setting, the
same app shows this, when I modify the LMS volume:

Code:

LMS volume set to  -->  Libratone app reports
  0 --> 0
  10 --> 2
  20 --> 10
  30 --> 20
  40 --> 30
  50 --> 42
  60 --> 60
  70 --> 72
  80 --> 90
  90 --> 100
  100 --> 100

 
The player also only reacts when in play mode. In pause, I can play with
the LMS web interface, but the airplay volume as reported by the app
remains unchanged (I had to play a silent track to test with vol over
60...)

For other devices, I'll see if I can hijack them briefly with Airplay on
my iPad to make sure the airplay volume is not actually set to 0.



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-03-31 Thread philippe_44

epoch1970 wrote: 
> The good news: without volume set to minus 1, players perform as they
> should
> The bad news: at -1, none of my players output any audio (Airport
> Express, ATV4, Libratone zipp mini or Loop mk2)
> 
> 

A quck comment: with -1, the plugin does not send any AirPlay volume
command (not even a 100%), so you have to set it manually, on the device



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-03-31 Thread epoch1970

The good news: without volume set to minus 1, players perform as they
should
The bad news: at -1, none of my players output any audio (Airport
Express, ATV4, Libratone zipp mini or Loop mk2)

But maybe this is a blessing in disguise. The Libratone app allows me to
control the Zipp mini directly (not the Loop). In the app I can see
volume is reported at 100% at startup (I can dial it back with the app).
100% would be indeed ok, in some cases, for boxes that must have an amp
in tow (AE, ATV). But it is kind of dangerous for airplay speakers...

I've set log to debug but saw nothing out of the ordinary. I'll look at
LMS players log and update this post if I find anything.

I am beginning to have second thoughts about this request... Especially
when the ultimate goal is, for me, to have all-round bidirectional
control (volume, playback and all.)
Here are 2 experiences that work fine for me, perhaps you'll see how to
transpose that.

1) My Loop is hooked to an SB3:
- Line-in and Airplay have their independent attenuation setting
- Airplay has precedence over line-in on the device
- When airplay streaming, the volume button on the target and the
volume slider on the iPad are linked
- When line-in is used, the volume button acts as the master on line-in
- The SB3 is set to use digital volume control because the Loop doesn't
have any remote, and I love the SB IR remote. (I have the master set to
about 80%)
Scenario: I listen to my SB3, at some volume. Then I hijack the target
to send audio from a video I watch on the iPad, and usually I have to
increase volume. Then I shutdown the airplay target, and music resumes
at the prior level.

2) My ATV is hooked to an AV amp. I have set the device to fixed audio
output, and control volume with my amp's IR control. I don't need to
mess about with 2 remotes to control volume during playback.



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-03-23 Thread epoch1970

philippe_44 wrote: 
> hmm  could you try to launch squeeze2raop with exactly the same
> parameters (-Z -I -f  -x ) and then try to kill
> it using a SIGTERM (15) to see what happens ? You can try 2 things: when
> it is playing and one it is idle. 
> Alternatively, you can just launch it w/o parameters and type 'exit' on
> its command line (or ^C) to stop it
Thanks.

I launched the process as user squeezeboxserver and killed -TERM the
process while idle and while playing.
Each time the process exited without issue.

In addition, today I had LMS asking to restart after Airplay Bridge was
updated. The squeeze2raop process was running fine.

The cause must reside somewhere else...



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-03-22 Thread philippe_44

epoch1970 wrote: 
> Happened again today, I'd say this is #4. 
> I really don't have much info about it, but I am beginning to wonder if
> this can be related to LMS updating plugins automatically? 
> LMS doesn't auto-update, but plugins do on my debian server. 
> This time (and, I believe, at least once before) I found the LMS web gui
> recommending a restart to finish install of upgraded plugins, while the
> squeeze2raop process was taking all the CPU.

hmm  could you try to launch squeeze2raop with exactly the same
parameters (-Z -I -f  -x ) and then try to kill
it using a SIGTERM (15) to see what happens ? You can try 2 things: when
it is playing and one it is idle. 
Alternatively, you can just launch it w/o parameters and type 'exit' on
its command line (or ^C) to stop it



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-03-22 Thread epoch1970

epoch1970 wrote: 
> squeeze2raop can end up taking 100% of the CPU. I've seen this twice, it
> happens either after running the bridge for a long time (days) or after
> using bpa's BBC iPlayer redux plugin (for extended periods of time).
> I've discovered the issue after the fact, researching the cause of
> strange audio timeouts when playing. 
> I am positive there is a condition on my machine that can make
> squeeze2raop-x86-64 eat up all the CPU cycles it can; I will try to
> corner the case further.
Happened again today, I'd say this is #4. 
I really don't have much info about it, but I am beginning to wonder if
this can be related to LMS updating plugins automatically? 
LMS doesn't auto-update, but plugins do on my debian server. 
This time (and, I believe, at least once before) I found the LMS web gui
recommending a restart to finish install of upgraded plugins, while the
squeeze2raop process was taking all the CPU.



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-03-05 Thread epoch1970

So I've been happily running 0.1.0.3-dev-1 for days now.
My setup consists of an Airplay Libratone Zipp Mini synced with a wired
SB3 (connected via line-in to a libratone loop, FWIW), LMS runs on a 64
bit VM. No custom options in the conf file.

Over the days I've noticed 2 issues happening more or less frequently. I
have no log to back up my claims, so this is just for general
info/confirmation:
1 - Airplay player can start silent. I'm not sure, but I think the
software player is muted, and vol up or down commands via LMS allow the
player to produce sound as it should. This only happens once, after sync
group creation I think.
(I used to think I needed to skip one song to "wake up" the player, but
that is not what I've seen most recently.)
2 - squeeze2raop can end up taking 100% of the CPU. I've seen this
twice, it happens either after running the bridge for a long time (days)
or after using bpa's BBC iPlayer redux plugin (for extended periods of
time). I've discovered the issue after the fact, researching the cause
of strange audio timeouts when playing. 
I am positive there is a condition on my machine that can make
squeeze2raop-x86-64 eat up all the CPU cycles it can; I will try to
corner the case further.

(and depending on where the mobile Zipp is located I can hear "shifts"
in the sync group from time to time. I hope this was appropriately
documented in an earlier post.)

Overall the bridge performs so well I am a bit on the fence as to deploy
it at my mom's. 
She's not exactly a digital native, but she makes about equal use of her
SB players and of iPad apps that rely on airplay.
I would introduce the bridge with no hesitation if it offered
bidirectional control (play/pause, prev/next buttons) and if direct
access from other airplay clients was managed somehow. This way I could
remove 1 SB3 which is confusingly colocated with an Airport Express on
one amp, and make better use of a Libratone Zipp gen 1.
Tough customer, she is...



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-21 Thread epoch1970

philippe_44 wrote: 
> Does it matter to you to correct that ? I think I know where to change
> that, (some int overflow) but I'm not sure this is useful for such huge
> delays. I've also found a way to improve the accuracy of my sample
> points, so I should be able to return to rapid but unfrequent changes
> (when I'm back)
Then this is a verified bug of low importance and low priority, I would
say.

I'm with you, I can't think of any reason why someone should want to set
a startup delay greater than a couple secs.

In case the overflow thing can happen more easily as the size of the
sync group increases (or the number of software player increases), then
correcting the bug could benefit some users in the real world. 
There again, for me I don't think I have ever used more than 4 synced
audio sources at the same time. 3 is less exceptional.

Thanks!



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-21 Thread philippe_44

epoch1970 wrote: 
> God I hate this alsa sh*te and pulse cr*p. Every time I touch it I
> lament the day I chose linux over bsd.
> Anyways. I was able to get a Localplayer running on my 32-bit test
> machine. I synced the Squeezelite player with one SB3, and shot the
> startup delay up to see what happens : on my system Squeezelite waited
> with the SB3 if the delay was under 10006. 10.006ms and above,
> Squeezelite started alone.
> 
> So I synced the SB3 with my AE airplay player (on the same LMS server).
> Same behavior: synced started ok if delay not too high. I would like to
> write 10005 here, but it's more mysterious than that: if the delay is
> not too high, most of the time it will be observed. If really high
> (20secs) then it is never observed by the software player.
> And then a weird thing happened: I noticed Squeezelite player (from
> Local Player plugin), who was still in the sync group and outputting to
> earphones in another room was starting without waiting at all anymore.
> 
> I stopped using Local Player and created a 3 device sync group with an
> SB3, my AE and my Libratone Loop. The behaviour of the airplay players
> in the sync group wrt. start is erratic when the delay is large.
> Sometimes they respect the delay, sometimes 1 starts alone, sometimes
> both start early. The SB3 always stays put until the delay has expired. 
> If I power down 1 of the 2 airplay devices, the sync group behaves
> again. If I power down the SB3 in the group, one airplay device waits
> and the other starts early.
> 
> I returned to my own 1000ms setting, and I think I can report all
> airplay players and SB3 start in sync.
> That's unclear and possibly inconsistent with my previous report, sorry.
> But for me the startup behaviour of squeezelite in a sync group is
> erratic indeed.

Does it matter to you to correct that ? I think I know where to change
that, (some int overflow) but I'm not sure this is useful for such huge
delays. I've also found a way to improve the accuracy of my sample
points, so I should be able to return to rapid but unfrequent changes
(when I'm back)



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-21 Thread epoch1970

philippe_44 wrote: 
> I see ... in the remote test I make, at least the traces show (I've set
> a delay of 10s) that the player waits these 10s to start. But I cannot
> confirm by hearing as I'm remote. Strange

God I hate this alsa sh*te and pulse cr*p. Every time I touch it I
lament the day I chose linux over bsd.
Anyways. I was able to get a Localplayer running on my 32-bit test
machine. I synced the Squeezelite player with one SB3, and shot the
startup delay up to see what happens : on my system Squeezelite waited
with the SB3 if the delay was under 10006. 10.006ms and above,
Squeezelite started alone.

So I synced the SB3 with my AE airplay player (on the same LMS server).
Same behavior: synced started ok if delay not too high. I would like to
write 10005 here, but it's more mysterious than that: if the delay is
not too high, most of the time it will be observed. If really high
(20secs) then it is never observed by the software player.
And then a weird thing happened I noticed Squeezelite player (from Local
Player plugin), who was still in the sync group and outputting to
earphones in another room was starting without waiting at all anymore.

I stopped using Local Player and created a 3 device sync group with an
SB3, my AE and my Libratone Loop. The behaviour of the airplay players
in the sync group wrt. start is erratic. Sometimes they respect the
delay, sometimes 1 starts alone, sometimes both start early. The SB3
always stays put until the delay has expired. 
If I power down 1 of the 2 airplay devices, the sync group behaves
again. If I power down the SB3 in the group, one airplay device waits
and the other starts early.

I returned to my own 1000ms setting, and I think I can report all
airplay players and SB3 start in sync.
That's unclear and possibly inconsistent with my previous report, sorry.
But for me the startup behaviour of squeezelite in a sync group is
erratic indeed.



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-21 Thread strim

philippe_44 wrote: 
> There is a fair bit of issues with running this plugin on NAS especially
> with an arm5 CPU. I think I will need to build a all-inclusive
> application with all the codecs like I did for Mac OS but that a fair
> bit of work and I need more time. What I would recommend if you want to
> try is to use this on any machine on your network. You do not need to
> run this application on the same machine that runs LMS. If you have a
> Linux (pc or raspi) a Windows or a Mac, just download the zip file from
> sourceforge and launch the corresponding executable found in the Bin
> sub-directory. It's more likely to work and is easier than, at this
> stage, trying on an arm5 NAS. Or you can wait till I've made this
> all-in-one version but it will probably take me a few weeks

Okay, Thanks again, i give it a try in a couple of weeks, no hurry.
Buying a raspi2 or odroidC1 is also on my list.


Sander



strim's Profile: http://forums.slimdevices.com/member.php?userid=59606
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-21 Thread philippe_44

There is a fair bit of issues with running this plugin on NAS especially
with an arm5 CPU. I think I will need to build a all-inclusive
application with all the codecs like I did for Mac OS but that a fair
bit of work and I need more time. What I would recommend if you want to
try is to use this on any machine on your network. You do not need to
run this application on the same machine that runs LMS. If you have a
Linux (pc or raspi) a Windows or a Mac, just download the zip file from
sourceforge and launch the corresponding executable found in the Bin
sub-directory. It's more likely to work and is easier than, at this
stage, trying on an arm5 NAS. Or you can wait till I've made this
all-in-one version but it will probably take me a few weeks



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-21 Thread strim

Hi Philippe,

Thanks, i am a nobody on Linux :)
LMS runs on a Synology DS 213 
I have to hack the machine to rename things...

Sander



Logitech Media Server Versie: 7.9.0 - 1428327734 @ Fri May 8 05:46:28
UTC 2015
HTTP-poortnummer van server: 9000
Besturingssysteem: Synology DiskStation - NL - utf8
Platformarchitectuur: unknown
Perl-versie: 5.18.4 - armle-linux
Audio::Scan: 0.93
Databaseversie: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Totaalaantal herkende muzieksystemen: 2



strim's Profile: http://forums.slimdevices.com/member.php?userid=59606
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-21 Thread philippe_44

No you are no doing stupid, I did :). The armv5el does not have the
right name so the plugin installer looks for squeeze2raop-armv5 instead.
Can you either rename the file or change the plugin Perl part
squeeze2raop.pm and look for the wrong name. What platform are you using
?



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-21 Thread strim

Hello Philippe,

I might do something stupid, but i can't find the armv5el version of
your plugin.
See only armv5 static, armv5 and armv6hf binary's.

Thanks



strim's Profile: http://forums.slimdevices.com/member.php?userid=59606
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-20 Thread philippe_44

epoch1970 wrote: 
> 1st off, I am talking about Settings>Advanced>Network>Synchro. startup
> delay.
> 2nd, I suppose that not taking the setting into account doesn't help
> sync. But I did set it to 0 and that didn't resolve the initial skip
> issue I see when there is an SB3 in the sync group either. There is
> little reason for most people to set any value there, and default is
> AFAIK 200ms... I would say this is a low order issue.
> 
> When I say software players I mean those created by the bridge. I
> haven't used squeezelite (or local player plugin) in a great while.  I
> will test with a plain Local Player and see if it respects "Synchro.
> Players Delay" as soon as I get my ALSA back on some machine... Keep you
> posted.

I see ... in the remote test I make, at least the traces show (I've set
a delay of 10s) that the player waits these 10s to start. But I cannot
confirm by hearing as I'm remote. Strange



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-20 Thread epoch1970

philippe_44 wrote: 
> When you say "software players", does it do the same thing with
> squeezelite ? Normally, startup delay is taken into account, but I have
> to admit that 1/ I have not tested that for a while (it used to work)
> and 2/ making the synchronization work with pause, skip and enough
> buffering to handle network issue has been very difficult, so I might
> have broken something there - I'll check that in a few days (I don't
> have access to my AirPlay devices currently)
> 
> [edit]: for what it's worth (I don't have audio feedback so I can only
> see traces), on my LMS 7.7.5, when setting a delay at 2s, LMS does not
> ask my player to start with 2 sec delays ... and I saw the same with
> native squeezelite
1st off, I am talking about Settings>Advanced>Network>Synchro. startup
delay.
2nd, I suppose that not taking the setting into account doesn't help
sync. But I did set it to 0 and that didn't resolve the initial skip
issue I see when there is an SB3 in the sync group either. There is
little reason for most people to set any value there, and default is
AFAIK 200ms... It would say this is a low order issue.

When I say software players I mean those created by the bridge. I
haven't used squeezelite (or local player plugin) in a great while.  I
will test with a plain Local Player and see if it respects "Synchro.
Players Delay" as soon as I get my ALSA back on some machine... Keep you
posted.



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-20 Thread philippe_44

ronluna wrote: 
> I was modifying the delay setting in the player's option as you noted
> but they are ignored by any airplay receiver. 
> 
> I'm currently testing in 2 AirServer receviers and a Apple TV3. For some
> reason the appleTV3 can't play any tracks or stream.  I'll continue my
> investigation and submit more comments...
> 
> Thanks for the update though!

That's really strange ... we are talking about the "player audio delay",
not about the "player start delay", right ? I'm asking that because
epoch is seeing an issue with the start delay (and I've not verified
this for a while), but the audio delay has never been seen as "ignored"
by any tester



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-20 Thread philippe_44

epoch1970 wrote: 
> Skip is bad, all soft and wobbly is good! I much prefer this version.
> 
> EDIT2: I also noticed the software player (?) does not seem to respect
> the "Synchronized Players Startup Delay (ms)" in LMS
> Advanced>Networking. Mine is set to "1000" because most players control
> their amp via IR Blaster. I shot it to 30.000, my SB3 stayed silent for
> 30sec, and during this time the software player started, stopped,
> restarted... finally they both played totally out of sync. The
> playPoints shift value I read during this time is a huge negative number
> that looks like 30secs, eg -29177.  
> 
> I will say it again, many thanks for a plugin that performs amazingly
> well. This is just in case you can make it even better ;)

When you say "software players", does it do the same thing with
squeezelite ? Normally, startup delay is taken into account, but I have
to admit that 1/ I have not tested that for a while (it used to work)
and 2/ making the synchronization work with pause, skip and enough
buffering to handle network issue has been very difficult, so I might
have broken something there - I'll check that in a few days (I don't
have access to my AirPlay devices currently)



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-20 Thread philippe_44

Can you remind me what platform you're on ? For the Apple TV, I don't
have any to test, but there are 2 things : the plugin do not support
password and you can also try to force encryption in the plugin settings
for this player - I know that some require encryption



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-20 Thread ronluna

philippe_44 wrote: 
> Synchro works across all players that can be synchronized. I'm testing
> using a Boom, a Duet an AirPort Express and a JBL OnBeat receiver and
> sync should be really very accurate
> 
> BTW, the delay to be tweaked is NOT the delay option in the plugin
> option (you should leave that to 3000), it's the delay in the LMS
> player's option, under the synchronization sub-menu. Having a difference
> compared to squeezelite on streaming service is very strange - there is
> no reason to that

I was modifying the delay setting in the player's option as you noted
but they are ignored by any airplay receiver. 

I'm currently testing in 2 AirServer receviers and a Apple TV3. For some
reason the appleTV3 can't play any tracks or stream.  I'll continue my
investigation and submit more comments...

Thanks for the update though!



ronluna's Profile: http://forums.slimdevices.com/member.php?userid=64327
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-19 Thread philippe_44

ronluna wrote: 
> Just tried the 1.0.3-dec-2 and I get sound ...
> Although the time elapsed bar  on Music coming from stream services such
> tidal/spotify/deezer/pandora is acting weird and does not allow forward
> or rewind.
> Synchronization works quite well between airplay receivers but not when
> mixing with regular squeezelite/squeezeplay/SQbox players. Wondering if
> that's even possible? I've tried setting the delay but it gets ignored.

Synchro works across all players that can be synchronized. I'm testing
using a Boom, a Duet an AirPort Express and a JBL OnBeat receiver and
sync should be really very accurate

BTW, the delay to be tweaked is NOT the delay option in the plugin
option (you should leave that to 3000), it's the delay in the LMS
player's option, under the synchronization sub-menu. Having a difference
compared to squeezelite on streaming service is very strange - there is
no reason to that



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-19 Thread ronluna

philippe_44 wrote: 
> Do you have a firewall enabled ? There are 3 UDP ports per player
> (dynamically allocated) that are used. If you are under windows, enable
> squeeze2raop-win.exe to open ports
> 
> [edit]: sorry, that's different: see that log :
> [19:13:49.228803] raopcl_analyse_setup:554 [0x7f63bc0027f0]:
> Audio-Jack-Status is missing. 
> What kind of AirPLay device do you have ? I've not seen that error
> before, but this is a check that is done according to the airplay guide
> I've seen to check that something is actually connected to the output
> jack. This logs says that your player does not even indicate the status
> of such audio-jack (connected or disconnected). This test might be
> removed, probably but I thought all AirPlay device *had* to indicate
> that status
> 
> [edit2]: I've done a 1.0.3-dev-2 for you that disable audio jack status

Just tried the 1.0.3-dec-2 and I get sound ...
Although the time elapsed bar  on Music coming from stream services such
tidal/spotify/deezer/pandora is acting weird and does not allow forward
or rewind.
Synchronization works quite well between airplay receivers but not when
mixing with regular squeezelite/squeezeplay/SQbox players. Wondering if
that's even possible? I've tried setting the delay but it gets ignored.



ronluna's Profile: http://forums.slimdevices.com/member.php?userid=64327
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-18 Thread philippe_44

ronluna wrote: 
> Plugin is installed, enabled and finds all the airplay players in the
> network. The only problem is... Even thought squeezebox shows as is
> playing audio there is no audio at the airplay player Here is the
> log.
> 
> What could am I missing? :confused:
> 
> > 
Code:

  >   > 
  > 
  > [19:13:49.222712] exec_request:496 [0x7f63bc00ba10]: <-- : 200: request 
ok
  > [19:13:49.222894] exec_request:503 [0x7f63bc00ba10]: <-- : Public: 
ANNOUNCE, SETUP, PLAY, DESCRIBE, REDIRECT, RECORD, PAUSE, FLUSH, TEARDOWN, 
OPTIONS, GET_PARAMETER, SET_PARAMETER, POST, GET
  > [19:13:49.222922] exec_request:503 [0x7f63bc00ba10]: <-- : Server: 
AirTunes/220.68
  > [19:13:49.222935] exec_request:503 [0x7f63bc00ba10]: <-- : CSeq: 1
  > [19:13:49.222976] exec_request:470 [0x7f63bc00ba10]: > : write ANNOUNCE 
rtsp://10.10.10.156/2410465773 RTSP/1.0
  > Content-Type: application/sdp
  > Content-Length: 182
  > CSeq: 2
  > User-Agent: iTunes/10.6.2 (Windows; N;)
  > Client-Instance: 7c633cf02f734a1e
  > Apple-Challenge: uYkFJE68toWyB/lwNRKoxg
  > 
  > v=0
  > o=iTunes 2410465773 0 IN IP4 10.10.10.156
  > s=iTunes
  > c=IN IP4 10.10.10.109
  > t=0 0
  > m=audio 0 RTP/AVP 96
  > a=rtpmap:96 AppleLossless
  > a=fmtp:96 352 0 16 40 10 14 2 255 0 0 44100
  > 
  > [19:13:49.226037] exec_request:496 [0x7f63bc00ba10]: <-- : 200: request 
ok
  > [19:13:49.226086] exec_request:503 [0x7f63bc00ba10]: <-- : CSeq: 2
  > [19:13:49.226111] exec_request:503 [0x7f63bc00ba10]: <-- : Server: 
AirTunes/220.68
  > [19:13:49.226185] exec_request:470 [0x7f63bc00ba10]: > : write SETUP 
rtsp://10.10.10.156/2410465773 RTSP/1.0
  > Transport: 
RTP/AVP/UDP;unicast;interleaved=0-1;mode=record;control_port=55887;timing_port=54363
  > CSeq: 3
  > User-Agent: iTunes/10.6.2 (Windows; N;)
  > Client-Instance: 7c633cf02f734a1e
  > 
  > 
  > [19:13:49.228603] exec_request:496 [0x7f63bc00ba10]: <-- : 200: request 
ok
  > [19:13:49.228648] exec_request:503 [0x7f63bc00ba10]: <-- : CSeq: 3
  > [19:13:49.228674] exec_request:503 [0x7f63bc00ba10]: <-- : Server: 
AirTunes/220.68
  > [19:13:49.228690] exec_request:503 [0x7f63bc00ba10]: <-- : Session: 21
  > [19:13:49.228777] exec_request:503 [0x7f63bc00ba10]: <-- : Transport: 
RTP/AVP/UDP;unicast;mode=record;server_port=6010;control_port=6011;timing_port=6012;event_port=5001
  > [19:13:49.228795] rtspcl_setup:255 [0x7f63bc00ba10]: <--- : 21: 
session:8ËD
  > [19:13:49.228803] raopcl_analyse_setup:554 [0x7f63bc0027f0]: 
Audio-Jack-Status is missing
  > [19:13:49.228811] PlayerThread:366 [0x6e6460]: raop failed to connect
  > [19:13:49.228820] PlayerThread:383 [0x6e6460]: processing volume
  > [19:13:49.286923] stream_thread:287 [0x68f1e0] streambuf read 1 bytes
  > [19:13:49.291506] stream_thread:287 [0x68f1e0] streambuf read 1671167 bytes
  > [19:13:49.311014] output_raop_thread:127 [0x68f1e0]: track started at: 
4141883263
  > [19:13:49.391957] stream_thread:287 [0x68f1e0] streambuf read 174752 bytes
  > [19:13:49.492492] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  > [19:13:49.592716] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  > [19:13:49.692872] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  > [19:13:49.793060] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  > [19:13:49.893335] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  > [19:13:49.993626] stream_thread:287 [0x68f1e0] streambuf read 32768 bytes
  > [19:13:50.093822] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  > [19:13:50.194027] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  > [19:13:50.201672] sendSTAT:132 [0x68f1e0]: ms_played: 989 (now: 4141884153)
  > [19:13:50.201723] sendSTAT:158 [0x68f1e0]: STAT: STMs
  > [19:13:50.201794] sendSTAT:132 [0x68f1e0]: ms_played: 989 (now: 4141884153)
  > [19:13:50.201808] sendSTAT:158 [0x68f1e0]: STAT: STMt
  > [19:13:50.228909] PlayerThread:322 [0x6e6460]: tick 4141884180
  > [19:13:50.228967] PlayerThread:344 [0x6e6460]: getting metadata
  > [19:13:50.294294] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  > [19:13:50.394524] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  > [19:13:50.494711] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  > [19:13:50.594886] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  > [19:13:50.695107] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  > [19:13:50.795286] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  > [19:13:50.895481] stream_thread:287 [0x68f1e0] streambuf read 5465 bytes
  > [19:13:50.895569] stream_thread:287 [0x68f1e0] streambuf read 16383 bytes
  > [19:13:50.995711] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  > [19:13:51.000590] process:523 [0x68f1e0] strm
  > [19:13:51.000642] process_strm:236 [0x68f1e0] strm command t
  > [19:13:51.000655] sendSTAT:132 [0x68f1e0]: ms_played: 1795 (now: 4141884952)
  > [19:13:51.000666] 

Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-18 Thread ronluna

Plugin is installed, enabled and finds all the airplay players in the
network. The only problem is... Even thought squeezebox shows as is
playing audio there is no audio at the airplay player Here is the
log.

What could am I missing? :confused:


Code:


  
  [19:13:49.222712] exec_request:496 [0x7f63bc00ba10]: <-- : 200: request ok
  [19:13:49.222894] exec_request:503 [0x7f63bc00ba10]: <-- : Public: 
ANNOUNCE, SETUP, PLAY, DESCRIBE, REDIRECT, RECORD, PAUSE, FLUSH, TEARDOWN, 
OPTIONS, GET_PARAMETER, SET_PARAMETER, POST, GET
  [19:13:49.222922] exec_request:503 [0x7f63bc00ba10]: <-- : Server: 
AirTunes/220.68
  [19:13:49.222935] exec_request:503 [0x7f63bc00ba10]: <-- : CSeq: 1
  [19:13:49.222976] exec_request:470 [0x7f63bc00ba10]: > : write ANNOUNCE 
rtsp://10.10.10.156/2410465773 RTSP/1.0
  Content-Type: application/sdp
  Content-Length: 182
  CSeq: 2
  User-Agent: iTunes/10.6.2 (Windows; N;)
  Client-Instance: 7c633cf02f734a1e
  Apple-Challenge: uYkFJE68toWyB/lwNRKoxg
  
  v=0
  o=iTunes 2410465773 0 IN IP4 10.10.10.156
  s=iTunes
  c=IN IP4 10.10.10.109
  t=0 0
  m=audio 0 RTP/AVP 96
  a=rtpmap:96 AppleLossless
  a=fmtp:96 352 0 16 40 10 14 2 255 0 0 44100
  
  [19:13:49.226037] exec_request:496 [0x7f63bc00ba10]: <-- : 200: request ok
  [19:13:49.226086] exec_request:503 [0x7f63bc00ba10]: <-- : CSeq: 2
  [19:13:49.226111] exec_request:503 [0x7f63bc00ba10]: <-- : Server: 
AirTunes/220.68
  [19:13:49.226185] exec_request:470 [0x7f63bc00ba10]: > : write SETUP 
rtsp://10.10.10.156/2410465773 RTSP/1.0
  Transport: 
RTP/AVP/UDP;unicast;interleaved=0-1;mode=record;control_port=55887;timing_port=54363
  CSeq: 3
  User-Agent: iTunes/10.6.2 (Windows; N;)
  Client-Instance: 7c633cf02f734a1e
  
  
  [19:13:49.228603] exec_request:496 [0x7f63bc00ba10]: <-- : 200: request ok
  [19:13:49.228648] exec_request:503 [0x7f63bc00ba10]: <-- : CSeq: 3
  [19:13:49.228674] exec_request:503 [0x7f63bc00ba10]: <-- : Server: 
AirTunes/220.68
  [19:13:49.228690] exec_request:503 [0x7f63bc00ba10]: <-- : Session: 21
  [19:13:49.228777] exec_request:503 [0x7f63bc00ba10]: <-- : Transport: 
RTP/AVP/UDP;unicast;mode=record;server_port=6010;control_port=6011;timing_port=6012;event_port=5001
  [19:13:49.228795] rtspcl_setup:255 [0x7f63bc00ba10]: <--- : 21: 
session:8ËD
  [19:13:49.228803] raopcl_analyse_setup:554 [0x7f63bc0027f0]: 
Audio-Jack-Status is missing
  [19:13:49.228811] PlayerThread:366 [0x6e6460]: raop failed to connect
  [19:13:49.228820] PlayerThread:383 [0x6e6460]: processing volume
  [19:13:49.286923] stream_thread:287 [0x68f1e0] streambuf read 1 bytes
  [19:13:49.291506] stream_thread:287 [0x68f1e0] streambuf read 1671167 bytes
  [19:13:49.311014] output_raop_thread:127 [0x68f1e0]: track started at: 
4141883263
  [19:13:49.391957] stream_thread:287 [0x68f1e0] streambuf read 174752 bytes
  [19:13:49.492492] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  [19:13:49.592716] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  [19:13:49.692872] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  [19:13:49.793060] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  [19:13:49.893335] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  [19:13:49.993626] stream_thread:287 [0x68f1e0] streambuf read 32768 bytes
  [19:13:50.093822] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  [19:13:50.194027] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  [19:13:50.201672] sendSTAT:132 [0x68f1e0]: ms_played: 989 (now: 4141884153)
  [19:13:50.201723] sendSTAT:158 [0x68f1e0]: STAT: STMs
  [19:13:50.201794] sendSTAT:132 [0x68f1e0]: ms_played: 989 (now: 4141884153)
  [19:13:50.201808] sendSTAT:158 [0x68f1e0]: STAT: STMt
  [19:13:50.228909] PlayerThread:322 [0x6e6460]: tick 4141884180
  [19:13:50.228967] PlayerThread:344 [0x6e6460]: getting metadata
  [19:13:50.294294] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  [19:13:50.394524] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  [19:13:50.494711] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  [19:13:50.594886] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  [19:13:50.695107] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  [19:13:50.795286] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  [19:13:50.895481] stream_thread:287 [0x68f1e0] streambuf read 5465 bytes
  [19:13:50.895569] stream_thread:287 [0x68f1e0] streambuf read 16383 bytes
  [19:13:50.995711] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  [19:13:51.000590] process:523 [0x68f1e0] strm
  [19:13:51.000642] process_strm:236 [0x68f1e0] strm command t
  [19:13:51.000655] sendSTAT:132 [0x68f1e0]: ms_played: 1795 (now: 4141884952)
  [19:13:51.000666] sendSTAT:158 [0x68f1e0]: STAT: STMt
  [19:13:51.095855] stream_thread:287 [0x68f1e0] streambuf read 16384 bytes
  [19:13:51.112235] UpdateMRThread:510 Updating configuration 

Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-18 Thread epoch1970

Skip is bad, all soft and wobbly is good! I much prefer this version.

- Using v0.1.0.3-dev-1 in a 64-bit VM with files on NFS or in a 32-bit
machine, local music files.
- Same setup as before, SB3+AE, wired, 3 m. apart
- No crossfade/smart crossfade. Fade in-out tested, working ok, most of
the time tested with no transition at all.

To my ears, the skip event is noticeable regardless of the amount of
time being skipped: 10, 20, 57ms ... all sound identical to me: one
source "comes to the foreground".
My objective was to see if skips could be avoided.

With this version, skips no longer ping-pong, so if there is a shift,
then it's settled for the whole song. Good!
Skips happen almost exclusively near song start, virtually none during
song, some at track end (say 95/1/4.)
This is typical, but not systematic (skip threshold 10ms, 3 sec. buffer
size):
Code:

[16-02-18 14:07:49.4956] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: 00:04:20:30:40:50: 1455800846.285, aa:aa:0e:12:43:6b:+0
  [16-02-18 14:07:50.4957] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: 00:04:20:30:40:50: 1455800846.285, aa:aa:0e:12:43:6b:+0
  [16-02-18 14:07:51.4956] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: 00:04:20:30:40:50: 1455800870.873, aa:aa:0e:12:43:6b: -24588  <- 
new track starts here
  [16-02-18 14:07:52.4990] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: 00:04:20:30:40:50: 1455800870.873, aa:aa:0e:12:43:6b: -24588  <- +1 
sec.
  [16-02-18 14:07:57.4955] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: 00:04:20:30:40:50: 1455800870.873, aa:aa:0e:12:43:6b:   +51   <- +5 
secs.
  [16-02-18 14:07:57.4960] Slim::Player::StreamingController::_CheckSync (559) 
aa:aa:0e:12:43:6b resync: skipAhead 51ms
  [16-02-18 14:08:05.4958] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: 00:04:20:30:40:50: 1455800870.873, aa:aa:0e:12:43:6b:+0
  [16-02-18 14:08:06.4957] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: 00:04:20:30:40:50: 1455800870.873, aa:aa:0e:12:43:6b:+0


To my ears, the very start of song is always in good sync. Instead of
being logged 1 sec. after the previous one, the third playPoint occurs
after 5 secs. It often, not always, shows a big time difference (which
is surprising), and that causes a skip.

I also saw this:
Code:

[16-02-18 17:20:51.6351] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: 00:04:20:30:40:50: 1455812451.459, aa:aa:0e:12:43:6b: -79452 
<- new track starts here
  [16-02-18 17:20:52.6360] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: 00:04:20:30:40:50: 1455812451.459, aa:aa:0e:12:43:6b: -79452 <- +1 
sec
  [16-02-18 17:20:53.6349] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: 00:04:20:30:40:50: 1455812451.459, aa:aa:0e:12:43:6b: -79452 <- +1 
sec
  [16-02-18 17:20:58.6348] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: 00:04:20:30:40:50: 1455812451.459, aa:aa:0e:12:43:6b:   +47  <- +5 
secs.
  [16-02-18 17:20:58.6355] Slim::Player::StreamingController::_CheckSync (559) 
aa:aa:0e:12:43:6b resync: skipAhead 47ms



Or this which works fine, no skip:
Code:

[16-02-18 17:16:56.6353] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: 00:04:20:30:40:50: 1455812000.313, aa:aa:0e:12:43:6b:+1
  [16-02-18 17:16:57.6353] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: 00:04:20:30:40:50: 1455812216.685, aa:aa:0e:12:43:6b: -216371  <- 
new track starts here
  [16-02-18 17:16:58.6352] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: 00:04:20:30:40:50: 1455812216.685, aa:aa:0e:12:43:6b: -216371  <- 
+1 sec.
  [16-02-18 17:17:04.6353] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: 00:04:20:30:40:50: 1455812216.685, aa:aa:0e:12:43:6b:+6<- 
+6 ? secs.
  ...
  [16-02-18 17:13:20.6357] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: 00:04:20:30:40:50: 1455812000.313, aa:aa:0e:12:43:6b: -204401  <- 
new track starts here
  [16-02-18 17:13:21.6355] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: 00:04:20:30:40:50: 1455812000.314, aa:aa:0e:12:43:6b: -204402  <- 
+1 sec, diff changed
  [16-02-18 17:13:27.6367] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: 00:04:20:30:40:50: 1455812000.314, aa:aa:0e:12:43:6b:-1<- 
+5 sec.


But why? I am unsure but I think I have a bit of an album that I could
repeatably play without skips at song start (FLAC 16/44 files). I didn't
research further along media types. 

If it weren't for this, I guess 10ms or perhaps 20ms would work ~100%. I
can't hear a sync quality difference between 10ms and 20ms even with
sources this close.

I was puzzled about this, and here is what 2 SB3s show when they change
track:
Code:

Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-15 Thread epoch1970

philippe_44 wrote: 
> What value did you choose for the "remove player after X failed scans" ?
> What happened there was that the loop was removed from the list of
> discovered players and then re-discovered a few minutes later
Lastly it was sticking very well, so I used the standard value (3 failed
scans.) The only non-standard setting was 500ms buffer, because 1000ms
seemed too easy :)



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-15 Thread philippe_44

epoch1970 wrote: 
> Excellent, I'll try that.
> 
> My last test session (-dev11) was rather uneventful on the new machine,
> with the Loop and an SB3 playing in sync. The Loop was setup with a
> 500ms network buffer.
> >   >   > 
  - Reliability:
  > 
There was a time window between 17:29 and 17:37 where the
  > Loop dropped, came back, dropped again, came back  and settled. I
  > have isolated this period in both server and raopbridge logs. (The
  > server.log file is doctored to masquerade the MAC address of the SB3
  > player.)
  > Files raopbridge.log-17h29to17h37.txt.gz and
  > server.log-17h29to17h37.txt.gz in my 'Dropbox folder.'
  > (https://www.dropbox.com/sh/cg85512r5hp8lgj/AAArQMXm71YL0eKtcvCSTLdda?dl=0)
  > 
  - Accuracy:
  > 
Overall the test went really, really well when playing
  > albums. I think the sync :) is as good as with 2 SB3s. 
  > During the day I also played a "lunchtime concert" on BBC3, and on
  > this hour-long piece I could hear my players had drifted apart after
  > 40 min. or so. It was a replay, but I didn't try seeking in the
  > program to see if the echo would disappear.> > 
> 
> HTH

What value did you choose for the "remove player after X failed scans" ?
What happened there was that the loop was removed from the list of
discovered players and then re-discovered a few minutes later



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-15 Thread epoch1970

philippe_44 wrote: 
> It still works on a raspi B, which is a very modest CPU so it should be
> fine
Excellent, I'll try that.

My last test session (-dev11) was rather uneventful on the new machine,
with the Loop and an SB3 playing in sync. The Loop was setup with a
500ms network buffer.

- Reliability:
  
There was a time window between 17:29 and 17:37 where the Loop
  dropped, came back, dropped again, came back  and settled. I have
  isolated this period in both server and raopbridge logs. (The
  server.log file is doctored to masquerade the MAC address of the SB3
  player.)
  Files raopbridge.log-17h29to17h37.txt.gz and
  server.log-17h29to17h37.txt.gz in my 'Dropbox folder.'
  (https://www.dropbox.com/sh/cg85512r5hp8lgj/AAArQMXm71YL0eKtcvCSTLdda?dl=0)
  
- Accuracy:
  
Overall the test went really, really well when playing albums.
  I think the sync :) is as good as with 2 SB3s. 
  During the day I also played a "lunchtime concert" on BBC3, and on
  this hour-long piece I could hear my players had drifted after 40 min.
  or so. It was a replay, but I didn't try seeking in the program to see
  if the echo would disappear.

HTH



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-15 Thread philippe_44

It still works on a raspi B, which is a very modest CPU so it should be
fine



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-15 Thread epoch1970

Ok, I will run with 1000ms from now on, on a "real" hw platform (32-bit
debian 8 i686) rather than a saggy VM.
(last week I tried w/ 50ms and 3000ms. 50 didn't go far, 3000 was ok but
in a sync group with an SB3 the player could not recover from a
desync.)

Another fun fact: yesterday I was running an all-airplay show with the
Airport Express and the Loop in a group. The Loop was running solid for
hours, and the AE dropped from the group from time to time.
Right now I am listening to an SB3 synched to the Loop. And the Loop has
dropped (@ 500ms). To me, it's either bad luck or it was evicted from
the nest by the SB3...
Makes me believe the issue comes from players interaction (somewhere),
rather than the airplay link logic itself.



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-14 Thread philippe_44

epoch1970 wrote: 
> (my posts are too long. This is the continuation of the previous one)
> EDIT 5: Happened again. Started a BBC stream, very quickly audio stopped
> on the AE, then the Loop had a pause and continued solo.> 
Code:

  >   > [16-02-14 19:56:41.1348] Slim::Player::Squeezebox2::startAt (1078) 
aa:aa:12:8b:8e:43 startAt: 3777256085
  > [16-02-14 19:56:41.1374] Slim::Player::Squeezebox2::startAt (1078) 
aa:aa:0e:12:43:6b startAt: 3777256085
  > [16-02-14 19:56:41.1530] Slim::Player::StreamingController::_CheckSync 
(498) aa:aa:12:8b:8e:43 bailing as no playPoint
  > [16-02-14 19:56:42.1401] Slim::Player::StreamingController::_CheckSync 
(498) aa:aa:12:8b:8e:43 bailing as no playPoint
  > [16-02-14 19:56:44.0056] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.522, aa:aa:0e:12:43:6b:+6
  > [16-02-14 19:56:46.0085] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.527, aa:aa:0e:12:43:6b:+0
  > [16-02-14 19:56:47.0057] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.529, aa:aa:0e:12:43:6b:-1
  > [16-02-14 19:56:48.0057] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.523, aa:aa:0e:12:43:6b:+7
  > [16-02-14 19:56:49.0064] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.526, aa:aa:0e:12:43:6b:+0
  > [16-02-14 19:56:50.0718] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.529, aa:aa:0e:12:43:6b:+0
  > [16-02-14 19:56:52.0048] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.523, aa:aa:0e:12:43:6b:+6
  > [16-02-14 19:56:53.0060] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.526, aa:aa:0e:12:43:6b:+0
  > [16-02-14 19:56:54.0070] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.529, aa:aa:0e:12:43:6b:+0
  > [16-02-14 19:56:55.0037] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.520, aa:aa:0e:12:43:6b:+7
  > [16-02-14 19:56:56.0045] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.523, aa:aa:0e:12:43:6b:+0
  > [16-02-14 19:56:57.0054] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.526, aa:aa:0e:12:43:6b:+0
  > [16-02-14 19:56:58.0067] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.522, aa:aa:0e:12:43:6b:+7
  > [16-02-14 19:56:59.0045] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.522, aa:aa:0e:12:43:6b:+7
  > [16-02-14 19:57:00.0054] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.525, aa:aa:0e:12:43:6b:+0
  > [16-02-14 19:57:02.0455] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.523, aa:aa:0e:12:43:6b:+7
  > [16-02-14 19:57:03.0048] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.521, aa:aa:0e:12:43:6b:-1
  > [16-02-14 19:57:04.0032] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.524, aa:aa:0e:12:43:6b:+0
  > [16-02-14 19:57:05.0040] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.519, aa:aa:0e:12:43:6b:+7
  > [16-02-14 19:57:06.0052] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.523, aa:aa:0e:12:43:6b:+7
  > [16-02-14 19:57:07.0039] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.523, aa:aa:0e:12:43:6b:+0
  > [16-02-14 19:57:08.0042] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.526, aa:aa:0e:12:43:6b:+0
  > [16-02-14 19:57:09.0054] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.522, aa:aa:0e:12:43:6b:+7
  > [16-02-14 19:57:10.0066] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.525, aa:aa:0e:12:43:6b:+0
  > [16-02-14 19:57:11.0039] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.524, aa:aa:0e:12:43:6b:+0
  > [16-02-14 19:57:12.0044] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.519, aa:aa:0e:12:43:6b:+7
  > [16-02-14 19:57:13.0055] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 1455476202.523, aa:aa:0e:12:43:6b:+7
  > [16-02-14 19:57:14.0067] Slim::Player::StreamingController::_CheckSync 
(526) playPoints: aa:aa:12:8b:8e:43: 

Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-14 Thread epoch1970

(my posts are too long. This is the continuation of the previous one)
EDIT 5: Happened again. Started a BBC stream, very quickly audio stopped
on the AE, then the Loop had a pause and continued solo.
Code:

[16-02-14 19:56:41.1348] Slim::Player::Squeezebox2::startAt (1078) 
aa:aa:12:8b:8e:43 startAt: 3777256085
  [16-02-14 19:56:41.1374] Slim::Player::Squeezebox2::startAt (1078) 
aa:aa:0e:12:43:6b startAt: 3777256085
  [16-02-14 19:56:41.1530] Slim::Player::StreamingController::_CheckSync (498) 
aa:aa:12:8b:8e:43 bailing as no playPoint
  [16-02-14 19:56:42.1401] Slim::Player::StreamingController::_CheckSync (498) 
aa:aa:12:8b:8e:43 bailing as no playPoint
  [16-02-14 19:56:44.0056] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.522, aa:aa:0e:12:43:6b:+6
  [16-02-14 19:56:46.0085] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.527, aa:aa:0e:12:43:6b:+0
  [16-02-14 19:56:47.0057] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.529, aa:aa:0e:12:43:6b:-1
  [16-02-14 19:56:48.0057] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.523, aa:aa:0e:12:43:6b:+7
  [16-02-14 19:56:49.0064] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.526, aa:aa:0e:12:43:6b:+0
  [16-02-14 19:56:50.0718] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.529, aa:aa:0e:12:43:6b:+0
  [16-02-14 19:56:52.0048] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.523, aa:aa:0e:12:43:6b:+6
  [16-02-14 19:56:53.0060] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.526, aa:aa:0e:12:43:6b:+0
  [16-02-14 19:56:54.0070] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.529, aa:aa:0e:12:43:6b:+0
  [16-02-14 19:56:55.0037] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.520, aa:aa:0e:12:43:6b:+7
  [16-02-14 19:56:56.0045] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.523, aa:aa:0e:12:43:6b:+0
  [16-02-14 19:56:57.0054] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.526, aa:aa:0e:12:43:6b:+0
  [16-02-14 19:56:58.0067] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.522, aa:aa:0e:12:43:6b:+7
  [16-02-14 19:56:59.0045] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.522, aa:aa:0e:12:43:6b:+7
  [16-02-14 19:57:00.0054] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.525, aa:aa:0e:12:43:6b:+0
  [16-02-14 19:57:02.0455] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.523, aa:aa:0e:12:43:6b:+7
  [16-02-14 19:57:03.0048] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.521, aa:aa:0e:12:43:6b:-1
  [16-02-14 19:57:04.0032] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.524, aa:aa:0e:12:43:6b:+0
  [16-02-14 19:57:05.0040] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.519, aa:aa:0e:12:43:6b:+7
  [16-02-14 19:57:06.0052] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.523, aa:aa:0e:12:43:6b:+7
  [16-02-14 19:57:07.0039] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.523, aa:aa:0e:12:43:6b:+0
  [16-02-14 19:57:08.0042] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.526, aa:aa:0e:12:43:6b:+0
  [16-02-14 19:57:09.0054] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.522, aa:aa:0e:12:43:6b:+7
  [16-02-14 19:57:10.0066] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.525, aa:aa:0e:12:43:6b:+0
  [16-02-14 19:57:11.0039] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.524, aa:aa:0e:12:43:6b:+0
  [16-02-14 19:57:12.0044] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.519, aa:aa:0e:12:43:6b:+7
  [16-02-14 19:57:13.0055] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.523, aa:aa:0e:12:43:6b:+7
  [16-02-14 19:57:14.0067] Slim::Player::StreamingController::_CheckSync (526) 
playPoints: aa:aa:12:8b:8e:43: 1455476202.526, aa:aa:0e:12:43:6b:+0
  [16-02-14 19:57:14.8083] 

Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-14 Thread castalla

Just started testing the plugin with a Pioneer xw-sma1 speaker ... so
far, so good



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-14 Thread epoch1970

I've launched -dev10 too. I used a new config.

I still have this weird situation with the AE where the server resolves
wap01.local to the ipv4ll address, and the connection is established but
no sound comes out. I don't understand what's happening with this. It
would be nice if the config allowed to define a preferred IP address,
then I would force the plugin to use the (static) IPv4 address.

The loop started fine, so did the old AppleTV1,1.



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-14 Thread philippe_44

Thanks for running a test. What is the target you've been using to run
the plugin ? This stop that happens from time to time is driving me nuts
- I can't find any reason and nothing wrong in the logs that would
explain it



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-14 Thread castalla

philippe_44 wrote: 
> Thanks for running a test. What is the target you've been using to run
> the plugin ? This stop that happens from time to time is driving me nuts
> - I can't find any reason and nothing wrong in the logs that would
> explain it

Linux i86 - Atom processor



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-13 Thread philippe_44

woodster wrote: 
> Hi philippe_44,
> 
> I have experienced audio dropouts for a couple of seconds up to a couple
> of minutes, but the sound comes back by itself.
> The log shows a lot of retransmits, I have removed a lot of repeats, but
> pasted when it changes state again.. any ideas?:
> 
> [08:49:45.596681] raopcl_send_sample:315 check n:3564439548 p:3564440002
> tsa:3905388487 sn:30673
> [08:49:55.596959] raopcl_send_sample:315 check n:3564449548 p:3564450003
> tsa:3905829543 sn:31926
> [08:50:00.282441] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:32508 nb:1 (mis:0) (err:0)
> [08:50:05.593442] raopcl_send_sample:315 check n:3564459545 p:3564460005
> tsa:3906270599 sn:33179
> [08:50:15.595880] raopcl_send_sample:315 check n:3564469547 p:3564470006
> tsa:3906711655 sn:34432
> [08:50:25.600368] raopcl_send_sample:315 check n:3564479552 p:3564480007
> tsa:3907152711 sn:35685
> [08:50:31.669563] exec_request:458 [0x9ce7e8]: response :  request
> failed
> [08:50:35.585113] raopcl_send_sample:315 check n:3564489537 p:3564490001
> tsa:3907593415 sn:36937
> [08:50:45.582726] raopcl_send_sample:315 check n:3564499534 p:356452
> tsa:3908034471 sn:38190
> [08:50:49.747060] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38108 nb:1 (mis:1) (err:0)
> [08:50:49.751663] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38109 nb:1 (mis:1) (err:0)
> [08:50:49.751793] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38110 nb:1 (mis:1) (err:0)
> [08:50:49.751894] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38111 nb:1 (mis:1) (err:0)
> [08:50:49.751993] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38112 nb:1 (mis:1) (err:0)
> [08:50:49.754226] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38113 nb:1 (mis:1) (err:0)
> [08:50:49.754358] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38114 nb:1 (mis:1) (err:0)
> [08:50:49.757838] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38115 nb:1 (mis:1) (err:0)
> [08:50:49.757961] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38116 nb:1 (mis:1) (err:0)
> [08:50:49.760218] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38117 nb:1 (mis:1) (err:0)
> [08:50:49.760320] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38118 nb:1 (mis:1) (err:0)
> [08:50:49.777359] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38127 nb:1 (mis:1) (err:0)
> [08:50:49.779737] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38128 nb:1 (mis:1) (err:0)
> [08:50:49.782888] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38129 nb:1 (mis:1) (err:0)
> [08:50:49.782997] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38130 nb:1 (mis:1) (err:0)
> [08:50:49.821540] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38137 nb:1 (mis:1) (err:0)
> [08:50:49.821703] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38138 nb:1 (mis:1) (err:0)
> [08:50:49.823104] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38139 nb:1 (mis:1) (err:0)
> [08:50:49.823219] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38140 nb:1 (mis:1) (err:0)
> [08:50:49.823880] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38141 nb:1 (mis:1) (err:0)
> [08:50:49.823979] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38142 nb:1 (mis:1) (err:0)
> [08:50:49.840608] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38150 nb:1 (mis:1) (err:0)
> [08:50:49.842585] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38151 nb:1 (mis:1) (err:0)
> [08:50:49.845869] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38152 nb:1 (mis:1) (err:0)
> [08:50:49.847863] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38153 nb:1 (mis:1) (err:0)
> [08:50:49.849848] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38154 nb:1 (mis:1) (err:0)
> 
> .
> [08:50:50.218190] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:38384 nb:1 (mis:1) (err:0)
> [08:50:55.581715] raopcl_send_sample:315 check n:3564509533 p:3564510003
> tsa:3908475527 sn:39443
> [08:51:05.560359] raopcl_send_sample:315 check n:3564519512 p:3564520004
> tsa:3908916583 sn:40696
> [08:51:06.079881] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:40365 nb:1 (mis:1) (err:0)
> [08:51:06.080107] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:40366 nb:1 (mis:1) (err:0)
> [08:51:06.080190] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:40367 nb:1 (mis:1) (err:0)
> [08:51:06.082317] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:40368 nb:1 (mis:1) (err:0)
> [08:51:15.559387] raopcl_send_sample:315 check n:3564529511 p:3564530006
> tsa:3909357639 sn:41949
> [08:51:25.558940] raopcl_send_sample:315 check n:3564539510 p:3564540007
> tsa:3909798695 sn:43202
> [08:51:30.474095] rtp_control_thread:973 [0xa391c0]: retransmit packet
> sn:42917 nb:1 (mis:1) (err:0)
> [08:51:30.481433] 

Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-13 Thread woodster

Excellent What a service



woodster's Profile: http://forums.slimdevices.com/member.php?userid=32688
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-13 Thread philippe_44

woodster wrote: 
> Excellent What a service

I've uploaded dev-10 in which I've removed a few nasty bugs. I still
find that the playback is interrupted from time to time, but it normally
recovers. I'm still not able to understand precisely what happens, but
in my configuration it does not happens more than once every hour or
two. It also work well on rapi 2 and B+ is fine (a bit more CPU though
...). If you confirm that this is stable enough for you (epoch and
woodster), I will probably do an "official" release tomorrow.



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-12 Thread woodster

philippe_44 wrote: 
> I'm wondering if there is not an issue with the main TCP socket timeout.
> I've added a TCP_KEEPALIVE and will run some test today, but I've
> definitely been able to reproduce the issue where in fact, this is not
> the Loop going idle by himself, but the connection is going dark, so no
> data sent, so the Loop will go sleep. 
> I'm a bit confused with the AE problem. Mine is connect through the WAN
> port and is properly discovered and sound plays. But you don't assign a
> dynamic IP to it ? (sorry I was reading your post very fast)
> 
> [edit]: I've been able to better corner the problem. Not fully, but
> there are cases where no data is pumped out for more than one minute in
> a row, although all thread are operation but the one in charge of
> sending data to the player is locked, one way or the other. Thank for
> your logs, it helped me to identify the problem, really

Hi philippe_44,

I have experienced audio dropouts for a couple of seconds up to a couple
of minutes, but the sound comes back by itself.
The log shows a lot of retransmits, I have removed a lot of repeats, but
pasted when it changes state again.. any ideas?:

[08:49:45.596681] raopcl_send_sample:315 check n:3564439548 p:3564440002
tsa:3905388487 sn:30673
[08:49:55.596959] raopcl_send_sample:315 check n:3564449548 p:3564450003
tsa:3905829543 sn:31926
[08:50:00.282441] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:32508 nb:1 (mis:0) (err:0)
[08:50:05.593442] raopcl_send_sample:315 check n:3564459545 p:3564460005
tsa:3906270599 sn:33179
[08:50:15.595880] raopcl_send_sample:315 check n:3564469547 p:3564470006
tsa:3906711655 sn:34432
[08:50:25.600368] raopcl_send_sample:315 check n:3564479552 p:3564480007
tsa:3907152711 sn:35685
[08:50:31.669563] exec_request:458 [0x9ce7e8]: response :  request
failed
[08:50:35.585113] raopcl_send_sample:315 check n:3564489537 p:3564490001
tsa:3907593415 sn:36937
[08:50:45.582726] raopcl_send_sample:315 check n:3564499534 p:356452
tsa:3908034471 sn:38190
[08:50:49.747060] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38108 nb:1 (mis:1) (err:0)
[08:50:49.751663] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38109 nb:1 (mis:1) (err:0)
[08:50:49.751793] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38110 nb:1 (mis:1) (err:0)
[08:50:49.751894] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38111 nb:1 (mis:1) (err:0)
[08:50:49.751993] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38112 nb:1 (mis:1) (err:0)
[08:50:49.754226] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38113 nb:1 (mis:1) (err:0)
[08:50:49.754358] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38114 nb:1 (mis:1) (err:0)
[08:50:49.757838] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38115 nb:1 (mis:1) (err:0)
[08:50:49.757961] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38116 nb:1 (mis:1) (err:0)
[08:50:49.760218] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38117 nb:1 (mis:1) (err:0)
[08:50:49.760320] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38118 nb:1 (mis:1) (err:0)
[08:50:49.777359] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38127 nb:1 (mis:1) (err:0)
[08:50:49.779737] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38128 nb:1 (mis:1) (err:0)
[08:50:49.782888] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38129 nb:1 (mis:1) (err:0)
[08:50:49.782997] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38130 nb:1 (mis:1) (err:0)
[08:50:49.821540] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38137 nb:1 (mis:1) (err:0)
[08:50:49.821703] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38138 nb:1 (mis:1) (err:0)
[08:50:49.823104] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38139 nb:1 (mis:1) (err:0)
[08:50:49.823219] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38140 nb:1 (mis:1) (err:0)
[08:50:49.823880] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38141 nb:1 (mis:1) (err:0)
[08:50:49.823979] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38142 nb:1 (mis:1) (err:0)
[08:50:49.840608] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38150 nb:1 (mis:1) (err:0)
[08:50:49.842585] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38151 nb:1 (mis:1) (err:0)
[08:50:49.845869] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38152 nb:1 (mis:1) (err:0)
[08:50:49.847863] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38153 nb:1 (mis:1) (err:0)
[08:50:49.849848] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38154 nb:1 (mis:1) (err:0)

.
[08:50:50.218190] rtp_control_thread:973 [0xa391c0]: retransmit packet
sn:38384 nb:1 (mis:1) (err:0)
[08:50:55.581715] raopcl_send_sample:315 check n:3564509533 p:3564510003
tsa:3908475527 sn:39443
[08:51:05.560359] raopcl_send_sample:315 check n:3564519512 p:3564520004
tsa:3908916583 sn:40696
[08:51:06.079881] rtp_control_thread:973 

Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-10 Thread philippe_44

epoch1970 wrote: 
> I stopped the AE just now, it was still working fine after something
> like 12hrs. When I started the test yesterday evening the AE stopped
> after 1hr, then again after 1 or 2 tracks. So I increased the network
> buffer to 1000ms, relaunched, and it ran just fine this time. AAC-only
> playlist, no transcoding.
> The AE is wired, it has a DHCP reservation with a fixed address and an
> infinite lease. The DHCP server is on a linux VM on the Lan. There was
> no rationale for me to unplug the wire, but I did by chance.
> 
> Then perhaps I cannot rule out a transient problem with access to the
> music files? My LMS server is a linux VM which accesses the files via
> NFS (over udp, server in the VM host machine.) I can't really say I ever
> had problems playing music, but I have already seen the NFS server go
> unresponsive for a little while. Unlikely, but a possibility.
> 
> The computing environment is not quite standard here. For further tests,
> I could install a dedicated machine with a local drive. That would look
> much more like a regular home setup. 
> I had in -indefinitely postponed- plan to reassemble the scattered bits
> and pieces of a linux 32 bit x86 (Core Solo), 1GB RAM machine. This
> should provide a reliable platform. Or I can acquire yet another Raspi 2
> (these work so nice I keep giving them away it seems...)
> Wouldn't be any bother. Just let me know.
> 
> And, thanks again for the plugin ;)

I don't think this is a problem with your computers or setup. I've seen
a few strange things: I was using blocking sockets to send the audio
frames (these are UDP) but it seems that, some of the lost frames I was
observing were due to lost packet at the sender level (there is a
re-send mechansim that was working, though). When playback was
interrupted on my system, a "send" was blocking for more than a second
(which is really strange, as I send them at the real time pace and our
logs confirmed that no overrun/overflow occured). Anyway, I've moved to
non blocking sockets and a proper of socket 'write' availaibility check,
and with that I've been able to play hours now and no interruptioj nor
lost frame (no need to re-send them), so maybe that's a solution
(although I don't like when I don't understand)



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-09 Thread epoch1970

philippe_44 wrote: 
> I'm wondering if there is not an issue with the main TCP socket timeout.
> I've added a TCP_KEEPALIVE and will run some test today, but I've
> definitely been able to reproduce the issue where in fact, this is not
> the Loop going idle by himself, but the connection is going dark, so no
> data sent, so the Loop will go sleep. 
> I'm a bit confused with the AE problem. Mine is connect through the WAN
> port and is properly discovered and sound plays. But you don't assign a
> dynamic IP to it ?
I stopped the AE just now, it was still working fine after something
like 12hrs. When I started the test yesterday evening the AE stopped
after 1hr, then again after 1 or 2 tracks. So I increased the network
buffer to 1000ms, relaunched, and it ran just fine this time. AAC-only
playlist, no transcoding.
The AE is wired, it has a DHCP reservation with a fixed address and an
infinite lease. The DHCP server is on a linux VM on the Lan.
> I've been able to better corner the problem. Not fully, but there are
> cases where no data is pumped out for more than one minute in a row,
> although all thread are operation but the one in charge of sending data
> to the player is locked, one way or the other.
Then perhaps I cannot rule out a transient problem with access to the
music files? My LMS server is a linux VM which accesses the files via
NFS (over udp, server in the VM host machine.) I can't really say I ever
had problems playing music, but I have already seen the NFS server go
unresponsive for a little while. Unlikely, but a possibility.

The computing environment is not quite standard here. For further tests,
I could install a dedicated machine with a local drive. That would look
much more like a regular home setup. 
I had in -indefinitely postponed- plan to reassemble the scattered bits
and pieces of a linux 32 bit x86 (Core Solo), 1GB RAM machine. This
should provide a reliable platform. Or I can acquire yet another Raspi 2
(these work so nice I keep giving them away it seems...)
Wouldn't be any bother. Just let me know.



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-08 Thread philippe_44

epoch1970 wrote: 
> I don't know if this is relevant, but I have noticed the following :
> - My "Airplay" device Libratone Loop wifi/BT (released end-2014) goes
> to sleep when playing music via the bridge after 3 or 4 hours.
> - The same device does not sleep when playing the audio part of a video
> playlist. I could confirm that further by using the Loop as the audio
> sink of iPeng's player -on iPad, up-to-date iOS- if you wish.
> - My AppleTV 1 device does not go to sleep during a similar exercise.
> This is an "Airtunes" device, it runs aTV OS 2.3, released mid-2008. I
> have tested this first with the device wired, receiving a PCM stream for
> something like 8hrs. I connected it through wifi to confirm, this time
> with -dev8, playing AAC for over 5hrs before I stopped it.
> NB: Wifi signal quality differs. Loop sits <2m from the AE, it uses
> wifi-G and reports an RSSI around -45, the AppleTV, much farther away
> uses wifi-N and reports an RSSI around -80.
> 
> Devices and protocols generations??

epoch1970 wrote: 
> Tonight I want to stream a repeating AAC playlist to the Airport Express
> and see what happens. This AE is the current model (released mid-2012),
> definitely an "Airplay" device. I am having trouble with it. 
> 
> The AE is the only device that I have that registers the RAOP service on
> an IPv4LL address. As seen from LMS host "montreux":
> UPDATE2: Playback hit a snag just before 22:00, so AE went on for 1hr.
> No obvious reason, I was away from LMS. Logfile zipped
> "raopbridge.1454965392.log.gz" available in my Dropbox folder 

I'm wondering if there is not an issue with the main TCP socket timeout.
I've added a TCP_KEEPALIVE and will run some test today, but I've
definitely been able to reproduce the issue where in fact, this is not
the Loop going idle by himself, but the connection is going dark, so no
data sent, so the Loop will go sleep. 
I'm a bit confused with the AE problem. Mine is connect through the WAN
port and is properly discovered and sound plays. But you don't assign a
dynamic IP to it ? (sorry I was reading your post very fast)



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-08 Thread epoch1970

philippe_44 wrote: 
> PS: It happens, and I still need to understand why, that the sound
> stops, although the plugin seems to continue to work normally.
I don't know if this is relevant, but I have noticed the following :
- My "Airplay" device Libratone Loop wifi/BT (released end-2014) goes
to sleep when playing music via the bridge after 3 or 4 hours.
- The same device does not sleep when playing the audio part of a video
playlist. I could confirm that further by using the Loop as the audio
sink of iPeng's player -on iPad, up-to-date iOS- if you wish.
- My AppleTV 1 device does not go to sleep during a similar exercise.
This is an "Airtunes" device, it runs aTV OS 2.3, released mid-2008. I
have tested this first with the device wired, receiving a PCM stream for
something like 8hrs. I connected it through wifi to confirm, this time
with -dev8, playing AAC for over 5hrs before I stopped it.
NB: Wifi signal quality differs. Loop sits <2m from the AE, it uses
wifi-G and reports an RSSI around -45, the AppleTV, much farther away
uses wifi-N and reports an RSSI around -80.

Devices and protocols generations??



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-08 Thread epoch1970

Tonight I want to stream a repeating AAC playlist to the Airport Express
and see what happens. This AE is the current model (released mid-2012),
definitely an "Airplay" device. I am having trouble with it. 

The AE is the only device that I have that registers the RAOP service on
an IPv4LL address. As seen from LMS host "montreux":
Code:

root@montreux:/usr/local/bin/mDNS-SD/bin# ./mdnssd -t 30 
_raop._tcp.local|sort|uniq
  ===
  AppleTV-2.local   172.17.20.1 49155   
0017F2F85EED@Hollywood._raop._tcp.local
  loop.local172.17.30.1 5000C467B50844C9@loop._raop._tcp.local
  wap01.local   172.17.0.2545000
34363BBB4609@AE-model-A1392._raop._tcp.local
  root@montreux:/usr/local/bin/mDNS-SD/bin# dig @224.0.0.251 -p 5353 any 
34363BBB4609@AE-model-A1392._raop._tcp.local
  
  ; <<>> DiG 9.9.5-9+deb8u5-Debian <<>> @224.0.0.251 -p 5353 any 
34363BBB4609@AE-model-A1392._raop._tcp.local
  ; (1 server found)
  ;; global options: +cmd
  ;; Got answer:
  ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14899
  ;; flags: qr aa; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 3
  
  ;; QUESTION SECTION:
  ;34363BBB4609\@AE-model-A1392._raop._tcp.local. IN ANY
  
  ;; ANSWER SECTION:
  34363BBB4609\@AE-model-A1392._raop._tcp.local. 10 IN TXT "txtvers=1" "ch=2" 
"cn=0,1" "et=0,4" "sv=false" "da=true" "sr=44100" "ss=16" "pw=false" "vn=65537" 
"tp=TCP,UDP" "vs=105.1" "am=AirPort10,115" "fv=76500.6" "sf=0x4"
  34363BBB4609\@AE-model-A1392._raop._tcp.local. 10 IN SRV 0 0 5000 wap01.local.
  
  ;; ADDITIONAL SECTION:
  wap01.local.  10  IN  fe80::3636:3bff:febb:4609
  wap01.local.  10  IN  A   172.17.0.254
  wap01.local.  10  IN  A   169.254.57.161
  
  ;; Query time: 16 msec
  ;; SERVER: 172.17.0.254#5353(224.0.0.251)
  ;; WHEN: Mon Feb 08 18:13:02 CET 2016
  ;; MSG SIZE  rcvd: 294
  
  root@montreux:/usr/local/bin/mDNS-SD/bin# dig @224.0.0.251 -p 5353 any 
0017F2F85EED@Hollywood._raop._tcp.local
  
  ; <<>> DiG 9.9.5-9+deb8u5-Debian <<>> @224.0.0.251 -p 5353 any 
0017F2F85EED@Hollywood._raop._tcp.local
  ; (1 server found)
  ;; global options: +cmd
  ;; Got answer:
  ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7648
  ;; 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  fe80::217:f2ff:fef8:5eed
  AppleTV-2.local.  10  IN  A   172.17.20.1
  
  ;; Query time: 5 msec
  ;; SERVER: 172.17.20.1#5353(224.0.0.251)
  ;; WHEN: Mon Feb 08 18:14:09 CET 2016
  ;; MSG SIZE  rcvd: 272
  
  root@montreux:/usr/local/bin/mDNS-SD/bin# dig @224.0.0.251 -p 5353 any 
C467B50844C9@loop._raop._tcp.local
  
  ; <<>> DiG 9.9.5-9+deb8u5-Debian <<>> @224.0.0.251 -p 5353 any 
C467B50844C9@loop._raop._tcp.local
  ; (1 server found)
  ;; global options: +cmd
  ;; Got answer:
  ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38729
  ;; flags: qr aa; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
  
  ;; QUESTION SECTION:
  ;C467B50844C9\@loop._raop._tcp.local. IN  ANY
  
  ;; ANSWER SECTION:
  C467B50844C9\@loop._raop._tcp.local. 10   IN SRV  0 0 5000 loop.local.
  C467B50844C9\@loop._raop._tcp.local. 10   IN TXT  "cn=0,1" "da=true" 
"et=0,4" "ft=0x444C0A00" "am=LibratoneLoop2" "fv=s9827.43.0" "sd=101" "sf=0x4" 
"tp=UDP" "vn=65537" "vs=190.9"
  
  ;; ADDITIONAL SECTION:
  loop.local.   10  IN  A   172.17.30.1
  
  ;; Query time: 34 msec
  ;; SERVER: 172.17.30.1#5353(224.0.0.251)
  ;; WHEN: Mon Feb 08 18:14:43 CET 2016
  ;; MSG SIZE  rcvd: 212


The LMS server didn't have avahi-autoipd installed, so no route to
169.254/16. I have installed the package.
Code:

root@montreux:~# ping wap01.local
  PING wap01.local (169.254.57.161) 56(84) bytes of data.
  ^C
  --- wap01.local ping statistics ---
  3 packets transmitted, 0 received, 100% packet loss, time 1999ms <-- before
  root@montreux:~# ping -c 2 wap01.local
  PING wap01.local (169.254.57.161) 56(84) bytes of data.
  64 bytes from wap01.local (169.254.57.161): icmp_seq=1 ttl=255 time=0.276 ms
  64 bytes from wap01.local (169.254.57.161): icmp_seq=2 ttl=255 time=0.341 ms
  
  --- wap01.local ping statistics ---
  2 packets transmitted, 2 received, 0% packet loss, time 1001ms
  rtt min/avg/max/mdev = 0.276/0.308/0.341/0.036 ms <-- after install + reboot


It still didn't work, everything looking normal and no audio.
Code:

Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-07 Thread strim

Hello Guys, 

Philippe thanks for your work, i would love to use my Denon AVR of Apple
TV as Squeezebox device.
But your plugin will not work, i use a Synology DS 213 (arm) as Server
with LMS repack 7.9 installed.
It starts only on armv6hf, then it stops and my synology crashes, have
to start it up and LMS is down.
The configuration file wil not write.


I hope someone has a fix.

Sander


1988919890


+---+
|Filename: Schermafbeelding 2016-02-07 om 13.54.14.png  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=19890|
+---+


strim's Profile: http://forums.slimdevices.com/member.php?userid=59606
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-07 Thread philippe_44

strim wrote: 
> Hello Guys, 
> 
> Philippe thanks for your work, i would love to use my Denon AVR of Apple
> TV as Squeezebox device.
> But your plugin will not work, i use a Synology DS 213 (arm) as Server
> with LMS repack 7.9 installed.
> It starts only on armv6hf, then it stops and my synology crashes, have
> to start it up and LMS is down.
> The configuration file wil not write.
> 
> 
> I hope someone has a fix.
> 
> Sander
> 
> 

The DS213 cannot use the armv6hf binary. It must use and armv5el (no
hard floating point). I've not released such built but I'm currently
testing it to see if soft floating point will be good enough)



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-07 Thread philippe_44

Just uploaded the dev-8

- corrects the mp4/aac issue
- adds metadata and progress support (useful on apple tv and other
devices with display)
- armv6hf binary works for Pi B and Pi 2
- added an armv5el binary (probably challenging for such devices, I
cannot test)



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-06 Thread philippe_44

epoch1970 wrote: 
> After ~4hrs my Libratone Loop ceased producing sound. When I looked, its
> led status indicated the device was asleep. LMS showed the player was
> on, and playing. I shutdown the plugin and inspected the logfile. I am
> not sure but I think the issue happens around 13:12, more or less 10
> minutes before I noticed the background music was gone.
> Logfile is 5.5MB zipped -> 'dropbox link'
> (https://www.dropbox.com/sh/cg85512r5hp8lgj/AAArQMXm71YL0eKtcvCSTLdda?dl=0)
> 
> UPDATE: Upon plugin restart, player is shown as powered on, play makes
> no soud, device still asleep. Power off, wait 2 minutes, power on, play.
> No change. Shutdown plugin, saved log "raopbridge.1454764743.log.gz"
> (8kB) in same Dropbox dir.
> 
> UPDATE 2: Happened again. I resorted to reboot the device (something I
> never have to do.) The device has a permanent DHCP lease, and so does
> the AP.
> Now music is playing again. Same scenario: one album in loop, mp3
> ~270mbps this time.
> 
> UPDATE 3: I just noticed my ntp daemon had died. I've had trouble with
> ntpd and debian for a while and systemd is an aggravation. I just
> restarted it, it should return soon to its normal stratum-3 level:> 
Code:

  >   > root@montreux:~# ntpq -n
  > ntpq> peers
  > remote   refid  st t when poll reach   delay   offset  jitter
  > 
==
  > +172.17.0.2  172.31.0.10  2 u   15   6430.150   -0.180   
0.024
  > *127.127.1.1 .LOCL.   6 l   19   6430.0000.000   
0.000
  > ntpq> 

> > The reference clock is a radio-driven source local to the lan. There
> is 1 reliable internet-based backup source.
> 
> UPDATE 4: Device went to sleep again while playing, after 3hrs+.
> System clock is still ok, it's not related to NTP. This time the log
> shows I can regain control of the device and play a track before
> stopping. What I did this time was to take control of the device from
> my ipad and briefly cast the audio part of a video to the device. Once
> I had released the device, I changed track on LMS and got audio
> working again.
> Log file: raopbridge.1454779657.log (4.9MB)
> I will now run 2 tests: stream the audio part of a video playlist >
> 4hrs long on the Libratone device; Hook a speaker to my AE access
> point and use it with squeeze2raop.

> 
> UPDATE 5: Crash when trying to play an m4a file to AirportExpress. GDB
> session uploaded to the Dropbox dir:
> "aac_airport-express-A1392_gdb.txt.gz"
> I will now try to send audio to my old AppleTV and run the endurance
> test, and after that I'm out of ammo ;)
> 
> UPDATE 6: The AppleTV1,1 crashes just the same as the AE on the m4a
> files. Contrary to the AirportExpress it accepts PCM streams, with a
> codec string as "pcm,aif,mp3" (and perhaps also fiddling a bit w/
> Advanced>File Formats) I can play the m4a files (or anyother I guess) on
> the AppleTV, converted to PCM. The AppleTV is wired.
Solved - this was a regression I introduced recently (took me a while to
remember I hate when this happens: you know but you don't remember what
you've done :)

Lots of tests, thanks - I'll try to answer one-by-one, when I have the
solution



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-06 Thread epoch1970

After ~4hrs my Libratone Loop ceased producing sound. When I looked, its
led status indicated the device was asleep. LMS showed the player was
on, and playing. I shutdown the plugin and inspected the logfile. I am
not sure but I think the issue happens around 13:12, more or less 10
minutes before I noticed the background music was gone.
Logfile is 5.5MB zipped -> 'dropbox link'
(https://www.dropbox.com/sh/cg85512r5hp8lgj/AAArQMXm71YL0eKtcvCSTLdda?dl=0)



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-05 Thread epoch1970

woodster,
may I enquire which version of Zipp you are using: v1 (circa 2013), v2
(circa 2014) or "New Zipp" (current) ?



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-05 Thread philippe_44

woodster wrote: 
> Hi,
> 
> I'm on dev6 - and that solved the issue with not being able to select my
> Libratone Zipp.
> 
> Yesterday I had two issues - one: I had a stream playing from Tidal when
> suddenly the music stopped - the log shows the following:
> 
> 18:05:05.557398] raopcl_send_sample:313 check n:2906559509 p:2906560006
> tsa:3077957894 sn:19650 
> [18:05:15.641864] raopcl_send_sample:313 check n:2906569493 p:290657
> tsa:3078398598 sn:20902 
> [18:05:25.632205] raopcl_send_sample:313 check n:2906579584 p:2906580001
> tsa:3078839654 sn:22155 
> [18:05:35.627766] raopcl_send_sample:313 check n:2906589579 p:2906590002
> tsa:3079280710 sn:23408 
> [18:05:45.623059] raopcl_send_sample:313 check n:2906599575 p:290664
> tsa:3079721766 sn:24661 
> [18:05:55.613029] raopcl_send_sample:313 check n:2906609564 p:2906610005
> tsa:3080162822 sn:25914 
> [18:06:05.602755] raopcl_send_sample:313 check n:2906619554 p:2906620006
> tsa:3080603878 sn:27167 
> [18:06:15.600758] raopcl_send_sample:313 check n:2906629552 p:2906630007
> tsa:3081044934 sn:28420 
> [18:06:20.853510] UpdateMRThread:370 [0x8a770]: removing renderer
> (Badev-relse) 
> [18:06:21.016350] RaopThread:141 [0x1c777d8]: dead connection,
> attempting reset *** glibc detected ***
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf:
> double free or corruption (out): 0x76cbb300 *** Retarting Squeeze2raop
> after crash:
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf
> -Z -I -f /var/log/squeezeboxserver/raopbridge.log -x
> /var/lib/squeezeboxserver/prefs/raopbridge.xml [18:06:37.269493]
> main:769 Starting squeeze2raop version: v0.1.0.0-dev-6 (Feb 3 2016 @
> 00:02:54)
> 
> And two: When LMS is idle - no playing - I have random restarts of the
> plugin - the log shows the following (this happens periodically
> throughout the day):
> 
> [18:06:52.713594] AddRaopDevice:486 [0x8a0bc]: adding renderer
> (Libratone-1) 
> [18:06:52.724671] AddRaopDevice:486 [0x8a770]: adding renderer
> (Badev-relse) 
> [18:06:52.735729] RaopDisconnect:102 [0x8a4fb]: full disconnect request
> 
> [18:06:52.736122] RaopThread:167 [0x8a4fb]: processing off 
> [18:06:52.790147] AddRaopDevice:486 [0x8ae24]: adding renderer
> (Libratone-2) 
> [18:06:52.814171] RaopDisconnect:102 [0x8abaa]: full disconnect request
> 
> [18:06:52.814455] RaopThread:167 [0x8abaa]: processing off 
> [18:06:52.962226] RaopSetVolume:124 [0x8b263]: volume request 
> [18:06:52.962507] RaopThread:172 [0x8b263]: processing volume 
> [18:08:52.362046] UpdateMRThread:370 [0x8a770]: removing renderer
> (Badev-relse) 
> [18:08:52.545344] RaopThread:141 [0x198a7e8]: dead connection,
> attempting reset 
> [18:08:52.545685] exec_request:414 [0x198da28]: couldn't write request
> (-1!=52) 
> [18:08:52.545798] read_line:181 fd: 0 read error: Socket operation on
> non-socket 
> [18:08:52.545974] exec_request:421 [0x198da28]: response : request
> failed Retarting Squeeze2raop after crash:
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-ar
Thanks for feedback - I've seen these issues and they are now corrected.
The dead connection is a bug  created when I added in -dev-6 a solution
to restore the link when a player's connection goes dark. For the
"removing renderer", I've observed sometimes that the mDNS search lacks
stability (sometimes there is no asnwer to the query). Just change the
parameter 'remove after XX failed scans" and increase XX to a much
higher value



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-05 Thread woodster

Yes of course, it's the first WiFi only. 

Martin



woodster's Profile: http://forums.slimdevices.com/member.php?userid=32688
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-05 Thread woodster

Hi,

I'm on dev6 - and that solved the issue with not being able to select my
Libratone Zipp.

Yesterday I had two issues - one: I had a stream playing from Tidal when
suddenly the music stopped - the log shows the following:

18:05:05.557398] raopcl_send_sample:313 check n:2906559509 p:2906560006
tsa:3077957894 sn:19650 
[18:05:15.641864] raopcl_send_sample:313 check n:2906569493 p:290657
tsa:3078398598 sn:20902 
[18:05:25.632205] raopcl_send_sample:313 check n:2906579584 p:2906580001
tsa:3078839654 sn:22155 
[18:05:35.627766] raopcl_send_sample:313 check n:2906589579 p:2906590002
tsa:3079280710 sn:23408 
[18:05:45.623059] raopcl_send_sample:313 check n:2906599575 p:290664
tsa:3079721766 sn:24661 
[18:05:55.613029] raopcl_send_sample:313 check n:2906609564 p:2906610005
tsa:3080162822 sn:25914 
[18:06:05.602755] raopcl_send_sample:313 check n:2906619554 p:2906620006
tsa:3080603878 sn:27167 
[18:06:15.600758] raopcl_send_sample:313 check n:2906629552 p:2906630007
tsa:3081044934 sn:28420 
[18:06:20.853510] UpdateMRThread:370 [0x8a770]: removing renderer
(Badev-relse) 
[18:06:21.016350] RaopThread:141 [0x1c777d8]: dead connection,
attempting reset *** glibc detected ***
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf:
double free or corruption (out): 0x76cbb300 *** Retarting Squeeze2raop
after crash:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf
-Z -I -f /var/log/squeezeboxserver/raopbridge.log -x
/var/lib/squeezeboxserver/prefs/raopbridge.xml [18:06:37.269493]
main:769 Starting squeeze2raop version: v0.1.0.0-dev-6 (Feb 3 2016 @
00:02:54)

And two: When LMS is idle - no playing - I have random restarts of the
plugin - the log shows the following (this happens periodically
throughout the day):

[18:06:52.713594] AddRaopDevice:486 [0x8a0bc]: adding renderer
(Libratone-1) 
[18:06:52.724671] AddRaopDevice:486 [0x8a770]: adding renderer
(Badev-relse) 
[18:06:52.735729] RaopDisconnect:102 [0x8a4fb]: full disconnect request

[18:06:52.736122] RaopThread:167 [0x8a4fb]: processing off 
[18:06:52.790147] AddRaopDevice:486 [0x8ae24]: adding renderer
(Libratone-2) 
[18:06:52.814171] RaopDisconnect:102 [0x8abaa]: full disconnect request

[18:06:52.814455] RaopThread:167 [0x8abaa]: processing off 
[18:06:52.962226] RaopSetVolume:124 [0x8b263]: volume request 
[18:06:52.962507] RaopThread:172 [0x8b263]: processing volume 
[18:08:52.362046] UpdateMRThread:370 [0x8a770]: removing renderer
(Badev-relse) 
[18:08:52.545344] RaopThread:141 [0x198a7e8]: dead connection,
attempting reset 
[18:08:52.545685] exec_request:414 [0x198da28]: couldn't write request
(-1!=52) 
[18:08:52.545798] read_line:181 fd: 0 read error: Socket operation on
non-socket 
[18:08:52.545974] exec_request:421 [0x198da28]: response : request
failed Retarting Squeeze2raop after crash:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-ar



woodster's Profile: http://forums.slimdevices.com/member.php?userid=32688
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-05 Thread epoch1970

woodster wrote: 
> Yes of course, it's the first WiFi only. 
> 
> MartinSame one as mom's using, excellent. The Loop I'm using is a wifi+BT
generation.
Running a 24h-long playlist with an SB3 right now. If tomorrow evening
the players are still in sync I think I won't be able to avoid buying
the new model (mini)...



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-05 Thread woodster

Yeah I think it's great value for the money. 

I will try dev7 on Sunday, but it sounds promising.



woodster's Profile: http://forums.slimdevices.com/member.php?userid=32688
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-04 Thread philippe_44

epoch1970 wrote: 
> I had no custom-convert.file. I reinstalled the stock convert.conf file
> from last night's LMS build. It was still transcoding...
> So I clobbered a lot of conversion options in Settings>Advanced>File
> Types (removing almost all "format X -> mp3 stream" paths) and with
> that, mp3 conversion is gone and playback of mp3 tracks works.
> This is what I typically get now when I play a Flac file:> 
Code:

  >   > File Format: FLAC
  > Duration: 4:35
  > Bitrate: 1030kbps VBR (Converted to 705kbps FLAC)
  > Sample Rate: 44.1 kHz
  > Sample Size: 16Bits

> > 
> The same file plays without conversion on an SB3. Would converting to
> CBR be a requirement of the plugin?

No it's not. My tests are a combo of using all formats. Did you change
the codec order in the plugin settings ? This is where there is a change
and up to dev-6, I was putting mp3 'too early' in the list.



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-04 Thread epoch1970

philippe_44 wrote: 
> No it's not. My tests are a combo of using all formats. Did you change
> the codec order in the plugin settings ? This is where there is a change
> and up to dev-6, I was putting mp3 'too early' in the list.

Mhh. I had an old string there. I erased my conf and now I have
"flc,pcm,aif,aac,mp3" in  and no
device-specific string.
I also restarted LMS, but alas, it continues to convert to CBR... I
should test on a pristine VM, this machine started its life years ago
running LMS 7.6 IIRC.



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-04 Thread philippe_44

epoch1970 wrote: 
> Mhh. I had an old string there. I erased my conf and now I have
> "flc,pcm,aif,aac,mp3" in  and no
> device-specific string.
> I also restarted LMS, but alas, it continues to convert to CBR... I
> should test on a pristine VM, this machine started its life years ago
> running LMS 7.6 IIRC.

oh ... did you try w/o sync (device standalone). LMS might decide to use
different rules when it has to send the same thing to many different
players.



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-04 Thread epoch1970

philippe_44 wrote: 
> Have you erased the rule in custom-convert that I suggested to add
> initially ? it's not needed any more.
I had no custom-convert.file. I reinstalled the stock convert.conf file
from last night's LMS build. It was still transcoding...
So I clobbered a lot of conversion options in Settings>Advanced>File
Types (removing almost all "format X -> mp3 stream" paths) and with
that, mp3 conversion is gone and playback of mp3 tracks works.
This is what I typically get now when I play a Flac file:
Code:

File Format: FLAC
  Duration: 4:35
  Bitrate: 1030kbps VBR (Converted to 705kbps FLAC)
  Sample Rate: 44.1 kHz
  Sample Size: 16Bits


The same file plays without conversion on an SB3. Would converting to
CBR be a requirement of the plugin?



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-04 Thread epoch1970

Well audio is severely out ouf sync, now :)
- The SB3 alone plays a FLAC file without transcoding,
- My Loop plays a FLAC file transcoded to FLAC, and an MP3 file without
transcoding.
I'll install in a VM and see. If results are different, I'll be able to
diff the instances. (this transcoding stuff borders on black magic.)



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-03 Thread epoch1970

woodster wrote: 
> - I have a Libratone Zipp that is discovered, but cannot be enable, each
> time I enable it, it gets unchecked by itself. Can't see anything about
> this player in the log.
Yesterday we had issues with my Libratone Loop. philippe_44 has solved
it, for me, in version dev-5 of the plugin.
To update the plugin I have to uninstall it, restart LMS, install it
again (new version gets pulled), restart LMS.
Maybe you want to try this if you're not running dev-5.

ALSO: If you're under linux I think the executables are not ...
executable after install in this version. I had to go to the plugin/Bin
(in my case:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/
) and chmod +x one of the squeeze2raop files.

HTH



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-03 Thread epoch1970

Hey philippe_44,

what you've done here is absolutely insane... I am playing right now
with an SB3 on the right channel, my Libratone Loop on the left channel
:D Audio delay set to 370ms in the loop player. Purrfect!

I reported avahi-daemon was conflicting with the plugin. My apologies,
this was wrong. I unfortunately had "disallow-other-stacks=yes" in
avahi-daemon.conf.
This is not the default, and when the line is commented out, it all
works fine.
Sorry again.

I don't understand what happens wrt transcoding. I listened to FLAC and
mp3s, all the FLAC was converted to mp3, and gapless wasn't truly
gapless. So I whacked "mp3" out of the way in the supported codecs. And
now gapless is gapless like you couldn't believe. But I can't play mp3s
anymore and my FLAC gets converted to PCM or AIFF :confused:

I still think the Libratone Loop is funky wrt raop.tcp registration. I
have the impression it registers airport.tcp better? Or could it be the
presence of my AE, acting as sleep proxy?
I'll explore this further.



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-03 Thread philippe_44

woodster wrote: 
> Hi, 
> 
> A couple of things. 
> - first time sound on, but with the volume all the way down, it was
> playing insanely loud. Could the discovery make sure to sync volume
> level all the way down? 
> 
> - I have a Libratone Zipp that is discovered, but cannot be enable, each
> time I enable it, it gets unchecked by itself. Can't see anything about
> this player in the log. 
> 
> - I have played a radio stream, where suddenly the sound stops. The
> counter continues to increment, and if I press pause and play again then
> sound comes again,  and the counter continues still Doesn't start
> from zero again. 
> 
> But sound is flowing, and two airplay devices have been playing I 
> sync Yeay.. 
> 
> Martin

I'm doomed with volume issues ... so normally there is no reason why
volume would be at max. After discovery, LMS volume is sent only when
playback starts. What is your config file ? Would you mind erasing it if
you have created it with a former version ? What happened precisely ? A
burst of volume then it went down or stayed loud until you did something
?

epoch1970 wrote: 
> 
> 
> ALSO: If you're under linux I think the executables are not ...
> executable after install in this version. I had to go to the plugin/Bin
> (in my case:
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/
> ) and chmod +x one of the squeeze2raop files.
> 
> HTH

Normally, first time you start the app, it will correct the executable
bit if needed

I've also pushed another version dev-6 that improves some retransmission
modes when packet are lost (was not working properly up to dev-5)



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-03 Thread philippe_44

epoch1970 wrote: 
> Hey philippe_44,
> 
> what you've done here is absolutely insane... I am playing right now
> with an SB3 on the right channel, my Libratone Loop on the left channel
> :D Audio delay set to 370ms in the loop player. Purrfect!
> 
> I reported avahi-daemon was conflicting with the plugin. My apologies,
> this was wrong. I unfortunately had "disallow-other-stacks=yes" in
> avahi-daemon.conf.
> This is not the default, and when the line is commented out, it all
> works fine.
> Sorry again.
> 
> > > > 
> > I don't understand what happens wrt transcoding. I listened to FLAC and
> > mp3s, all the FLAC was converted to mp3, and gapless wasn't truly
> > gapless. So I whacked "mp3" out of the way in the supported codecs. And
> > now gapless is gapless like you couldn't believe. But I can't play mp3s
> > anymore and my FLAC gets converted to PCM or AIFF :confused:
> > > > 
> 
> Have you erased the rule in custom-convert that I suggested to add
> initially ? it's not needed any more. What is the codec line you have
> ? I have to admit that the rules that LMS uses for transcoding is a
> bit of a mistery to me. I know that the order in the parameter
>  matters and then the rules of
> convert.conf/custom-convert.conf are used with 1st priority to the
> most specific, down to the least specific. Then I was expecting that
> LMS would look at the codec order and then try to find a rule usable
> with the 1st codec and if not, go to the next codec one and so on ...
> But that does not seem to be the case. It seems to prefer flac no
> matter what (e.g.). What I now use for codec order is
> "flc,pcm,aif,aac,mp3", butt with that, wav are transcoded to flc,
> although the convert.conf has a wav pcm rule ...
> 
> > > > 
> > I still think the Libratone Loop is funky wrt raop.tcp registration. I
> > have the impression it registers airport.tcp better? Or could it be the
> > presence of my AE, acting as sleep proxy?
> > I'll explore this further.> > 
> I'm not sure all airplay devices would register to that, no ?



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-03 Thread woodster

Hi, 

A couple of things. 
- first time sound on, but with the volume all the way down, it was
playing insanely loud. Could the discovery make sure to sync volume
level all the way down? 

- I have a Libratone Zipp that is discovered, but cannot be enable, each
time I enable it, it gets unchecked by itself. Can't see anything about
this player in the log. 

- I have played a radio stream, where suddenly the sound stops. The
counter continues to increment, and if I press pause and play again then
sound comes again,  and the counter continues still Doesn't start
from zero again. 

But sound is flowing, and two airplay devices have been playing I 
sync Yeay.. 

Martin



woodster's Profile: http://forums.slimdevices.com/member.php?userid=32688
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-02 Thread philippe_44

Just type 'gdb ./squeeze2raop-x86-64´ and then type 'run' at the prompt.
Let It crash and once it has crashed, type 'backtrace' and tell me what
you see. I gdb is not found, install build-essential by sudo apt-get
install build-essential



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-02 Thread epoch1970

philippe_44 wrote: 
> Bummer ... Any chance to launch it in a command line, and even better
> with gdb and then upon crash do a 'backtrace' ?

Please instruct on the use of gbd, I've never done that. But I did try
from the CLI:
Code:


root@montreux:/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin#
 ./squeeze2raop-x86-64 -I -d all=debug -x 
/var/lib/squeezeboxserver/prefs/raopbridge.xml 
  [21:09:31.919671] main:773 Starting squeeze2raop version: v0.1.0.0-dev-4 (Feb 
 2 2016 @ 09:35:36)
  
  [21:09:31.920217] register_pcm:244 using pcm to decode aif,pcm
  [21:09:31.920706] load_mad:392 loaded libmad.so.0
  [21:09:31.920810] register_mad:413 using mad to decode mp3
  [21:09:31.920917] load_mad:392 loaded libmad.so.0
  [21:09:31.921073] register_mad:413 using mad to decode mp3
  [21:09:31.921796] load_flac:251 loaded libFLAC.so.8
  [21:09:31.921903] register_flac:272 using flac to decode flc
  [21:09:31.922332] load_faad:612 loaded libfaad.so.2
  [21:09:31.922435] register_faad:633 using faad to decode aac
  [21:09:31.923193] load_soxr:279 loaded libsoxr.so.0
  [21:09:31.923315] register_soxr:384 using soxr for resampling
  [21:09:31.924146] UpdateMRThread:312 Begin Cast devices update
  [21:09:47.310199] AddRaopDevice:490 [0x6844e0]: adding renderer (AppleTV-2)
  [21:09:47.311222] stream_thread_init:306 [0x62d260] streambuf size: 2097152
  [21:09:47.317678] output_raop_thread_init:141 [0x62d260]: init output raop
  [21:09:47.318080] output_init_common:302 [0x1aeaa0]: outputbuf size: 
4014217850
  [21:09:47.318318] decode_thread_init:141 [0x62d260]: init decode
  [21:09:47.318643] resample_init:367 [0x62d260]: resampling sync recipe: 0x00, 
flags: 0x00, scale: 0.89, precision: 0.0, passband_end: 0.0, 
stopband_begin: 0.0, phase_response: -1.0
  [21:09:47.318841] discover_server:753 [0x62d260] sending discovery
  [21:09:47.319432] discover_server:782 [0x62d260] got response from: 
172.17.0.20:3483
  [21:09:47.319570] slimproto_thread_init:940 [0x62d260] connecting to 
172.17.0.20:3483
  [21:09:47.319763] AddRaopDevice:490 [0x684be0]: adding renderer (wap01)
  [21:09:47.320491] stream_thread_init:306 [0x62fa70] streambuf size: 2097152
  [21:09:47.324852] slimproto:824 [0x62d260] connected
  [21:09:47.325191] sendHELO:106 [0x62d260] mac: aa:aa:b3:b8:e1:d6
  [21:09:47.325296] sendHELO:107 [0x62d260] cap: 
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=0,MaxSampleRate=96000,mp3,aac,flc,pcm,aif
  [21:09:47.331306] process:523 [0x62d260] strm
  ...
  ...
  [21:13:43.003138] sendSTAT:158 [0x62d260]: STAT: STMt
  [21:13:43.372359] RaopThread:133 [0x684918]: tick 2745077324
  [21:13:43.388489] RaopThread:133 [0x685014]: tick 2745077340
  [21:13:44.372554] RaopThread:133 [0x684918]: tick 2745078324
  [21:13:44.388641] RaopThread:133 [0x685014]: tick 2745078340
  [21:13:45.372717] RaopThread:133 [0x684918]: tick 2745079324
  [21:13:45.388801] RaopThread:133 [0x685014]: tick 2745079340
  [21:13:46.372884] RaopThread:133 [0x684918]: tick 2745080324
  [21:13:46.388969] RaopThread:133 [0x685014]: tick 2745080340
  [21:13:47.003022] process:523 [0x62fa70] strm
  [21:13:47.003074] process_strm:236 [0x62fa70] strm command t
  [21:13:47.003085] sendSTAT:158 [0x62fa70]: STAT: STMt
  [21:13:47.003374] process:523 [0x62d260] strm
  [21:13:47.003390] process_strm:236 [0x62d260] strm command t
  [21:13:47.003397] sendSTAT:158 [0x62d260]: STAT: STMt
  [21:13:47.115035] AddRaopDevice:490 [0x6852e0]: adding renderer (loop)
  Segmentation fault




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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] AirPlay bridge: use airplay devices from LMS (experimental)

2016-02-02 Thread philippe_44

Bummer ... Any chance to launch it in a command line, and even better
with gdb and then upon crash do a 'backtrace' ?



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=105114

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


  1   2   >