00001 #!/usr/bin/env python 00002 # -*- coding: utf-8 -*- 00003 00004 # ---------------------------------------------------------------------------- 00005 # pyjama - python jamendo audioplayer 00006 # Copyright (c) 2008 Daniel Nögel 00007 # 00008 # This program is free software: you can redistribute it and/or modify 00009 # it under the terms of the GNU General Public License as published by 00010 # the Free Software Foundation, either version 3 of the License, or 00011 # (at your option) any later version. 00012 # 00013 # This program is distributed in the hope that it will be useful, 00014 # but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 # GNU General Public License for more details. 00017 # You should have received a copy of the GNU General Public License 00018 # along with this program. If not, see <http://www.gnu.org/licenses/>. 00019 # ---------------------------------------------------------------------------- 00020 00021 ############# 00022 # CONSTANTS # 00023 ############# 00024 00025 INSTALL_DIR_POSIX = "/usr/share/apps/pyjama" 00026 INSTALL_DIR = "/usr/share/apps/pyjama" 00027 00028 PYJAMA_HOME_DIRECTORY_NAME = ".pyjama" 00029 00030 # THESE VALUES SHOULD NOT BE USED ANY MORE 00031 # SINCE PYJAMA'S GOT A SETTINGS PARSER FOR THAT 00032 00033 #VERSION_URL = "http://xn--ngel-5qa.de/pyjama_version" 00034 #STANDARD_THEME = "Clearlooks-DarkLime" 00035 #SHOW_WINDOW_IN_TASKBAR = False 00036 #FORMAT = "mp32" # ogg3 00037 #MAX_THREADS = 20 00038 #THREAD_WAIT = 1 00039 #ALBUM_URL = "http://www.jamendo.com/en/album/URL" 00040 #DEFAULT_VOL = 75 00041 #VOL_MAX = 130 00042 #CONNECTION_TRIES = 5*5# 30 00043 #HISTORY_SIZE = 20 00044 #TIMER_INTERVAL = 1024 00045 #CACHING_TIME_SHORT = (60*60*24*2) #(60*60*24*7) 00046 #CACHING_TIME_LONG = (60*60*24*60) #(60*60*24*7) 00047 #DB_SEARCH_LIMIT = 100 00048 #NOTIFICATION_DELAY = 5000 00049 #NOTIFICATION_COVER_SIZE = 75 #50
1.5.8