# -*- coding: latin1 -*- ### Copyright (C) 2007, 2008, 2009, 2010 Damon Lynch ### This program is free software; you can redistribute it and/or modify ### it under the terms of the GNU General Public License as published by ### the Free Software Foundation; either version 2 of the License, or ### (at your option) any later version. ### This program is distributed in the hope that it will be useful, ### but WITHOUT ANY WARRANTY; without even the implied warranty of ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ### GNU General Public License for more details. ### You should have received a copy of the GNU General Public License ### along with this program; if not, write to the Free Software ### Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA version = '0.1.2' GCONF_KEY="/apps/rapid-photo-downloader" GLADE_FILE = "glade3/rapid.glade" DBUS_NAME = "net.damonlynch.RapidPhotoDownloader" #i18n APP_NAME = "rapid-photo-downloader" MEDIA_LOCATION = "/media" SKIP_DOWNLOAD = "skip download" ADD_UNIQUE_IDENTIFIER = "add unique identifier" REPORT_WARNING = "warning" REPORT_ERROR = "error" IGNORE = "ignore" DEFAULT_PHOTO_LOCATIONS = ['Pictures', 'Photos'] DEFAULT_BACKUP_LOCATION = 'Pictures' MAX_NO_READERS = 20 RAW_FILE_EXTENSIONS = ['arw', 'dcr', 'cr2', 'crw', 'dng', 'mef', 'mos', 'mrw', 'nef', 'orf', 'pef', 'raf', 'raw', 'sr2'] #exiv2 0.18.1 introduces support for Panasonic .RW2 files NON_RAW_IMAGE_FILE_EXTENSIONS = ['jpg', 'jpe', 'jpeg', 'tif', 'tiff'] CRITICAL_ERROR = 1 SERIOUS_ERROR = 2 WARNING = 3 MAX_LENGTH_DEVICE_NAME = 15 #logging - to be implemented #LOGFILE_DIRECTORY = '.rapidPhotoDownloader' # relative to home directory #MAX_LOGFILE_SIZE = 100 * 1024 # bytes #MAX_LOGFILES = 5