diff options
author | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-08-30 18:59:16 (GMT) |
---|---|---|
committer | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-08-30 18:59:16 (GMT) |
commit | a84d01023ff98c2d0903b3d0d3be1635d3f60f1e (patch) | |
tree | d7e262a8e2e42ad7964364433641e0e4083d81b2 /recorded.py | |
parent | a0c401c02e2345be255ffa4e577cb29a75c6b547 (diff) |
more mesh contingencies
git-svn-id: http://mediamods.com/public-svn/camera-activity/Record.activity@397 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
Diffstat (limited to 'recorded.py')
-rw-r--r-- | recorded.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recorded.py b/recorded.py index 9104cc9..8ff195e 100644 --- a/recorded.py +++ b/recorded.py @@ -104,7 +104,7 @@ class Recorded: - def getThumbFilepath( self ): + def getThumbFilepath( self, meshReq ): #todo: make sure this is used everywhere if (self.datastoreId == None): #just taken, so it is in the tempSessionDir @@ -131,7 +131,7 @@ class Recorded: return None - def getMediaFilepath( self ): + def getMediaFilepath( self, meshReq ): print("getMediaFilepath 1") if (self.datastoreId == None): if (not self.buddy): @@ -150,9 +150,9 @@ class Recorded: #e.g., thumbs for pics, or "coming attractions" for videos ;-) #todo: always re-request? #todo: notify to the user that the request is underway or not possible... - if (self.ca.meshClient != None): + if ( (self.ca.meshClient != None) and meshReq): print("getMediaFilepath 6") - self.ca.meshClient.requestPhotoBits( self ) + self.ca.meshClient.requestMediaBits( self ) print("getMediaFilepath 7") return None |