diff --git a/ContentDirectory.py b/ContentDirectory.py index 91e1e4c..91a47cb 100644 --- a/ContentDirectory.py +++ b/ContentDirectory.py @@ -257,6 +257,9 @@ class ContentDirectoryControl(UPnPPublisher, dict): log.msg('CreateReference(ContainerID=%s, ObjectID=%s)' % (`ContainerID`, `ObjectID`)) + def __repr__(self): + return '' % (len(self), `self.urlbase`, self.nextID) + class ContentDirectoryServer(resource.Resource): def __init__(self, title, *args, **kwargs): resource.Resource.__init__(self)