* cleanup oxdbarchive, consolidated cache code

* no tg_flash
* fix extract_timeline
This commit is contained in:
j 2007-07-10 13:32:21 +00:00
commit 9779cfc86a
7 changed files with 45 additions and 321 deletions

View file

@ -52,7 +52,6 @@ class GstTimeline:
format, self.length = q.parse_duration()
seconds = int(math.ceil(float(self.length) / gst.SECOND))
print "seconds", seconds
self.timelineImage = Image.new("RGB", (seconds, bar_height))
self.timelineImagePos = 0
@ -112,7 +111,7 @@ def usage():
if __name__ == "__main__":
if len(sys.argv) < 2:
usage()
if not os.path.exists(sys.argv[1]):
if not os.path.exists(os.path.dirname(sys.argv[1])):
print "target does not exist"
sys.exit(1)