- _length = extent.second - extent.first;
-
- /* other properties */
-
- if ((prop = node.property (X_("name"))) == 0) {
- throw failed_constructor ();
- }
-
- set_name (prop->value());
-
- if ((prop = node.property (X_("offset"))) == 0) {
- throw failed_constructor ();
- }
- sscanf (prop->value().c_str(), "%" PRIi64, &_playlist_offset);
-
- if ((prop = node.property (X_("length"))) == 0) {
- throw failed_constructor ();
- }
-
- sscanf (prop->value().c_str(), "%" PRIu64, &_playlist_length);