constants.py 352 B

123456789101112131415161718192021
  1. from path import Path
  2. APP_ROOT = Path(__file__).parent.parent
  3. MUSIC_FOLDERS = [
  4. APP_ROOT / 'fixtures'
  5. ]
  6. SUPPORTED_EXTENSIONS = ('mp3', 'wma', 'flac')
  7. # VLC
  8. VLC_PATH = APP_ROOT / 'core' / 'vlc-core'
  9. # Db
  10. DB_PATH = APP_ROOT / 'data' / 'default' / 'db.sqlite'
  11. DATA_DIR = APP_ROOT / 'data'
  12. LOGGER_NAME = "mew"
  13. LOG_DIR = DATA_DIR
  14. LOGGER_LEVEL = 0