Files
2026-02-27 06:08:17 +01:00

32 lines
957 B
Python

"""BmzUtils module."""
import os
import sys
if not ("pytest" in sys.modules or "PYTEST_CURRENT_TEST" in os.environ):
from .image.load_image import BmzLoadImage
from .utils.bmz_video_settings import BmzVideoSettings
from .utils.bmz_transfer_colors import BmzTransferColors
from .utils.bmz_templated_string import BmzJinja2String
NODE_CLASS_MAPPINGS = {
"BmzLoadImage": BmzLoadImage,
"BmzTransferColors": BmzTransferColors,
"BmzVideoSettings": BmzVideoSettings,
"BmzJinja2String": BmzJinja2String,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"BmzLoadImage": "[BMZ] LoadImage",
"BmzTransferColors": "[BMZ] TransferColors",
"BmzVideoSettings": "[BMZ] VideoSettings",
"BmzJinja2String": "[BMZ] Jinja2String",
}
WEB_DIRECTORY = os.path.join(os.path.dirname(__file__), "web")
def web_directory():
"""Indicate the location of web resources."""
return WEB_DIRECTORY