From 6bfd3280e734efa3517b214f55beda6412962c88 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Sat, 8 Jul 2006 12:35:42 -0800 Subject: [PATCH] move the browse later so that restarts don't print it soo many times.. [git-p4: depot-paths = "//depot/": change = 839] --- ContentDirectory.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ContentDirectory.py b/ContentDirectory.py index 3d4af5f..7e8695b 100644 --- a/ContentDirectory.py +++ b/ContentDirectory.py @@ -187,11 +187,6 @@ class ContentDirectoryControl(UPnPPublisher, dict): StartingIndex = int(StartingIndex) 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() result = {} @@ -228,6 +223,11 @@ class ContentDirectoryControl(UPnPPublisher, dict): #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 # Optional actions