receyuki / comfyui-prompt-reader-node

The ultimate solution for managing image metadata and multi-tool compatibility. ComfyUI node version of the SD Prompt Reader
MIT License
290 stars 22 forks source link

[FEATURE REQUEST] - SD Prompt Saver outputs the generated filename #16

Closed alessandroperilli closed 1 year ago

alessandroperilli commented 1 year ago

Summary

I don't remember if we previously discussed this feature in another issue and I was told that due to the limitations of the engine, it's impossible to achieve. I'll just create its own issue here for consideration and documentation.

The problem is that, for logging and debugging purposes, I would like to export (via print or save to file) the full filename generated by SD Prompt Saver node, according to the configuration decided in the node.

If an export wouldn't be possible, at least, I wish the node would print the generated filename in the terminal on its own. It's not ideal, but it's better than nothing.

Basic Example

Let's say that the SD Prompt Saver is configured as follows:

Screenshot 2023-11-03 at 09 11 31

I would want to see an exported line (or a line printed in the terminal) that says:

Saved file: 465801832038646_2023-10-25_143039_base.png

Reference Issues.

No response

alessandroperilli commented 1 year ago

The implementation you made is even better than I envisioned. Thank you.