All posts by Takkat

Manual updated for newer releases of pulseaudio-dlna

Newer releases of pulseaudio-dlna became more stable, and more versatile. This increasingly makes this application our number one choice of an easy-to-use command line tool for streaming DLNA content over the network.

When using it with stream2ip we better disable some of its new features such as automatic device discovery, and switching back to the default sink. Both can still be done with stream2ip’s own routines. To avoid unwanted side effects it is therefore recommended to create a settings file to override some of the new features.

Squeezing All Help

Now that the Bug-Squad (you) stroke again telling me of bugs that should not exist I took the opportunity to make two additional little changes in the code while at fixing bugs.

We now are no longer dependent of appindicator. From the beginning of its days stream2ip provided an application indicator only in case it was installed on the system, but putting it in as a dependency was a bad idea. Stream2ip runs fine without, and not all distributions out there use it. So here we go – off goes the dependency. We should not depend on things we don’t always need.

Another thing that bugged me was the rather huge help page displayed on pressing the help button. It is fine on a desktop screen but people may run it on displays with a limited  resolution. It had to be much smaller. I tried to squeeze it down as much as possible.

Bugs spawn bugs if we leave them alone

Ouch – there were more bugs than ever expected. Time to fix them. Now the DLNA renderer URL will work. On the way there I removed the somewhat awkward process of having another program s2ip_setup just for issues with preferences. We will now be able to runs stream2ip with the command line option -s to repair a bad preference setting.

On testing all again and again it appeared that the pulseaudio outputs changed in the Vivid release. So a quick adaption was needed too.

Integrated this into that

Finally this tutorial is integrated into stream2ip release 1.1.0 which was published yesterday. As people may not always want to go online I had to integrate a short help which comes in a single window. Tabs will lead to the corresponding streaming method:


In addition the DLNA discovery process was completely rewritten to be prepared for changes in upcoming releases of pulseaudio-dlna.

Supporting pulseaudio-dlna

For a long time I was looking for a solution to be able to push the audio from my computer to a DLNA-renderer in my network. From a post on Ask Ubuntu where I asked for this I finally got noticed of a fine new application that could do all this: pulseaudio-dlna. After some tests I found it was reasonable stable and would fit nicely to my collection of streaming solutions.

Some historical notes

Back in 2009 I made the switch from Windows to Ubuntu. Almost all my applications could nicely be replaced by a native Ubuntu program. Only one thing was missing badly. With Windows I could wirelessly stream my audio from iTunes to my AirPort Express. There was some functionality offered from pulseaduio-module-raop but I experienced it to be very unstable, mainly due to limitations of the Airport Express device and of Avahi.

This is when I started developing Stream2ip. My aim was to create an application wrapper that could connect to a streaming device with not more than a mouse click from the user.

Over the years more and more solutions to stream audio in a network were added. At present we can support not only the Airport Express but also Bluetooth audio devices, Pulse Audio native RTP/Multicast streams, Inernet Radio streams via Icecast, and streaming to a DLNA renderer via various solutions.