Hello,

I'm mainly a hardware guy but I do have enough programming experience
to be dangerous, and I was curious if someone could provide some advice
on what would be required to connect the various newer Squeezebox
devices (I have a SB Duet and a SB Radio) to something like an HD
radio.  The radio in question has an RS-232 serial port on it that
allows me to change channels, query the current title/artist, look at
the signal strength, etc.  It then additionally has regular analog
stereo outputs, and I might be able to get at an optical digital audio
output or even some I2S digital data streams internally.

I've done some reading in the Wiki, at it appears that building a
plug-in for the SB Controller or SB Radio amounts to writing some Lua
code that's running on a Squeezebox Server (my own SB Server is running
Linux).  For menu generation, title/artist updates, etc., it looks like
the Lua code would talk to the RS-232 port on the radio through some
sort of timer or button-based events and call the appropriate Jive
methods.  Is that correct? -- That Lua code running on the SB Server
calls Jive methods, and the SB Server software then figures out how to
display the results via the web interface or on any particular piece of
hardware?

Next, then, is the streaming audio itself.  I didn't find nearly as
much information on this in the Wiki, so could someone tell me... is
the idea that you stream the audio data over, e.g., a pipe or shared
file or similar to the SB Server and it then routes it to the receiving
device?  Or do you end up routing the streaming audio directly to the
receiving devices using, e.g., UDP or similar via TCP/IP (after the
server tells you the IP address and port to target)?  Is there a
comprehensive list somewhere of what CoDec format the streaming audio
needs to be in anyway? -- Can it be as simple as a .WAV file (just raw
audio samples), or does it need a wrapper of some type?

Thanks so much for your help; pointers to documentation I've overlooked
are just as good as direct answers.

---Joel Koltner


-- 
JKoltner
------------------------------------------------------------------------
JKoltner's Profile: http://forums.slimdevices.com/member.php?userid=22531
View this thread: http://forums.slimdevices.com/showthread.php?t=80614

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

Reply via email to