core: Add some comments to check
authorJens Georg <mail@jensge.org>
Mon, 9 Jan 2012 18:05:09 +0000 (19:05 +0100)
committerJens Georg <mail@jensge.org>
Tue, 21 Feb 2012 13:41:44 +0000 (15:41 +0200)
src/rygel/rygel-item-creator.vala

index 4f87616..348208d 100644 (file)
@@ -97,6 +97,7 @@ internal class Rygel.ItemCreator: GLib.Object, Rygel.StateMachine {
                                          "CreateItem");
             }
 
+            // FIXME: Is this check really necessary?
             if ((didl_item.dlna_managed &
                 (OCMFlags.UPLOAD |
                  OCMFlags.CREATE_CONTAINER |
@@ -293,6 +294,8 @@ internal class Rygel.ItemCreator: GLib.Object, Rygel.StateMachine {
                                         media_object.id);
         }
 
+        // FIXME: Check for @restricted=1 missing?
+
         return media_object as WritableContainer;
     }