core: Let GUPnP AV take care of album art DIDL-Lite
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 15 Jul 2010 17:31:21 +0000 (20:31 +0300)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Mon, 19 Jul 2010 17:47:30 +0000 (20:47 +0300)
src/rygel/rygel-album-art.vala

index d72882c..6466fe7 100644 (file)
@@ -29,8 +29,7 @@ public class Rygel.AlbumArt : Thumbnail {
 
     internal override DIDLLiteResource? add_resource (DIDLLiteItem didl_item,
                                                       string       protocol) {
-        Xml.Node* node = didl_item.xml_node;
-        node->new_child (null, "upnp:albumArtURI", this.uri);
+        didl_item.album_art = this.uri;
 
         return null;
     }