ComfyUI-Custom-Scripts icon indicating copy to clipboard operation
ComfyUI-Custom-Scripts copied to clipboard

play sound: what input to set to get notification on empty queue?

Open bumfuzzleme opened this issue 2 years ago • 3 comments

No problem with 'always' mode - it works fine everytime.

But 'on empty queue' works properly (i. e. playing sound on finishing queue) never or extremely rare. How make it work right?

bumfuzzleme avatar Sep 27 '24 07:09 bumfuzzleme

Connect Vae decode output for example, works 100% of the time for me. (it will play once ur generation is done = queue is empty) image

lingmee avatar Nov 06 '24 09:11 lingmee

"On empty queue" absolutly doesn't work for me. When last image is generating it's queue of 1 length, and when queue is really empty there is already nothing to trigger notification. And kinda side consideration - when connected node is bypassed, notification also doesn't work.

sdml0 avatar Jan 08 '25 12:01 sdml0

I have mine behind the last step in my life cycle (one of the image saver's output) and PlaySound "on empty queue" works there for me (Windows, CUI v0.41.3 / frontend v1.55.17) The weird thing is, SystemNotification triggers every time with the exact same node and mode selected - no matter how many things are still in the cue 🙃

Black-Platypus avatar Oct 24 '26 13:10 Black-Platypus