Visit ComfyUI Online for ready-to-use ComfyUI environment
Retrieve and manage playlists of videos or media files for AI art projects, with options for persistence and dynamic naming.
The Read Playlist (mtb) node is designed to read and retrieve a playlist of videos or media files, making it an essential tool for managing and accessing your media collections efficiently. This node allows you to specify whether the playlist should be persistent across sessions or temporary, and it can dynamically generate playlist names based on an index. By enabling this node, you can seamlessly load and utilize playlists in your AI art projects, ensuring that your media files are organized and easily accessible. The primary function of this node is to read the contents of a specified playlist file and return it for further processing or playback.
This parameter is a boolean that determines whether the node should be active or not. If set to True
, the node will attempt to read the specified playlist. If set to False
, the node will not perform any action. The default value is True
.
This boolean parameter specifies whether the playlist should be persistent across different sessions. If set to True
, the playlist will be saved in a location that is not session-specific, making it available for future use. If set to False
, the playlist will be saved in a session-specific location. The default value is False
.
This string parameter allows you to define the name of the playlist. You can use a template with an index placeholder, such as playlist_{index:04d}
, to dynamically generate playlist names based on the provided index. The default value is playlist_{index:04d}
.
This integer parameter is used to replace the {index}
placeholder in the playlist_name
template. It helps in generating unique playlist names. The minimum value is 0
, and the default value is 0
.
The output of this node is a playlist, which is a list of media file paths read from the specified playlist file. This output can be used for further processing, playback, or any other operations that require access to the media files listed in the playlist.
enable
parameter is set to True
to activate the node and read the playlist.persistant_playlist
parameter to control whether the playlist should be available across different sessions.playlist_name
with an appropriate template to manage multiple playlists efficiently.index
parameter to generate unique playlist names and avoid conflicts.{playlist_path}
does not exist, skippingplaylist_name
and index
parameters are correctly set to point to the right file.enable
parameter is set to True
and check the existence and correctness of the playlist file path.© Copyright 2024 RunComfy. All Rights Reserved.