constants.py 254 B

123456789101112131415
  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' / 'db.sqlite'