diff --git a/ContentDirectory.py b/ContentDirectory.py index c8d3099..d94633e 100644 --- a/ContentDirectory.py +++ b/ContentDirectory.py @@ -37,8 +37,8 @@ class ContentDirectoryControl(UPnPPublisher, dict): self.nextID += 1 return ret - def addContainer(self, parent, title, **kwargs): - ret = self.addItem(parent, Container, title, **kwargs) + def addContainer(self, parent, title, klass = Container, **kwargs): + ret = self.addItem(parent, klass, title, **kwargs) self.children[ret] = [] return ret