Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/constants.py
diff options
context:
space:
mode:
authorerikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0>2007-11-01 02:37:16 (GMT)
committer erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0>2007-11-01 02:37:16 (GMT)
commit501d44e836450762d8858d1cde665d8b7fb8566c (patch)
tree1cdd864e4d96b2e9ae2e537ec82c53376cf55abc /constants.py
parentdf62828894ffc42abae963be4c2409e1b59c8b18 (diff)
omg, refactoring
git-svn-id: http://mediamods.com/public-svn/camera-activity/Record.activity@803 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
Diffstat (limited to 'constants.py')
-rw-r--r--constants.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/constants.py b/constants.py
index 8bf93d2..0004680 100644
--- a/constants.py
+++ b/constants.py
@@ -125,6 +125,11 @@ class Constants:
#TRANS: Cannot download this Photo
istrCannotDownload = _("Cannot download this %(1)s")
+ mediaTypes = {}
+ mediaTypes[TYPE_PHOTO] = {keyName:"photo", keyMime:"image/jpeg", keyExt:"jpg", keyIstr:Constants.istrPhoto}
+ mediaTypes[TYPE_VIDEO] = {keyName:"video", keyMime:"video/ogg", keyExt:"ogg", keyIstr:Constants.istrVideo}
+ mediaTypes[TYPE_AUDIO] = {keyName:"audio", keyMime:"audio/ogg", keyExt:"ogg", keyIstr:Constants.istrAudio}
+
thumbPhotoSvgData = None
thumbPhotoSvg = None
thumbVideoSvg = None