-
-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding notification.mp3 support #606
Adding notification.mp3 support #606
Conversation
this relies on user to know to upload |
That makes sense. It will take some more work to implement that, so I’ll close the PR and resubmit later. |
You can add a setting to
Then in
Here's a royalty free notification sound: |
yup. except then there is no need for |
Looking forward to this! I already know what sound effect I'll use. 👀 https://youtu.be/Vl3cmacvVm4 |
btw, why not keep pr as draft while working on it? when you mark it as ready for review, i'll take a look at it. |
I wasn't aware I could do that; thank you! Still learning GitHub. |
Thank you, you awesome dudes! |
Does this work? Enabled or disabled makes no difference for me. I'm on latest FF, I recall in the OG repo, you'd have to enable notifications (like the kind that gets pushed to you by the browser to your OS), and then I supposed the sound would work. But this, doesn't work. Maybe the default audio device isn't being pinged? |
Yes it works. You have to reload UI (or even better restart the server) after saving the changed setting. It is not a real browser Notification. It's just playing a sound using html <audio>. Maybe your browser blocks playing audio from this tab, but usually browsers auto enable sound playback after you interact with the website once. |
Seems there was a commit that 'fixes notification'. And now functions properly 👍 |
Description
Automatic1111 had a feature that would play a sound if "notification.mp3" was present in the root folder (added in AUTOMATIC1111/stable-diffusion-webui#1126). This feature is not present in the vladmandic fork, so this PR re-adds it.
Notes
I don't know if this feature was intentionally removed or if it just got left out somehow. Please let me know if its removal was intentional.
Environment and Testing
Release: 3b6effe
OS: Windows 11
Browser: Firefox 112.0.1 (64-bit)