core: Put CreateObject arguments in correct order
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Wed, 4 Aug 2010 15:00:34 +0000 (18:00 +0300)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Wed, 4 Aug 2010 15:10:12 +0000 (18:10 +0300)
DLNA (7.2.14.2,3) requires that arguments in action responses be list in
the exact same order as they are listed in the service description.

src/rygel/rygel-item-creator.vala

index a116383..e670e2a 100644 (file)
@@ -148,8 +148,8 @@ internal class Rygel.ItemCreator: GLib.Object, Rygel.StateMachine {
         string didl = this.didl_writer.get_string ();
 
         /* Set action return arguments */
-        this.action.set ("Result", typeof (string), didl,
-                         "ObjectID", typeof (string), this.item.id);
+        this.action.set ("ObjectID", typeof (string), this.item.id,
+                         "Result", typeof (string), didl);
 
         this.action.return ();
         this.completed ();