crystian / ComfyUI-Crystools

A powerful set of tools for ComfyUI
MIT License
758 stars 40 forks source link

A way to specify visibility filter for `Load image with metadata`? #135

Open Lex-DRL opened 5 days ago

Lex-DRL commented 5 days ago

Is your feature request related to a problem? Please describe. It's possible to have extra files in the input folder (at least, hidden "dot" files), which clutter the file list when selecting an image. Especially if you put the entire input folder in version control or, even worse, have multiple of those in subfolders (imagine the entire contents of .git folder being listed there).

Describe the solution you'd like Some option in Crystools settings with a file-matching pattern would solve the issue. And probably, by default it should be filled with something like .*;Thumbs.db;*.DS_Store;*.lock.

Describe alternatives you've considered Another custom node (rgthree) allows us to nest subdirectories in menus, but it's only a workaround. Ideally, those useless files/subfolders should be filtered out off the list.

Additional context Probably, a second "hidden" internal filter should be applied on top of it - showing only those file types which the node supports.

julien-moment commented 2 days ago

+1 for this feature!

I was about to post a similar request regarding the issue with hidden dot files that duplicate each file in the input folder. This duplication makes it a bit tedious to ensure you’re linking the correct file, especially since the dot (.) indicating a hidden file is small and easy to miss. Enhancing this feature would greatly improve usability.