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 576023 - Can't stream non-file:// files using UPNP
Can't stream non-file:// files using UPNP
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: UPNP/DLNA Music sharing
unspecified
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-19 23:24 UTC by Bastien Nocera
Modified: 2018-05-24 14:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2009-03-19 23:24:00 UTC
Originally at:
https://bugzilla.redhat.com/show_bug.cgi?id=486817

That's the code:
            uri = self.shell.props.db.entry_get(entry, rhythmdb.PROP_LOCATION)
            if uri.startswith("file://"):
                location = unicode(urllib.unquote(uri[len("file://"):]))

                # add a fake resource for the moment
                res = DIDLLite.Resource(location, 'http-get:*:%s:*' % mimetype)
                if size > 0:
                    res.size = size
                if self.duration > 0:
                    res.duration = self.duration
                if bitrate > 0:
                    res.bitrate = str(bitrate)
                item.res.append(res)

We should get the local fuse path from the file if it's available, and not add the entry if we can't get a local file for the uri.
Comment 1 Jonathan Matthew 2011-09-11 10:08:22 UTC
This should mostly work with rygel.  It doesn't work for files on mtp devices, as rygel doesn't know what to do with xrbmtp:// URIs.  Not sure what to do about that.
Comment 2 Florian Will 2014-06-03 11:12:27 UTC
Is this still relevant? I don't think rhythmbox does UPnP sharing any more since coherence was dropped in 2011.
Comment 3 GNOME Infrastructure Team 2018-05-24 14:12:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/709.