2023-03-20 19:05:22 +01:00
|
|
|
import appdirs
|
|
|
|
import bpy
|
2023-03-14 13:38:04 +01:00
|
|
|
import os
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
MODULE_DIR = Path(__file__).parent
|
|
|
|
TRACKERS_DIR = MODULE_DIR / 'resources' / 'trackers'
|
|
|
|
TRACKERS = []
|
|
|
|
PROJECTS = []
|
2023-03-16 18:32:17 +01:00
|
|
|
|
|
|
|
EDITS = [('NONE', 'None', '', 0)]
|
|
|
|
MOVIES = [('NONE', 'None', '', 0)]
|
|
|
|
SOUNDS = [('NONE', 'None', '', 0)]
|
2023-03-17 20:03:38 +01:00
|
|
|
ASSETS = [('NONE', 'None', '', 0)]
|
2023-03-16 18:32:17 +01:00
|
|
|
|
|
|
|
EDIT_SUFFIXES = ['.xml', '.edl']
|
|
|
|
MOVIE_SUFFIXES = ['.mov', '.mp4']
|
|
|
|
SOUND_SUFFIXES = ['.mp3', '.aaf', '.flac']
|
|
|
|
|
2023-03-20 19:05:22 +01:00
|
|
|
CONFIG_DIR = Path(appdirs.user_config_dir(__package__.split('.')[0]))
|
|
|
|
PREVIEWS_DIR = CONFIG_DIR / 'thumbnails'
|
2023-03-16 18:32:17 +01:00
|
|
|
|
2023-03-20 19:05:22 +01:00
|
|
|
ASSET_PREVIEWS = bpy.utils.previews.new()
|