- char buf[64];
-
- _playlist->id().print (buf, sizeof (buf));
- node.add_property ("playlist", buf);
- snprintf (buf, sizeof (buf), "%" PRIi64, _playlist_offset);
- node.add_property ("offset", buf);
- snprintf (buf, sizeof (buf), "%" PRIu64, _playlist_length);
- node.add_property ("length", buf);
-
+ node.set_property ("playlist", _playlist->id ());
+ node.set_property ("offset", _playlist_offset);
+ node.set_property ("length", _playlist_length);
+ node.set_property ("original", id());
+