NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 58 59 60 61 62 … 93 Next »
Streaming XM Radio to MVP...

 
  • 0 Vote(s) - 0 Average
Streaming XM Radio to MVP...
RiskyBusiness
Offline

Junior Member

Posts: 4
Threads: 1
Joined: Feb 2006
#1
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
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2006-02-24, 06:35 AM (This post was last modified: 2006-02-24, 06:40 AM by pBS.)
you'll have to convert to mp3 for the MVP to play it...
[that's the ONLY audio it can play besides mp2..last i checked]
audio is easy to transcode on the fly,look into vlc or mencoder,they are the popular ones..[but not only i'm sure]
or have windows do it with filters...both can transcode video on the fly and send to MVP so audio is no prob.
that sounds a lot like the functionality in web-streamer plugin already being developed...maybe yall should get together and pool resources...[his plugin streams web-tv station and podcasts,etc to player on pc,already has xml 'stations' and interface kinda..]
[note,not the streaming web-admin that streams the video outwards]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
RiskyBusiness
Offline

Junior Member

Posts: 4
Threads: 1
Joined: Feb 2006
#3
2006-02-24, 01:38 PM
Getting the stream in MP3 format is reasonably easy but from there I am a bit confused. How do I take this bucket of MP3 bits and blow them out to the MVP? I realize this is a totally newbie question but I don't yet understand exactly how the MVP gets its data stream. I am sure there have been many posts and probably some Wiki articles about this but I can't seem to find them.

Thanks for your help,

-RB
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#4
2006-02-24, 04:30 PM
You have to save the MP3 data to a file, then call the IPluginHelper API to play a music file.
Shannon
Offline

Member

Posts: 58
Threads: 10
Joined: Dec 2004
#5
2006-03-09, 11:48 PM
I'm not sure if you are aware of it or not, but you can get XM Radio streamed to you -- and -- since you have / pay for XM radio -- it's a free bonus Smile I listen to it at work over my Internet connection all the time.

That being stated -- and after you look into it and see what I'm referring to -- ya know what would be nice? A "plug in" for XM radio subscribers specifically for GBPVR!

For those who don't have an XM account, you can listen to it for free on a slightly degraded pipe at http://www.xmradio.com.

Shannon
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Windows FM Radio support in v5. mvallevand 125 26,894 2023-01-29, 08:13 PM
Last Post: mvallevand
  IPTV like stream from Sound Card input - FM Radio Project NumberFive 3 1,360 2022-11-20, 04:28 PM
Last Post: mvallevand
  Video streaming URL and parameters? cncb 1 1,799 2021-10-22, 06:58 PM
Last Post: sub
  IPTV Pretuning and Internet Radio mvallevand 5 3,157 2019-02-04, 12:02 AM
Last Post: mvallevand
  Advice on which streaming method to use fred250 17 6,188 2013-09-14, 11:14 AM
Last Post: fred250
  Streaming media imilne 44 12,932 2012-12-14, 04:05 AM
Last Post: mvallevand
  On-the-fly transcoding for streaming recordings / videos bgowland 6 3,991 2012-06-03, 03:10 AM
Last Post: bgowland
  NPVR HTTP streaming bug? tmrt 3 1,841 2010-12-28, 11:48 PM
Last Post: tmrt
  WEB-Radio Improvment Reddwarf 0 1,576 2008-07-15, 04:33 PM
Last Post: Reddwarf
  PlayAudioFile() and streaming client bgowland 2 1,687 2008-06-12, 12:30 PM
Last Post: bgowland

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode