cc-4105: added event packing to event objects

This commit is contained in:
Rudi Grinberg 2012-07-27 10:27:30 -04:00
parent be00cc6990
commit 3422eb3cc0
5 changed files with 26 additions and 4 deletions

View file

@ -28,7 +28,7 @@ class RequestSync(threading.Thread,Loggable):
# Not forget to attach the 'is_record' to any requests that are related
# to recorded shows
# A simplistic request would like:
self.apiclient.send_media_monitor_requests(self.requests)
self.apiclient.send_media_monitor_requests([ req.pack() for req in self.requests ])
self.watcher.flag_done()
class TimeoutWatcher(threading.Thread,Loggable):