using GUPnP;
using Gst;
-private errordomain Rygel.ItemCreatorError {
- PARSE
-}
-
/**
* CreateObject action implementation.
*/
if (this.didl_item == null) {
var message = _("No items in DIDL-Lite from client: '%s'");
- throw new ItemCreatorError.PARSE (message, this.elements);
+ throw new ContentDirectoryError.BAD_METADATA
+ (message, this.elements);
}
if (didl_item.id == null || didl_item.id != "") {
// test empty DIDL
item_node->unlink ();
didl_node->set_content (" ");
- this.test_didl_parsing_step (xml, 701);
+ this.test_didl_parsing_step (xml, bad_metadata.code);
// test item node with missing restricted attribute
var tmp = item_node->copy (1);