From c20b0dc28f4d8c3643c6a275586a4989ca6830e9 Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Mon, 19 Jul 2010 19:12:32 +0300 Subject: [PATCH] core: Explain AlbumArt.add_resource() in a comment Add a comment explaining why AlbumArt.add_resource() doesn't really add do what the name suggests. --- src/rygel/rygel-album-art.vala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rygel/rygel-album-art.vala b/src/rygel/rygel-album-art.vala index 6466fe7..39023c9 100644 --- a/src/rygel/rygel-album-art.vala +++ b/src/rygel/rygel-album-art.vala @@ -27,6 +27,9 @@ public class Rygel.AlbumArt : Thumbnail { base (); } + /* This doesn't really add a resource. Blame UPnP/DLNA for treating + * thumbnails and album-art differently for no apparent reason. + */ internal override DIDLLiteResource? add_resource (DIDLLiteItem didl_item, string protocol) { didl_item.album_art = this.uri; -- 2.7.4