[rygel/rygel-0-10: 4/8] core: Fix album art
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-10: 4/8] core: Fix album art
- Date: Tue, 31 May 2011 18:45:35 +0000 (UTC)
commit e5dec218c6649cc5eda5ccd313140c9dcddf7356
Author: Jens Georg <mail jensge org>
Date: Sat Apr 23 14:16:01 2011 +0300
core: Fix album art
Add album art as upnp:albumArtURI, not thumbnail. Was somehow lost.
src/rygel/rygel-music-item.vala | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/src/rygel/rygel-music-item.vala b/src/rygel/rygel-music-item.vala
index 97d6949..2a8b621 100644
--- a/src/rygel/rygel-music-item.vala
+++ b/src/rygel/rygel-music-item.vala
@@ -132,13 +132,10 @@ public class Rygel.MusicItem : AudioItem {
if (!this.place_holder &&
this.album_art != null &&
server.need_proxy (this.album_art.uri)) {
- var uri = album_art.uri; // Save the original URI
-
- album_art.uri = server.create_uri_for_item (this, 0, -1, null);
- album_art.add_resource (didl_item, server.get_protocol ());
-
- // Now restore the original URI
- album_art.uri = uri;
+ didl_item.album_art = server.create_uri_for_item (this,
+ 0,
+ -1,
+ null);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]