2006-02-23, 11:00 PM
I have been using gbpvr for a while and I now have 3 MediaMVP boxes at home. I love this system! I have a background in VB6 programming so I can't resist the desire to write a plug in.
I have an external XM Sat radio tuner that hooks to my computer. I would like to write a little plugin that allows me to play XM Radio on my MVP. Here's the functionality I would like:
Main Plug In Screen: List of XM channels read from a XML file. Each channel is a button.
When Channel button is clicked: command is called that changes External XM tuner to the given channel. I have a command line (Perl) program that changes the channel so I just have to call a command line program and pass it the channel number. Something like "C:\XMPerlTuner\XMPerlTuner.pl 004"
After the command is called I would like the plugin to stream the audio from the PCs audio in port out to the MVP.
After streaming starts the plug in should run a routine (already written) that queries the XM tuner and returns Artist and Song info in plain text. The plugin should show the text on the screen and refresh the info every 5 seconds.
The part that has me feeling dumb is the simple sounding part of streaming the audio from the PCs audio in on the sound card out to the MVP. Does anyone have an example of how to do this? Any help with the rest of the design would also be much appreciated as I am moving very slowly up the learning curve.
For those who are interested, I am using an analog DirectPCR from PowerOnDude as an XM tuner. This allows me to tune into the sat version of XM, not the streaming internet based version... thus better quality.
Thanks in advance,
-RB
I have an external XM Sat radio tuner that hooks to my computer. I would like to write a little plugin that allows me to play XM Radio on my MVP. Here's the functionality I would like:
Main Plug In Screen: List of XM channels read from a XML file. Each channel is a button.
When Channel button is clicked: command is called that changes External XM tuner to the given channel. I have a command line (Perl) program that changes the channel so I just have to call a command line program and pass it the channel number. Something like "C:\XMPerlTuner\XMPerlTuner.pl 004"
After the command is called I would like the plugin to stream the audio from the PCs audio in port out to the MVP.
After streaming starts the plug in should run a routine (already written) that queries the XM tuner and returns Artist and Song info in plain text. The plugin should show the text on the screen and refresh the info every 5 seconds.
The part that has me feeling dumb is the simple sounding part of streaming the audio from the PCs audio in on the sound card out to the MVP. Does anyone have an example of how to do this? Any help with the rest of the design would also be much appreciated as I am moving very slowly up the learning curve.
For those who are interested, I am using an analog DirectPCR from PowerOnDude as an XM tuner. This allows me to tune into the sat version of XM, not the streaming internet based version... thus better quality.
Thanks in advance,
-RB