Thanks Lieven,

Looking through the CLI specs, it does allow for subscription so I was mistaken in thinking that it did not. I'm still leaning towards xPL though as it has a few additional benefits to just a raw TCP connection.

On 08/12/2014 01:30 PM, Lieven Hollevoet wrote:

using the CLI to start the playing of the generated audio works. I have a very ugly version of the code based on the third script of the forum link. The script was written with only a single squeezebox in mind and I have multiple devices.

I’ll integrate the code in a module so that we can reliably interface to our Squeezeboxen to play the generated files (be it TTS or not). How we can hook this up with the MisterHouse TTS code is not clear to me yet, but once we have to possibility to play files it should be possible.

Best regards,

Op 12-aug.-2014, om 21:50 heeft Lieven Hollevoet <> het volgende geschreven:

Hey Brian,

I’m still using the xPL interface to my Squeezeboxen so that I am able to control the power switch of the amplifiers that are connected to them. This works fine.

You question triggered me again to look into adding support for playing generated files on the squeezeboxes. I have currently working:
* generating TTS data to a wave file (I’m using OS X so TTS in built-in)
* playing the generated TTS wave file through the CLI interface of Squeezebox server (using telnet, not from MisterHouse). This step is important as it was not clear to me if you could play auto-generated files that are not indexed by the Squeezebox server application. It appears you can do this, so this is good news.

What is not working yet:
* using an updated version of the xPL_Squeezebox module to play the TTS file through an xPL command.

This is strange, as according to the xPL docs the xPL interface of the Squeezebox server is merely a different interface to the CLI interface of the server, so sending commands through xPL should work (and do work for simple commands like ‘pause’ and ’next’, but not for the more complex commands like ‘playlist play'). 

It is currently not clear to me if I should proceed trying to get the xPL interface up and running. Maybe migrating to the CLI will in the end provide a more stable solution. This is also the route the Micasaverde solution follows. 
I found this code on a forum that might help us further:
I still need to examine this further to see if this is what we need.

Best regards,

Op 12-aug.-2014, om 09:37 heeft Brian Rudy <> het volgende geschreven:

Hi folks,

Sorry in advance for replying to this old thread, but it seems to have ended abruptly and I am facing a similar set of questions.

I have recently started researching Linux-based whole-house audio/music solutions and played a bit with the existing music modules and wanted to share my opinion/findings and solicit your advice.

Music modules from code/common:
-requires local (or network-attached) music library. No direct support for external streaming services like Pandora/Spotify/
-XMMS no longer appears to be in active development and is difficult to compile/run on modern distros.
-I got stuck in Perl module dependency hell trying to satisfy the dependencies of Audio::MPD and never did manage to get it to install properly.
-I eventually got AlsaPlayer and the Perl module installed, but the player and Perl module seem to have some type of incompatibility as when I invoked playback through MH, AlsaPlayer kept looping the first few seconds of the music over and over again regardless of what I did.
-I did quite a bit of research here as SlimServer->SqueezeCenter->Squeezebox Server and finally Logitech Media Server that thanks the open source code seems to have quite a bit of community participation and 3rd party development (including new 3rd party LMS-compatible hardware) even though Logitech is no longer selling/supporting Squeezeboxes themselves. I installed LMS 7.9.0 on my MH server and fairly quickly had things up and running with squeezelite on Linux and Squeeze Player for my Android devices. I then attempted to enable, but the lack of support for /status.txt (this is likely a bug in LMS 7.9.0) made the module unusable. I then started digging around and found this thread. After a little more fiddling I was able to get my LMS instance and players to register with the xPL module Lieven provided and minimally control them and read their state. I haven't done anything with device synchronization just yet, but am sure there is a way. There is the issue o
f music library synchronization between MH and LMS, but it looks like there are many options.

Now for the question of playing TTS output; It looks like someone found a few ways to do it over on the micasaverde forums and added some hints on their wiki: I'm sure we could so something similar for the other speech synthesis engines as well. To do this properly we would need to first capture the current playlist+playback position and restore these after the TTS playback had ended as Lieven had mentioned.

Is anyone else using some combination of LMS/Squeezeboxes/squeezelite/raspberry pi/opensqueeze/etc or some other combination of kit with their whole-house audio system and would be willing to provide some input? Ultimately what I am looking to do is have a centrally managed multi-room music/audio system with IP-connected players that is integrated with MH.





To unsubscribe from this list, go to: