<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Upnp on cat /dev/snapshot</title><link>https://rumpf.eu/michael/tags/upnp/</link><description>Recent content in Upnp on cat /dev/snapshot</description><generator>Hugo -- 0.154.5</generator><language>en</language><lastBuildDate>Mon, 08 Oct 2012 14:27:00 +0200</lastBuildDate><atom:link href="https://rumpf.eu/michael/tags/upnp/index.xml" rel="self" type="application/rss+xml"/><item><title>Debugging UPnP/DLNA traffic to a Sony LCD TV</title><link>https://rumpf.eu/michael/posts/2012-10-08-debugging-upnpdlna-traffic-to-sony-lcd/</link><pubDate>Mon, 08 Oct 2012 14:27:00 +0200</pubDate><guid>https://rumpf.eu/michael/posts/2012-10-08-debugging-upnpdlna-traffic-to-sony-lcd/</guid><description>&lt;p&gt;The issue I have is that my Sony LCD TV seems to be very picky regarding the UPnP/DLNA protocol when playing
media from a control point to the television. The Android App
&lt;a href="https://play.google.com/store/apps/details?id=com.bubblesoft.android.bubbleupnp&amp;amp;hl=en"&gt;BubbleUPnP&lt;/a&gt; does a
good job here as playing music works out of the box. Initial tests with the &lt;a href="http://4thline.org/projects/cling/"&gt;Cling Java library&lt;/a&gt;
to play music does not work out of the box. Therefore I wanted to debug the HTTP SOAP protocol in order to see where the differences are.&lt;/p&gt;</description></item><item><title>Radio presets</title><link>https://rumpf.eu/michael/posts/2011-06-27-radio-presets/</link><pubDate>Mon, 27 Jun 2011 23:26:00 +0200</pubDate><guid>https://rumpf.eu/michael/posts/2011-06-27-radio-presets/</guid><description>&lt;p&gt;One important feature for the audio renderer is the support for &lt;strong&gt;presets&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I do not want to search for my mobile phone in order to select a music source when I enter the kitchen in the morning. The use-case where you turn on your analog radio and the tuning wheel is right at the position of your favorite radio station is unbeatable simple.&lt;/p&gt;
&lt;p&gt;Therefore the audio-renderer has a list of MP3 streaming URLs where the first one will be played upon startup of the process. The channels can be switched by sending a signal to the server process:&lt;/p&gt;</description></item><item><title>UPnP audio renderer released</title><link>https://rumpf.eu/michael/posts/2011-06-27-upnp-audio-renderer-released/</link><pubDate>Mon, 27 Jun 2011 23:05:00 +0200</pubDate><guid>https://rumpf.eu/michael/posts/2011-06-27-upnp-audio-renderer-released/</guid><description>&lt;p&gt;A very early version of my UPnP audio-renderer had been released on Gitorius &lt;a href="https://gitorious.org/gupnp-audio-renderer"&gt;https://gitorious.org/gupnp-audio-renderer&lt;/a&gt;
(&lt;strong&gt;Update 2011-08-01&lt;/strong&gt;: It has been renamed to m3player and been moved to &lt;a href="http://www.jcoderz.org/m3dditiez/wiki/m3ddity-player"&gt;here&lt;/a&gt;).
It implements the necessary parts of the UPnP MediaRenderer specification.&lt;/p&gt;
&lt;p&gt;The implementation is based on excellent frameworks like:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.gupnp.org/"&gt;GUPnP&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gstreamer.freedesktop.org/"&gt;GStreamer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://developer.gnome.org/glib/"&gt;GLib&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The initial target for the renderer is the &lt;a href="http://www.openwrt.org/"&gt;OpenWRT&lt;/a&gt; platform (see previous articles about a WiFi music player).
I decided to use C instead of Vala (that was a decision against Rygel) as the memory constraints are very limited and I need to save
memory whereever possible. Although my C language skills are a bit rusty, I did not want to learn another language. Additionally, the
usage of Vala would increase the effort to port the whole vala stuff to the OpenWRT build-system. Luckily GStreamer and GLib are already
available on OpenWRT.&lt;/p&gt;</description></item><item><title>Compile a development version of GUPnP from HEAD</title><link>https://rumpf.eu/michael/posts/2011-06-13-compile-development-version-of-gupnp/</link><pubDate>Mon, 13 Jun 2011 17:53:00 +0200</pubDate><guid>https://rumpf.eu/michael/posts/2011-06-13-compile-development-version-of-gupnp/</guid><description>&lt;p&gt;Follow the commands below in order to setup a local environment for working with the latest development version of the GUPNP framework.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;mkdir $(pwd)/base
git clone http://git.gnome.org/browse/gssdp
cd gssdp
./autogen.sh --prefix=$(pwd)/../base --exec-prefix=$(pwd)/../base
make &amp;amp;&amp;amp; make install
cd ..
git clone http://git.gnome.org/browse/gupnp
cd gupnp
PKG_CONFIG_PATH=$(pwd)/../base/lib/pkgconfig ./autogen.sh --prefix=$(pwd)/../base --exec-prefix=$(pwd)/../base
cd ..
git clone http://git.gnome.org/browse/gupnp-tools
cd gupnp-tools
PKG_CONFIG_PATH=$(pwd)/../base/lib/pkgconfig ./autogen.sh --prefix=$(pwd)/../base --exec-prefix=$(pwd)/../base
cd ..
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Run the following commands for setting the environment to use the fresh compiled libraries instead of the OS provided ones (Empathy under Ubuntu 11.04 uses an older version of the GUPNP libraries. I ran into segmentation faults because the libraries did not match):&lt;/p&gt;</description></item><item><title>GUPNP: Failed to get SCPD: Cannot resolve hostname ((null))</title><link>https://rumpf.eu/michael/posts/2011-06-05-gupnp-failed-to-get-scpd-cannot-resolve_05/</link><pubDate>Sun, 05 Jun 2011 18:23:00 +0200</pubDate><guid>https://rumpf.eu/michael/posts/2011-06-05-gupnp-failed-to-get-scpd-cannot-resolve_05/</guid><description>&lt;p&gt;The following message occurs when the &lt;code&gt;&amp;lt;urlbase&amp;gt;&amp;lt;/urlbase&amp;gt;&lt;/code&gt; tag of the root device description is empty when trying to autoconnect actions:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;** (process:25888): WARNING **: Failed to get SCPD: Cannot resolve hostname ((null))
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Changing it to &lt;strong&gt;http://localhost&lt;/strong&gt; fixes the issue.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;&amp;lt;?xml version=&amp;#34;1.0&amp;#34;?&amp;gt;
&amp;lt;root xmlns=&amp;#34;urn:schemas-upnp-org:device-1-0&amp;#34;&amp;gt;
  &amp;lt;specVersion&amp;gt;
    &amp;lt;major&amp;gt;1&amp;lt;/major&amp;gt;
    &amp;lt;minor&amp;gt;0&amp;lt;/minor&amp;gt;
  &amp;lt;/specVersion&amp;gt;
