|
|
@@ -124,7 +124,7 @@ class ContentDirectoryControl(UPnPPublisher, dict): |
|
|
|
|
|
|
|
if BrowseFlag == 'BrowseDirectChildren': |
|
|
|
ch = self.getchildren(ObjectID)[StartingIndex: StartingIndex + RequestedCount] |
|
|
|
filter(lambda x, s = self, d = didl: d.addItem(s[x.id].checkUpdate()) and None, ch) |
|
|
|
filter(lambda x, d = didl: d.addItem(x) and None, filter(lambda x, s = self: s[x.id].checkUpdate(), ch)) |
|
|
|
else: |
|
|
|
didl.addItem(self[ObjectID]) |
|
|
|
|
|
|
|