I'm working to integrate spoken notifications into the Squeezebox
binding (http://docs.openhab.org/addons/bindings/squeezebox/readme.html)
in the openHAB2 home automation platform (http://www.openhab.org/). 
I've run into a problem with the piCorePlayer that I'm not seeing with
SqueezePlay, and/or other Squeezebox devices, such a Receivers, Booms,
etc.

The idea is that the openHAB system will generate a spoken notification
that will be streamed to a Squeezebox player.  openHAB uses a variety of
TTS services to generate the speech content (MaryTTS, VoiceRSS, etc.). 
I'm currently using VoiceRSS.  openHAB is configured to use 44kHz 16 bit
mono sampling from VoiceRSS.

Here's a high-level view of how a notification works.  A Squeezebox
player is configured in openHAB to receive TTS notifications.  The
openHAB TTS functionality does a transaction with VoiceRSS to get the
mp3 content, then exposes that mp3 content with a local URL that's
served up by the openHAB built in web server.  The Squeezebox binding in
openHAB pauses the player, adds the URL to the squeezebox player's
playlist, plays the notification playlist entry, then deletes the
notification playlist entry.  

This works well when using Squeezebox devices (Receivers, Booms, etc.),
as well as SqueezePlay running on Windows or Mac systems.  However, when
using the piCorePlayer, the notification is not playing.

Here are the versions in use:
piCorePlayer version 3.02
SqueezeLite v1.8.5-823
HiFiBerry DAC+ Light (problem also occurs with analog outputs)
LMS version  7.9.0 - 1483028105 @ Thu Dec 29 17:25:39 UTC 2016

Funny thing is...  If I copy the VoiceRSS mp3 content (it's cached
locally on disk by openHAB), and add that to the LMS music library,
it'll play fine through the piCorePlayer.  It's only when openHAB
streams it that it doesn't play on the piCorePlayer, even though it
plays fine when streaming to all the other players.

Does anyone have any thoughts on where I should start looking for the
root cause of the problem?


------------------------------------------------------------------------
mhilbush's Profile: http://forums.slimdevices.com/member.php?userid=16832
View this thread: http://forums.slimdevices.com/showthread.php?t=106717

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to