|
|
@@ -101,6 +101,8 @@ class ContentDirectoryControl(UPnPPublisher, dict): |
|
|
|
|
|
|
|
def addContainer(self, parent, title, klass = Container, *args, **kwargs): |
|
|
|
ret = self.addObject(parent, klass, title, *args, **kwargs) |
|
|
|
if ret is None: |
|
|
|
return |
|
|
|
self.children[ret] = self[ret] |
|
|
|
return ret |
|
|
|
|
|
|
|