[rygel/wip/track-changes: 21/21] WIP
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/track-changes: 21/21] WIP
- Date: Tue, 23 Oct 2012 14:05:12 +0000 (UTC)
commit 1b22c51c760ad605f7011f775e6f17c98ef8b42d
Author: Jens Georg <jensg openismus com>
Date: Tue Oct 23 15:52:38 2012 +0200
WIP
src/librygel-server/rygel-content-directory.vala | 1 +
.../rygel-relational-expression.vala | 1 +
tests/rygel-item-creator-test.vala | 2 ++
3 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/librygel-server/rygel-content-directory.vala b/src/librygel-server/rygel-content-directory.vala
index 38f5155..5ed2a25 100644
--- a/src/librygel-server/rygel-content-directory.vala
+++ b/src/librygel-server/rygel-content-directory.vala
@@ -580,6 +580,7 @@ internal class Rygel.ContentDirectory: Service {
ServiceAction action) {
action.set ("ResetToken", typeof (string), this.service_reset_token);
action.return ();
+ this.service_reset.begin ();
}
private void query_service_reset_token (Service content_dir,
diff --git a/src/librygel-server/rygel-relational-expression.vala b/src/librygel-server/rygel-relational-expression.vala
index 119eed3..70f90e5 100644
--- a/src/librygel-server/rygel-relational-expression.vala
+++ b/src/librygel-server/rygel-relational-expression.vala
@@ -34,6 +34,7 @@ public class Rygel.RelationalExpression :
"dc:creator,upnp:createClass,@childCount";
public override bool satisfied_by (MediaObject media_object) {
+ debug ("Checking satisfied_by on %s", media_object.title);
switch (this.operand1) {
case "@id":
return this.compare_string (media_object.id);
diff --git a/tests/rygel-item-creator-test.vala b/tests/rygel-item-creator-test.vala
index cf41b92..d77b528 100644
--- a/tests/rygel-item-creator-test.vala
+++ b/tests/rygel-item-creator-test.vala
@@ -114,6 +114,7 @@ public class Rygel.MediaObject : GLib.Object {
public string title;
public GUPnP.OCMFlags ocm_flags;
public Gee.ArrayList<string> uris;
+ public uint object_update_id;
public void add_uri (string uri) {
this.uris.add (uri);
@@ -186,6 +187,7 @@ public class Rygel.MediaContainer : Rygel.MediaObject {
public Gee.ArrayList<string> create_classes = new Gee.ArrayList<string> ();
public int child_count;
public string sort_criteria = "+dc:title";
+ public uint update_id;
// mockable elements
public MediaObject found_object = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]