Re: [SlimDevices: Plugins] announce: squeeze2upnp, a bridge between LMS and uPNP devices
philippe_44 wrote: 1) Well, I wish it will be simple, but LMS has a certain way to send the audio stream, repackage and reformat it and also expect a set of information in return from the player, with a proprietary control protocol that *have to* be respected. So it will still have to be a gateway, I'm afraid FYI, this works quite well: squeezelite -z -s localhost -d all=info -f /var/log/squeezelite-99.log \ -m 00:04:20:F2:00:09 -n SL pipe AirPlay (Bedroom) -a 16 -o - | \ /usr/bin/mono /usr/local/bin/JustePort.exe - 169.254.14.50 -10 Of course, I have to discover AirPlay devices manually, and start one squeezelite for each device, but this is just to show you how much simpler would it be to get AirPlay workihg - especially now that you had mastered interfacoing with LMS. All that would need to be done, is : - use libshairport for AirPlay devices discovery, instead of using libupnp. - register one LMS player per one discovered AirPlay device - exactly as you are doing right now for UPnP devices - pass the stream output directly to libshairport NB: in above example, I'm using an ancient .Net executable, simply because it accepts pipe input. afalout's Profile: http://forums.slimdevices.com/member.php?userid=63706 View this thread: http://forums.slimdevices.com/showthread.php?t=102496 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
audiomuze wrote: I'm running 7.9 from Triode's SoA repository. LMS is installed in /opt/logitechmediaserver/ and runs fine. Local Player 1.6.5 is marked as active and under settings Start Player With Server is ticked, however, Not Running (squeezelite-x86-64) appears to the right of the tick box and Squeezelite does not appear as a player. Looking at the LMS install, the various platform compiles of squeezelite are located in /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/LocalPlayer/Bin/ squeezelite-x86-64 is present and marked executable for all groups with owner logitechems. Code: -rwxrwxr-x 1 logitechms logitechms 127354 Nov 21 12:31 squeezelite-armv5te -rwxrwxr-x 1 logitechms logitechms 127354 Nov 21 12:31 squeezelite-armv6 -rwxr-xr-x 1 logitechms logitechms 136381 Nov 21 12:38 squeezelite-armv6hf -rwxrwxr-x 1 logitechms logitechms 133764 Nov 21 12:30 squeezelite-i386 -rwxrwxr-x 1 logitechms logitechms 139261 Nov 21 12:45 squeezelite-x86-64 If I run it in a terminal window it executes properly and finds the xmos DAC connected to the PC. Any ideas why it does not start up on it's own? Is SoA also starting its own squeezelite? You should not need the localplayer plugin if you are using SoA. Triode's Profile: http://forums.slimdevices.com/member.php?userid=17 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
audiomuze wrote: I'm not running SoA on this PC - it serves as my my desktop PC, also running Arch. I installed LMS on this PC using the scripts you include in SoA. I know little about such things, but I do know that on my system LocalPlayer will not run unless it is in the Audio group, but the same program will run manually under a normal user since most users are in the Audio group. LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. LMS Squeeze2upnp (Beta - derived from squeezelite) to Musical Fidelity M1 CLiC and Marantz CR603 UPnP renderers. Squeezelite to PC sound. Minimserver (server) and upplay (control point) to same amps to upmpdcli/mpd PC renderers. Meridian USB Explorer DAC from PCs to speakers/headphones. Wireless Xubuntu 14.04 laptop controls LMS/upplay via Firefox. Have a Touch with EDO, and a spare, but don't use. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: squeeze2upnp, a bridge between LMS and uPNP devices
doctor_big wrote: Would you happen to have a step by step guide to how to get this working on my WHS box? Thanks Jason. Have you seen this? https://github.com/philippe44/LMS-to-uPnP/blob/master/dev/New%20user%20guide.pdf LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. LMS Squeeze2upnp (Beta - derived from squeezelite) to Musical Fidelity M1 CLiC and Marantz CR603 UPnP renderers. Squeezelite to PC sound. Minimserver (server) and upplay (control point) to same amps to upmpdcli/mpd PC renderers. Meridian USB Explorer DAC from PCs to speakers/headphones. Wireless Xubuntu 14.04 laptop controls LMS/upplay via Firefox. Have a Touch with EDO, and a spare, but don't use. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=102496 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Annouce: Squeeze Control is now available for Windows Phone 8
I like this so much I finally bought a license :). I really like how you emulate the menus of SqueezePlay so the LMS plugin I wrote just works. I am trying Spotify for a few months along with the 3rd Party Spotify plugin and noticed that the context menu for a Spotify track is not the same in your app. For example, if I search for a particular track in the Spotify plugin, the context menu in SqueezePlay has Star Track, Add Artist to Library, Add Track to New Playlist, and several other custom items. In your app, it only has the standard Add to End, Play Next, ... items. Is there any way you can show the custom plugin menu items in your app? A wishlist item I have would be to tie the volume controls in your app to my AVR (Onkyo via IP). It might not be feasible but it would be very useful for me. Thanks. cncb's Profile: http://forums.slimdevices.com/member.php?userid=8501 View this thread: http://forums.slimdevices.com/showthread.php?t=101661 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
Triode wrote: Is SoA also starting its own squeezelite? You should not need the localplayer plugin if you are using SoA.I'm not running SoA on this PC - it serves as my my desktop PC, also running Arch. I installed LMS on this PC using the scripts you include in SoA. SqueezeWand | 'Vivere DAC MKI' (http://vivereaudio.com/post/2013/08/16/DAC-I-is-Born!.aspx) | 'ATC SCA2' (http://www.atcloudspeakers.co.uk/hi-fi/electronics/source-pre-amplifiers/sca2/) | 'ATC SCM100ASLT' (http://www.atcloudspeakers.co.uk/hi-fi/loudspeakers/tower-series/scm100aslt/) *'Linux finally gets a great audio tagger' (http://www.ubuntugeek.com/linux-finally-gets-a-great-audio-tagger.html): 'puddletag' (http://puddletag.sourceforge.net/)* - now packaged in most Linux distributions. audiomuze's Profile: http://forums.slimdevices.com/member.php?userid=33613 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Annouce: SB Player, a software Squeezebox player app for Android.
Wt0, thanks for this app and thread! I#8217;ve been searching for alternatives for if/when my SB3 dies, and have also been considering a Fire TV. As I understand it, a TV needs to be connected and powered-on for the Fire TV to operate. Is that correct? If so, would an HDMI connection to a powered-on AV pre/pro or AVR allow (fool) the Fire TV to operate, even if the TV is off or not connected to the AV Pre/Pro or AVR. I would be feeding the Fire TV HDMI to a pre/pro and optical to a DAC, using the DAC for the SB music. I would not mind having the pre/pro powered-on for the sole purpose of enabling Fire TV to output SB via optical. Also, will the Fire TV and SB Player output a bit-perfect signal, without resampling, etc. (equivalent to the SB3#8217;s digital output)? adam2434's Profile: http://forums.slimdevices.com/member.php?userid=17301 View this thread: http://forums.slimdevices.com/showthread.php?t=98049 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Airplay on squeezebox (for Windows)
Very good idea Ekinox09, virtual cable is a good solution to avoid to hear the sound of shairport directly on the computer, thanks for sharing, it will help coppertop and others who have the same request :) schmurtz's Profile: http://forums.slimdevices.com/member.php?userid=57368 View this thread: http://forums.slimdevices.com/showthread.php?t=100048 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver
tcutting wrote: I'll PM you my email address, and you can send the log file and I'll take a look. Many thanks, I've sent you the file! neilcoburn's Profile: http://forums.slimdevices.com/member.php?userid=653 View this thread: http://forums.slimdevices.com/showthread.php?t=14327 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: squeeze2upnp, a bridge between LMS and uPNP devices
Would you happen to have a step by step guide to how to get this working on my WHS box? Thanks Jason. doctor_big's Profile: http://forums.slimdevices.com/member.php?userid=15196 View this thread: http://forums.slimdevices.com/showthread.php?t=102496 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: squeeze2upnp, a bridge between LMS and uPNP devices
afalout wrote: Not that I'm contradicting you, but -2 mostly worked, except for pause. Are you sure this mode will not work for Onkyo? I'm not sure, I was guessing from what I saw from your previous report. The -2 and -3 use HTTP chunked encoding, and some players are not happy with that (eg, my Sonos do not like chunked-encoding for mp3. they are okay to use it for flac and pcm, but pause does not work in that case). I'm not thr first one to have that problem, so I ruled out an implementation problem on my side Not sure I fully understand this; if I can write settings for individual renderers into the file, then sq2u will read them and apply them. Right now, as is, no libupnp modifications needed So I say, for rendere with this UUID, use this settings. And that works. Right now. But if I say For renderer with this friendlyName, use this settings - that requires modification to libupnp? Is it not possible to get renderer name, manufacturer and model, and see if they match defined values for an UUDID, and if so, apply the same settings? No no, there is no correlation between that and libupnp. I was saying that it took me a lot of time to patch libupnp to handle these different HTTP transfer modes, respond by a 200 when a range-request was made with an open end and so on. So I had no time to do the handling of pattern for players LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1, PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne (sort of) philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=102496 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
I'm running 7.9 from Triode's SoA repository. LMS is installed in /opt/logitechmediaserver/ and runs fine. Local Player 1.6.5 is marked as active and under settings Start Player With Server is ticked, however, Not Running (squeezelite-x86-64) appears to the right of the tick box and Squeezelite does not appear as a player. Looking at the LMS install, the various platform compiles of squeezelite are located in /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/LocalPlayer/Bin/ squeezelite-x86-64 is present and marked executable for all groups with owner logitechems. Code: -rwxrwxr-x 1 logitechms logitechms 127354 Nov 21 12:31 squeezelite-armv5te -rwxrwxr-x 1 logitechms logitechms 127354 Nov 21 12:31 squeezelite-armv6 -rwxr-xr-x 1 logitechms logitechms 136381 Nov 21 12:38 squeezelite-armv6hf -rwxrwxr-x 1 logitechms logitechms 133764 Nov 21 12:30 squeezelite-i386 -rwxrwxr-x 1 logitechms logitechms 139261 Nov 21 12:45 squeezelite-x86-64 If I run it in a terminal window it executes properly and finds the xmos DAC connected to the PC. Any ideas why it does not start up on it's own? SqueezeWand | 'Vivere DAC MKI' (http://vivereaudio.com/post/2013/08/16/DAC-I-is-Born!.aspx) | 'ATC SCA2' (http://www.atcloudspeakers.co.uk/hi-fi/electronics/source-pre-amplifiers/sca2/) | 'ATC SCM100ASLT' (http://www.atcloudspeakers.co.uk/hi-fi/loudspeakers/tower-series/scm100aslt/) *'Linux finally gets a great audio tagger' (http://www.ubuntugeek.com/linux-finally-gets-a-great-audio-tagger.html): 'puddletag' (http://puddletag.sourceforge.net/)* - now packaged in most Linux distributions. audiomuze's Profile: http://forums.slimdevices.com/member.php?userid=33613 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: squeeze2upnp, a bridge between LMS and uPNP devices
philippe_44 wrote: Good to see some progress, at last ! We can eliminate -2 (and -3) that use chunked-encoding. You player does not support it. Not that I'm contradicting you, but -2 mostly worked, except for pause. Are you sure this mode will not work for Onkyo? philippe_44 wrote: NB: the play by itself is a LMS artefact. You have to empty the playlist before you power off / stop sq2u or set the player paramater in LMS : player, settings, audio, power on resume == set it to stop at power off, remain stopped at power on I really dont understand this guys logic :( philippe_44 wrote: Re device match, tbh, I had a lot to do with the modification of libupnp. It is a big piece of software and I had to find my way into it and not break the rest as I want to submit the patch to the maintainers Not sure I fully understand this; if I can write settings for individual renderers into the file, then sq2u will read them and apply them. Right now, as is, no libupnp modifications needed So I say, for rendere with this UUID, use this settings. And that works. Right now. But if I say For renderer with this friendlyName, use this settings - that requires modification to libupnp? Is it not possible to get renderer name, manufacturer and model, and see if they match defined values for an UUDID, and if so, apply the same settings? For now, I had created a little shell script, that scans for renderers, gets there properties, and generates XML before I start sq2u. But this is quite awkward, and it of course applies only to renderers that are on before sq2u starts... afalout's Profile: http://forums.slimdevices.com/member.php?userid=63706 View this thread: http://forums.slimdevices.com/showthread.php?t=102496 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: squeeze2upnp, a bridge between LMS and uPNP devices
here, you are not transfering any control plane (volume, no such thing in RAOP. Sender controld volume metadata, Only exists in RAOP version 2; most devices do not accept it anyway (Such as Apple AirPorts) plis it's not very usefull in this concept of blind streaming precise track position AirTunes/AirPlay does not care about track position. It does not know what track ist it anyway. And this is my point - this is very different from UPnP and MUCH simpler. http://nto.github.io/AirPlay.html and other feedback to LMS Again, no such thing. Only feedback you get is if the device has a digital out or not, if it has a password or not, and if output jack is connected to anything. only data plane (audio stream) Yup, thats the general idea : you send binary data from pont A over the network to point B :) No timing sync between the 2 I am not 100% sure, but I beleive receiving devices are supposed to sync between themselves, sender only isses command to sync. I will check So there is a timing protocol in AirTunes 2, but this is not mandatory in any way: http://git.zx2c4.com/Airtunes2/about/ no track control Would be pointelss, and does not exist in RAOP specs. It's like an audio cable, just going over TCP/IP network. PasTim has done a great job doing the same with uPnP devices. What / who is PasTim? Thanks, Andrej afalout's Profile: http://forums.slimdevices.com/member.php?userid=63706 View this thread: http://forums.slimdevices.com/showthread.php?t=102496 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Annouce: Squeeze Control is now available for Windows Phone 8
cncb wrote: I really like how you emulate the menus of SqueezePlay so the LMS plugin I wrote just works. I am trying Spotify for a few months along with the 3rd Party Spotify plugin and noticed that the context menu for a Spotify track is not the same in your app. For example, if I search for a particular track in the Spotify plugin, the context menu in SqueezePlay has Star Track, Add Artist to Library, Add Track to New Playlist, and several other custom items. In your app, it only has the standard Add to End, Play Next, ... items. Is there any way you can show the custom plugin menu items in your app? Squeeze Control doesn't emulate the menus of SqueezePlay, those are the same menus. The menus in both SqueezePlay and Squeeze Control are generated by the server. It's the same way with the context menus, so it should get the same items. Are you sure you were looking at the context menu of a track from the third-party Spotify plugin? I think the official plugin has a different menu. Actually, are you sure it was a Spotify track and not a local track? cncb wrote: A wishlist item I have would be to tie the volume controls in your app to my AVR (Onkyo via IP). It might not be feasible but it would be very useful for me. Thanks. I don't think having Squeeze Control directly control your AVR is the best method. I think it may be better to have the server control it with a plugin. This way it would work with any remote control. Besides, I don't have access to an Onkyo receiver and would have no way to test it. -- Squeezebox apps for webOS, Android and Windows Phone, http://www.angrygoatapps.com wt0's Profile: http://forums.slimdevices.com/member.php?userid=18760 View this thread: http://forums.slimdevices.com/showthread.php?t=101661 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: squeeze2upnp, a bridge between LMS and uPNP devices
afalout wrote: OK, so between -1 and -2, which one is prefered? Both work OK on Onkyo, seems only pause behaviour is different - which I can try to play with. If I have to choose one to try make work, which one should I start with as a better choce, long-term? Sorry, my bad, I missunderstood. Anythime this year is fine ... LOL :) Sounds achievable :-) So, using chunked encoding is the preferred method for streaming HTTP when size of source is unknown == this - 2 Still, I've seen some players that consider this as a live stream and will refuse to pause So, in that case, using regular HTTP transfer without telling the size of the content is tolerated == this is -1 LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1, PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne (sort of) philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=102496 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: squeeze2upnp, a bridge between LMS and uPNP devices
philippe_44 wrote: I'm not sure, I was guessing from what I saw from your previous report. The -2 and -3 use HTTP chunked encoding, and some players are not happy with that OK, so between -1 and -2, which one is prefered? Both work OK on Onkyo, seems only pause behaviour is different - which I can try to play with. If I have to choose one to try make work, which one should I start with as a better choce, long-term? philippe_44 wrote: No no, there is no correlation between that and libupnp. I was saying that it took me a lot of time to patch libupnp to handle these different HTTP transfer modes, respond by a 200 when a range-request was made with an open end and so on. So I had no time to do the handling of pattern for players Sorry, my bad, I missunderstood. Anythime this year is fine ... LOL :) afalout's Profile: http://forums.slimdevices.com/member.php?userid=63706 View this thread: http://forums.slimdevices.com/showthread.php?t=102496 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: squeeze2upnp, a bridge between LMS and uPNP devices
afalout wrote: FYI, this works quite well: squeezelite -z -s localhost -d all=info -f /var/log/squeezelite-99.log \ -m 00:04:20:F2:00:09 -n SL pipe AirPlay (Bedroom) -a 16 -o - | \ /usr/bin/mono /usr/local/bin/JustePort.exe - 169.254.14.50 -10 Of course, I have to discover AirPlay devices manually, and start one squeezelite for each device, but this is just to show you how much simpler would it be to get AirPlay workihg - especially now that you had mastered interfacoing with LMS. All that would need to be done, is : - use libshairport for AirPlay devices discovery, instead of using libupnp. - register one LMS player per one discovered AirPlay device - exactly as you are doing right now for UPnP devices - pass the stream output directly to libshairport NB: in above example, I'm using an ancient .Net executable, simply because it accepts pipe input. But that's my point: here, you are not transfering any control plane (volume, metadata, precise track position and other feedback to LMS) information, only data plane (audio stream). Typically, LMS sends data to squeezelite, that decodes them, output them blindly to stdout and then you pipe to another app. No timing sync between the 2, no track control, except buffer flow control. For example, PasTim has done a great job doing the same with uPnP devices. Believe me the biggest difficulty was not the interface with LMS, but the true sync between the 2 domains and that gave me a lot of pain. Passing the stream output to libshairport does not do any good for that, the stream output is just what I call the data plane LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1, PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne (sort of) philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=102496 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Annouce: SB Player, a software Squeezebox player app for Android.
adam2434 wrote: Wt0, thanks for this app and thread! Ive been searching for alternatives for if/when my SB3 dies, and have also been considering a Fire TV. As I understand it, a TV needs to be connected and powered-on for the Fire TV to operate. Is that correct? If so, would an HDMI connection to a powered-on AV pre/pro or AVR allow (fool) the Fire TV to operate, even if the TV is off or not connected to the AV Pre/Pro or AVR. I would be feeding the Fire TV HDMI to a pre/pro and optical to a DAC, using the DAC for the SB music. I would not mind having the pre/pro powered-on for the sole purpose of enabling Fire TV to output SB via optical. Also, will the Fire TV and SB Player output a bit-perfect signal, without resampling, etc. (equivalent to the SB3s digital output)? I don't own a Fire TV, but from what I gathered from this thread, you only need to have the TV turned on initially so you can setup the app. Once it's running you can turn off the TV and even unplug the HDMI connection. It's just that if you turn off the TV while music is playing the music will pause, but you can just press play again. However, I think that's because SB Player is reacting to the TV turning off like when headphones are plugged from a phone/tablet. That behavior can be turned off in SB Player. There maybe one limitation though. The ability to auto launch the app when the Fire TV turns on may not work if the TV is not turned on. One user emailed me about having trouble getting that feature to work on the Fire TV even though others with the Fire TV have said that it works, so I'm guessing that maybe it is related to the turn being turn on or off. It won't be bit perfect unless it's 16bit 44.1K audio and even then there maybe some internal processing that I have no control over. Android could not handle 24-bit audio until version 5.0 and the Fire TV is not running 5.0. Even on Android 5.0 when a USB DAC is connected, the output is locked to 16/44.1, so it's probably the case with the optical out on the Fire TV. Unlike the dedicated hardware of a Squeezebox, the decoded audio from SB Player has to go through layers of software inside the Android system before it reaches the output. Those layers of software are not designed to switch sampling rates or bit depths on the fly, so to handle gap-less playback, the output sampling rate and bit depths has to be locked to one setting once playback starts and any audio that does not have the same sampling rate or bit depth will be converted. If I tried to switch output settings for each song, there will be a noticeable gap. The output sampling rate can be specified by the user in SB Player, but Android can only handle certain sampling rates. For Android versions less than 5.0 the max sampling rate is 48Khz. Android 5.0 can handle up to 96Khz. However, SB Player up-samples all output that rate, so it is not recommended that you set the output to a specific sampling rate unless all your audio files are of the same rate, since some devices may not be powerful enough to handle a difficult up-sampling like going from 44.1Khz to 48Khz. Down-sampling is done by the server before the audio reaches SB Player. (The caveat is that as I mentioned above, the digital output is likely to be lock at 16/44.1 so choosing a higher output rate inside of SB Player may be pointless) In addition, SB Player supports crossfading and it obviously has to be done digitally. As far as I know, there is no way to digitally mix two audio samples with different sampling rates and//or bit depths without converting one of the samples. -- Squeezebox apps for webOS, Android and Windows Phone, http://www.angrygoatapps.com wt0's Profile: http://forums.slimdevices.com/member.php?userid=18760 View this thread: http://forums.slimdevices.com/showthread.php?t=98049 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: squeeze2upnp, a bridge between LMS and uPNP devices
afalout wrote: here, you are not transfering any control plane (volume, no such thing in RAOP. Sender controld volume metadata, Only exists in RAOP version 2; most devices do not accept it anyway (Such as Apple AirPorts) plis it's not very usefull in this concept of blind streaming precise track position AirTunes/AirPlay does not care about track position. It does not know what track ist it anyway. And this is my point - this is very different from UPnP and MUCH simpler. http://nto.github.io/AirPlay.html and other feedback to LMS Again, no such thing. Only feedback you get is if the device has a digital out or not, if it has a password or not, and if output jack is connected to anything. only data plane (audio stream) Yup, thats the general idea : you send binary data from pont A over the network to point B :) No timing sync between the 2 I am not 100% sure, but I beleive receiving devices are supposed to sync between themselves, sender only isses command to sync. I will check So there is a timing protocol in AirTunes 2, but this is not mandatory in any way: http://git.zx2c4.com/Airtunes2/about/ no track control Would be pointelss, and does not exist in RAOP specs. It's like an audio cable, just going over TCP/IP network. PasTim has done a great job doing the same with uPnP devices. What / who is PasTim? Thanks, Andrej I promess I'll look at that during this year, as we said in previous post :-) I understand better the simplifications, just need to deal with the fact that LMS expects the player to tell him a lot of things : what is the level of the buffer used to decode audio data, what is the level of the buffer used to send the decoded data to the DAC, how many ms have been played (at the DAC level). It sends volume commands and many other things. Triode (the developer of SqueezeLite) has done a great job creating all that, and I leverage his work more than a lot, but I also had to undo many things (typically, there is no audio decoder anymore inside squeeze2upnp because it would have taken a lot more CPU when there are many players handled in //) PasTim is another user that has been helping me a lot in that development. He did sometime ago something similar to what you did, but for upnp: using squeezelite to decode data and pipe pcm to upnp renderers. Again, the nature of upnp devices required something different to have a much betteruser experience (eg the buffering that happens in upnp players cause stop, pause, volume, next ... to be awfully delayed) Again, if RAOP is more like a PAD/wire-over-IP I agree it can be more simple, but I still need to work on understanding the ramifications. TBH, currently, I'm more focused, as you can see, on making the app compatible with enough uPnP devices and then I really would like to find a way to use time sync for my Sonos system LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1, PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne (sort of) philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=102496 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins