vse_toolbox/constants.py

20 lines
534 B
Python

import os
from pathlib import Path
MODULE_DIR = Path(__file__).parent
TRACKERS_DIR = MODULE_DIR / 'resources' / 'trackers'
TRACKERS = []
PROJECTS = []
EDITS = [('NONE', 'None', '', 0)]
MOVIES = [('NONE', 'None', '', 0)]
SOUNDS = [('NONE', 'None', '', 0)]
EDIT_SUFFIXES = ['.xml', '.edl']
MOVIE_SUFFIXES = ['.mov', '.mp4']
SOUND_SUFFIXES = ['.mp3', '.aaf', '.flac']
# TRACKER_URL = os.environ.get("TRACKER_URL", "")
# TRACKER_LOGIN = os.environ.get("TRACKER_LOGIN", "")
# TRACKER_PASSWORD = os.environ.get("TRACKER_PASSWORD", "")