[gupnp-tools] Empty item id is mandatory



commit d67b473850be48311979c813e06375d9311e04d3
Author: Jens Georg <mail jensge org>
Date:   Mon Aug 1 12:37:36 2011 +0200

    Empty item id is mandatory
    
    https://bugzilla.gnome.org/show_bug.cgi?id=659316

 src/upload/item-creation.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/upload/item-creation.c b/src/upload/item-creation.c
index a1548da..2ec4e63 100644
--- a/src/upload/item-creation.c
+++ b/src/upload/item-creation.c
@@ -89,6 +89,7 @@ create_didl_for_file (const char *file_path,
         item = GUPNP_DIDL_LITE_OBJECT
                         (gupnp_didl_lite_writer_add_item (writer));
         gupnp_didl_lite_object_set_parent_id (item, parent_id);
+        gupnp_didl_lite_object_set_id (item, "");
         gupnp_didl_lite_object_set_restricted (item, FALSE);
 
         if (title == NULL) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]