diff options
author | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-10-19 22:32:02 (GMT) |
---|---|---|
committer | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-10-19 22:32:02 (GMT) |
commit | 7cdc3c58228e8195bdba3316a5b5dda48dc71181 (patch) | |
tree | 02ac3104997e21ea5638687174c2de7b6f04419a /recorded.py | |
parent | 0d3c15659483a52f3a5cc77861d853af531e6a26 (diff) |
untested updates
git-svn-id: http://mediamods.com/public-svn/camera-activity/Record.activity@652 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
Diffstat (limited to 'recorded.py')
-rw-r--r-- | recorded.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/recorded.py b/recorded.py index fbc6139..d3cc3bd 100644 --- a/recorded.py +++ b/recorded.py @@ -160,34 +160,27 @@ class Recorded: def getMediaFilepath( self, meshReq ): - print("getMediaFilepath 1") if (self.datastoreId == None): if (not self.buddy): #just taken by you, so it is in the tempSessionDir - print("getMediaFilepath 3") mediaFilepath = os.path.join(self.ca.tempPath, self.mediaFilename) return os.path.abspath(mediaFilepath) else: if (self.downloadedFromBuddy): - print("getMediaFilepath 4") #the user has requested the high-res version, and it has downloaded mediaFilepath = os.path.join(self.ca.tempPath, self.mediaFilename) return os.path.abspath(mediaFilepath) else: - print("getMediaFilepath 5") #you should request it from someone and return None for the request to handle... #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) and meshReq): - print("getMediaFilepath 6") self.ca.meshClient.requestMediaBits( self ) - print("getMediaFilepath 7") return None else: #pulling from the datastore, regardless of who took it - print("getMediaFilepath 8") #first, get the datastoreObject and hold the reference in this Recorded instance if (self.datastoreOb == None): @@ -198,5 +191,4 @@ class Recorded: #if this is a buddy's media and you only ever got a thumbnail, then return null and query for the real deal... - print("getMediaFilepath 9") return self.datastoreOb.file_path
\ No newline at end of file |