forked from San4itos/ComfyUI-Save-Images-as-Video
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path__init__.py
More file actions
27 lines (20 loc) · 1015 Bytes
/
Copy path__init__.py
File metadata and controls
27 lines (20 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import os
from .nodes import NODE_CLASS_MAPPINGS as FFMPEG_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS as FFMPEG_DISPLAY_MAPPINGS
from .node_logger import log_node_info, log_node_success, log_node_error, log_node_warning, log_node_debug
from .ffmpeg_path_resolver import initialize_ffmpeg_path_and_log
NODE_CLASS_MAPPINGS = {
**FFMPEG_MAPPINGS,
# **OTHER_MAPPINGS, # Comment and add others, if any.
}
NODE_DISPLAY_NAME_MAPPINGS = {
**FFMPEG_DISPLAY_MAPPINGS,
# **OTHER_DISPLAY_MAPPINGS, # Comment and add others, if any.
}
# WEB_DIRECTORY = "./js" # Points to the js folder
# __all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
# Determine the path to the package directory
PACKAGE_DIRECTORY = os.path.dirname(os.path.realpath(__file__))
INIT_LOG_PREFIX = "AIMMS_Init"
initialize_ffmpeg_path_and_log(PACKAGE_DIRECTORY)
log_node_info(INIT_LOG_PREFIX, "*** Custom Nodes from ComfyUI-AIMMS Initialized ***")