&amp;lt;URLBase&amp;gt;http://localhost&amp;lt;/URLBase&amp;gt;
  &amp;lt;device&amp;gt;
    &amp;lt;!-- ... --&amp;gt;
  &amp;lt;/device&amp;gt;
&amp;lt;/root&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The message is a bit misleading. I was first trying to find an issue with my DNS configuration.&lt;/p&gt;</description></item><item><title>Compiling GUPnP on Ubuntu 11.04</title><link>https://rumpf.eu/michael/posts/2011-06-03-compiling-gupnp-on-ubuntu-1104/</link><pubDate>Fri, 03 Jun 2011 15:55:00 +0200</pubDate><guid>https://rumpf.eu/michael/posts/2011-06-03-compiling-gupnp-on-ubuntu-1104/</guid><description>&lt;p&gt;Because the &lt;a href="http://gupnp.org/"&gt;GUPnP&lt;/a&gt; stack is lacking some documentation I describe my experiences with getting it complied under Ubuntu 11.04. &lt;br&gt;
The commands will setup an environment that does not interfere with the Ubuntu provided packages, which are older than the ones compiled here. The library files will be installed under the location:
~/workspaces/openwrt/upnp&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Download:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;mkdir -p ~/workspaces/openwrt/upnp
cd ~/workspaces/openwrt/upnp
wget -O - http://gupnp.org/sites/all/files/sources/gupnp-igd-0.1.11.tar.gz | tar xvfz -
wget -O - http://gupnp.org/sites/all/files/sources/gupnp-0.16.1.tar.gz | tar xvfz -
wget -O - http://gupnp.org/sites/all/files/sources/gupnp-igd-0.1.10.tar.gz | tar xvfz -
wget -O - http://gupnp.org/sites/all/files/sources/gupnp-tools-0.8.3.tar.gz | tar xvfz -
wget -O - http://gupnp.org/sites/all/files/sources/gupnp-dlna-0.6.1.tar.gz | tar xvfz -
wget -O - http://gupnp.org/sites/all/files/sources/gupnp-av-0.8.0.tar.gz | tar xvfz -
wget -O - http://gupnp.org/sites/all/files/sources/gssdp-0.10.0.tar.gz | tar xvfz -
wget -O - http://gupnp.org/sites/all/files/sources/gupnp-vala-0.8.0.tar.gz | tar xvfz -
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Prerequisites:&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>