projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88cecaf
)
core: Do not serialize empty date
author
Jens Georg
<mail@jensge.org>
Tue, 11 Oct 2011 17:44:49 +0000
(19:44 +0200)
committer
Jens Georg
<mail@jensge.org>
Wed, 12 Oct 2011 08:24:47 +0000
(10:24 +0200)
src/rygel/rygel-media-item.vala
patch
|
blob
|
history
diff --git
a/src/rygel/rygel-media-item.vala
b/src/rygel/rygel-media-item.vala
index
dd3ddcf
..
44eb68f
100644
(file)
--- a/
src/rygel/rygel-media-item.vala
+++ b/
src/rygel/rygel-media-item.vala
@@
-195,7
+195,10
@@
public abstract class Rygel.MediaItem : MediaObject {
didl_item.title = this.title;
didl_item.upnp_class = this.upnp_class;
- didl_item.date = this.date;
+
+ if (this.date != null) {
+ didl_item.date = this.date;
+ }
/* We list proxy/transcoding resources first instead of original URIs
* because some crappy MediaRenderer/ControlPoint implemenation out