After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 523211 - UPnP MediaServer plugin
UPnP MediaServer plugin
Status: RESOLVED WONTFIX
Product: banshee
Classification: Other
Component: Other Extensions
git master
Other Linux
: Normal enhancement
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2008-03-18 17:59 UTC by Sebastian Dröge (slomo)
Modified: 2020-03-17 08:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2008-03-18 17:59:20 UTC
Hi,
it would be nice if banshee had a UPnP MediaServer plugin that allows sharing files via UPnP and playing files from other shares.

http://en.wikipedia.org/wiki/UPnP_AV_MediaServers
Comment 1 Andrew Conkling 2008-03-18 18:06:52 UTC
http://abock.org/2007/06/27/my-hack-week-the-new-banshee/#comment-68383:
"Nothing on the near horizon, but it’s something I would eventually like to do."
Comment 2 Gilbert Mendoza 2009-02-11 22:30:13 UTC
I too would really like to see Banshee support upnp on the server and client side.  Preferably with xbox360 support, though many more are possible uses these days.  Ushare and mediatomb are decent examples of server side implementation, but both could use the banshee polish.  ;-)
Comment 3 fickdichinsknie 2010-01-28 11:26:46 UTC
Same for me!
Comment 4 Gabriel Burt 2010-11-02 17:23:51 UTC
I believe gupnp (http://gupnp.org/) is a GNOME blessed dependency of Rygel.  My guess is that making bindings for it would be the best way to add UPnP support to Banshee.  Hyperair, can you calculate how much space adding gupnp as a dep would take?
Comment 5 Chow Loong Jin 2010-11-02 18:20:59 UTC
None. Empathy already uses it.
Comment 6 Gabriel Burt 2010-11-02 19:49:25 UTC
Excellent, thanks.
Comment 7 Alex Launi 2010-11-03 14:08:26 UTC
Does anyone else think that a banshee Rygel plugin makes more sense? I know that Gabriel and Abock have said that DAAP doesn't belong in Banshee because why would you want to have to start Banshee to share your collection, and that it should be an external daemon.

That said, it might be nice to add some code to Banshee to do a little bit of avahi scanning and offer to start rygel with the Banshee plugin (to-be-written) if UPnP devices are found on the network.
Comment 8 Bram van Leur 2010-11-03 14:59:11 UTC
Yes. I support the "sharing your music collection" as a separate service in GNOME. Banshee should mainly manage my music collection and play from a (local or remote) music collection. 

Enabling sharing the Banshee managed collection (i.e. starting Rygel) would be nice of course.
Comment 9 Frank Ziegler 2010-11-06 03:29:05 UTC
There is actually a Mono.UPnP implementation...

https://github.com/lunchtimemama/Mono.Upnp/tree

Does it make sense to just help finishing that rather than creating bindings?
Comment 10 Gabriel Burt 2010-11-06 06:57:09 UTC
I don't think so.  That's been a WIP for years, and we'd likely have to maintain it, where w/ gupnp there is an active community around it (and Intel supporting it, it seems).
Comment 11 Gabriel Burt 2011-01-14 17:12:19 UTC
I talked with Jorge about this, and since Rygel acts similar to Tangerine, providing a stand-alone sharing app, it's not as important for Banshee to have this functionality.  At some point maybe we can integrate with it like we do with Brasero, launching it (and using PackageKit to install it if needed).  Removing the "banshee:ubuntu" from the whiteboard per this discussion.
Comment 12 Gabriel Burt 2011-03-15 13:11:26 UTC
WIP bindings: https://github.com/fluendo/gupnp-sharp
Comment 13 Thomas Sibley 2011-04-16 00:28:11 UTC
What about enabling Banshee to stream to UPnP hardware media renderers?  This use case does not seem covered by Rygel or Pulseaudio (which can handle arbitrary audio streaming to Airport Expresses).
Comment 14 Gabriel Burt 2011-04-16 00:30:45 UTC
I'm pretty sure that's exactly what Rygel is for - it is a UPnP Media Server; see https://live.gnome.org/Rygel
Comment 15 Thomas Sibley 2011-04-16 00:36:56 UTC
It's not clear to me which part of Rygel lets me take what's playing in Banshee on my laptop speakers and play it on a UPnP hardware renderer that's connected to my external sound system.
Comment 16 Thomas Sibley 2011-04-16 01:05:25 UTC
To put it another way, I'd like to be able to send audio from within
Banshee to any of the upnp media renderers available on the network.  I
don't think this is functionality that Rygel offers currently.
Comment 17 Thomas Sibley 2011-04-16 01:46:01 UTC
After digging about for an hour I discovered Rygel can indeed do this, but it requires you:

1) pipe banshee's audio stream to a new pulseaudio sink

2) construct a gstreamer pipeline to pull audio from the monitor source of the pulseaudio sink above

3) configure ~/.config/rygel.conf with that gstreamer pipeline like so:

    [GstLaunch]
    enabled=true
    launch-items=pulse
    pulse-title=speakers on blip
    pulse-mime=audio/x-wav
    pulse-launch=pulsesrc device=upnp.monitor ! wavenc

4) send the rygel stream to your media renderer using the gupnp A/V control point (gupnp-av-cp)

It'd be much, much nicer if Banshee supported sending it's own stream to a selected upnp media renderer through Rygel.  Seamless support would rock.
Comment 18 Alexander Kojevnikov 2011-04-16 03:06:32 UTC
UPnP client/server is currently a proposed GSoC project [1], stay tuned.

http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/topfs2_tobias_arrskog/1001
Comment 19 Alex Launi 2011-04-19 13:59:22 UTC
All it would take for rygel to be able to stream media from banshee would be banshee to implement, http://live.gnome.org/Rygel/MediaServer2Spec. Rhythmbox has already done this. I don't think it's a massive amount of work to add rygel streaming support.
Comment 20 florent.angly 2011-06-19 04:57:35 UTC
Rygel is supposed to do that already, but it seems broken at the moment: https://bugzilla.gnome.org/show_bug.cgi?id=652922
Comment 21 Bertrand Lorentz 2012-03-10 17:47:15 UTC
The UPnP client extension is part of git master since a few weeks. You can now use Banshee to play media from a UPnP server.

Let's keep this bug open to track the other use case: stream media from Banshee to a UPnP renderer.
Comment 22 André Klapper 2020-03-17 08:34:58 UTC
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the
responsibility for active development again.
See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.