~ubuntu-branches/ubuntu/trusty/rygel/trusty

« back to all changes in this revision

Viewing changes to src/rygel/rygel-media-item.vala

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2011-12-16 15:21:25 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20111216152125-qgn31dkfmhouhrf0
Upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
        }
56
56
    }   // Size in bytes
57
57
 
58
 
    internal bool place_holder { get; private set; default = false; }
 
58
    public bool place_holder { get; set; default = false; }
59
59
 
60
60
    internal override OCMFlags ocm_flags {
61
61
        get {
175
175
        var didl_item = writer.add_item ();
176
176
 
177
177
        didl_item.id = this.id;
 
178
 
 
179
        if (this.ref_id != null) {
 
180
            didl_item.ref_id = this.ref_id;
 
181
        }
 
182
 
178
183
        if (this.parent != null) {
179
184
            didl_item.parent_id = this.parent.id;
180
185
        } else {
190
195
 
191
196
        didl_item.title = this.title;
192
197
        didl_item.upnp_class = this.upnp_class;
193
 
        didl_item.date = this.date;
 
198
 
 
199
        if (this.date != null) {
 
200
            didl_item.date = this.date;
 
201
        }
194
202
 
195
203
        /* We list proxy/transcoding resources first instead of original URIs
196
204
         * because some crappy MediaRenderer/ControlPoint implemenation out