From: Jens Georg Date: Tue, 11 Oct 2011 17:44:49 +0000 (+0200) Subject: core: Do not serialize empty date X-Git-Tag: RYGEL_0_13_0~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf6b494360faba6c145d667c5cfecdb34851f76e;p=profile%2Fivi%2Frygel.git core: Do not serialize empty date --- diff --git a/src/rygel/rygel-media-item.vala b/src/rygel/rygel-media-item.vala index dd3ddcf..44eb68f 100644 --- 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