GNOME Bugzilla – Bug 482548
Make upnp plugin (media store) work again
Last modified: 2007-10-10 13:34:29 UTC
Big patch attached, with a lot of help from Frank Scholz <coherence@beebits.net> - Couple of changes I don't really understand by Frank in the Container __init__ - Give out the "bitrate" in bytes/sec as the spec says it "could" be (fixes extremely low bitrates showing up with the PS3 UI) - Give out the duration in HH:MM:SS as per the spec (fixes the tracks showing up as X hours long instead of X seconds long) - Correctly escape filepaths so the web server knows where to find them - Force GStreamer application/x-id3 mime-type to audio/mpeg - Start the coherence server after the twisted reactor, otherwise coherence doesn't get hooked up and nothing works - Shutdown coherence so it disappears from the local network
Created attachment 96510 [details] [review] rb-coherence-fixes.patch
Yay!
Patch appears to work for me when testing with uShare exported UPnP source.
2007-10-10 Bastien Nocera <hadess@hadess.net> * plugins/coherence/upnp_coherence/MediaStore.py: * plugins/coherence/upnp_coherence/__init__.py: - Couple of changes I don't really understand by Frank in the Container __init__ - Give out the "bitrate" in bytes/sec as the spec says it "could" be (fixes extremely low bitrates showing up with the PS3 UI) - Give out the duration in HH:MM:SS as per the spec (fixes the tracks showing up as X hours long instead of X seconds long) - Correctly escape filepaths so the web server knows where to find them - Force GStreamer application/x-id3 mime-type to audio/mpeg - Start the coherence server after the twisted reactor, otherwise coherence doesn't get hooked up and nothing works - Shutdown coherence so it disappears from the local network With help from Frank Scholz <coherence@beebits.net> (Closes: #482548)