I am streaming my audio output from my Ubuntu laptop to my raspberry pi running raspbmc over upnp. I do this by creating a upnp device via rygel and then open the stream using the GUI of raspbmc. This all works fine.

Now I am wondering if it is possible to open the stream from command line instead of using the GUI. Any help is appreciated.

  • So your RPi acts like a DLNA renderer, and your laptop acts like a DLNA server & DLNA player, right? Sep 30 '14 at 9:43
  • @MorganCourbet That's correct
    – TmKVU
    Sep 30 '14 at 9:48

GMediaRender should do the trick. It is a UPNP media renderer running as a daemon. I've once succeeded in installing and running this soft on my RPi.

A couple of tutorials explain how to install it on a Pi. It is quite tricky, but possible. I think I have followed the first link.

If you are brave enough, I suggest you to share your experience by answering your own question and explain step-by-step the procedure to install GMediaRender.

  • I have installed and setup the GMMediaRender, but I do not understand how I can use it to open the stream published by my laptop via rygel. From what I see in the configuration file it seems that GMMediaRender is publishing a name itself, but I cannot select this name as an audio output device, so it is probably not that.
    – TmKVU
    Sep 30 '14 at 14:16
  • You are on the same network than the RPi, right? Also, make sure GMediaRender is running on the Pi with ps aux | grep render (not sure of the name). Sep 30 '14 at 14:23
  • Yes, but it seems as if I should push the audio to GMediaRender using the name it publishes, instead of GMediaRender opening the stream I publish from my laptop
    – TmKVU
    Sep 30 '14 at 14:31
  • @TmKVU Well, there are three elements: the server (where your media is stored), the player (controls the media to be played), and the renderer (plays the media). I don't really know how it works (whether the renderer pulls the content, or the server pushes to the renderer). If you have an android phone, you can install BubbleUPnP. It acts as a player (ie a remote control). It will list the servers the renderers. Oct 1 '14 at 8:25
  • I am sorry if I was not clear enough, but I am streaming my audio output to the Raspberry Pi. On my Ubuntu laptop I can select Upnp as output instead of my build in speakers. There are no media files involved
    – TmKVU
    Oct 1 '14 at 17:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.