Browse Source

move the browse later so that restarts don't print it soo many

times..

[git-p4: depot-paths = "//depot/": change = 839]
v0.3
John-Mark Gurney 18 years ago
parent
commit
6bfd3280e7
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      ContentDirectory.py

+ 5
- 5
ContentDirectory.py View File

@@ -187,11 +187,6 @@ class ContentDirectoryControl(UPnPPublisher, dict):
StartingIndex = int(StartingIndex) StartingIndex = int(StartingIndex)
RequestedCount = int(RequestedCount) RequestedCount = int(RequestedCount)


log.msg('Browse(ObjectID=%s, BrowseFlags=%s, Filter=%s, '
'StartingIndex=%s RequestedCount=%s SortCriteria=%s)' %
(`ObjectID`, `BrowseFlag`, `Filter`, `StartingIndex`,
`RequestedCount`, `SortCriteria`))

didl = DIDLElement() didl = DIDLElement()
result = {} result = {}


@@ -228,6 +223,11 @@ class ContentDirectoryControl(UPnPPublisher, dict):


#log.msg('Returning: %s' % result) #log.msg('Returning: %s' % result)


log.msg('Browse(ObjectID=%s, BrowseFlags=%s, Filter=%s, '
'StartingIndex=%s RequestedCount=%s SortCriteria=%s) = %s' %
(`ObjectID`, `BrowseFlag`, `Filter`, `StartingIndex`,
`RequestedCount`, `SortCriteria`, `result`))

return result return result


# Optional actions # Optional actions


Loading…
Cancel
Save