ComfyUI  >  Nodes  >  MTB Nodes >  Read Playlist (mtb)

ComfyUI Node: Read Playlist (mtb)

Class Name

Read Playlist (mtb)

Category
mtb/IO
Author
melMass (Account age: 3754 days)
Extension
MTB Nodes
Latest Updated
7/2/2024
Github Stars
0.3K

How to Install MTB Nodes

Install this extension via the ComfyUI Manager by searching for  MTB Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter MTB Nodes in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Read Playlist (mtb) Description

Retrieve and manage playlists of videos or media files for AI art projects, with options for persistence and dynamic naming.

Read Playlist (mtb):

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.

Read Playlist (mtb) Input Parameters:

enable

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.

persistant_playlist

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.

playlist_name

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}.

index

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.

Read Playlist (mtb) Output Parameters:

PLAYLIST

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.

Read Playlist (mtb) Usage Tips:

  • Ensure the enable parameter is set to True to activate the node and read the playlist.
  • Use the persistant_playlist parameter to control whether the playlist should be available across different sessions.
  • Customize the playlist_name with an appropriate template to manage multiple playlists efficiently.
  • Adjust the index parameter to generate unique playlist names and avoid conflicts.

Read Playlist (mtb) Common Errors and Solutions:

Playlist {playlist_path} does not exist, skipping

  • Explanation: This error occurs when the specified playlist file does not exist at the given path.
  • Solution: Verify that the playlist file exists and the playlist_name and index parameters are correctly set to point to the right file.

None

  • Explanation: This output indicates that the node is disabled or the playlist file could not be found.
  • Solution: Ensure the enable parameter is set to True and check the existence and correctness of the playlist file path.

Read Playlist (mtb) Related Nodes

Go back to the extension to check out more related nodes.
MTB Nodes
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.