From 700792f4a0372495957325392fd87f93d236168b Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Sun, 24 Apr 2011 02:55:14 +0200 Subject: [PATCH] Add basic streaming support --- mopidy/outputs/gstreamer.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mopidy/outputs/gstreamer.py b/mopidy/outputs/gstreamer.py index cdf3829e..984efef1 100644 --- a/mopidy/outputs/gstreamer.py +++ b/mopidy/outputs/gstreamer.py @@ -55,6 +55,10 @@ class GStreamerOutput(ThreadingActor, BaseOutput): self._add_output(settings.GSTREAMER_AUDIO_SINK) + shoutcast_bin = self._build_shoutcast_description() + if shoutcast_bin: + self._add_output(shoutcast_bin) + # Setup bus and message processor gst_bus = self.gst_pipeline.get_bus() gst_bus.add_signal_watch()