dmitriysalnikov / obsnotifier Goto Github PK
View Code? Open in Web Editor NEWSimple program for displaying notifications from OBS on your desktop.
License: MIT License
Simple program for displaying notifications from OBS on your desktop.
License: MIT License
It is visible on my main screen ("\\.\DISPLAY1")...
...but not on the second ("\\.\DISPLAY2").
I even tried changing settings around (safe display off, positional offset etc), reset settings and made sure it still worked with screen 1 again. Not sure if my Windows is broken or something.
The second monitor being an odd ratio (16:10) or being set to vertical wouldn't break the notification visuals, right?
I tested with actual notifications too (switching scenes manually) and not just the preview, but no luck.
Hey there. Really loving this plugin you made. It's great! Totally love with the nvidia theme you got going.
I'm not too code-savvy, otherwise I would've tried implementing this myself.
It would be nice if you could add notifications based on dropped frames, encoder lag, and the similiar errors one might get.
Also; a bit on the side, but, I would love to create custom notifications that could be triggered via GET or similiar. I'm sure if I spend two weeks, I might come up with something. Perhaps you're able to provide a small guideline of how something similiar can be accomplished? The developer intro in readme doesn't get me far :/
Hi, I've just tried this for the first time and it's excellent! Thanks very much :) I'm migrating to linux soon, and I'm going to miss it already.
There is one thing I'd like to do if it's possible, and that's automatically start OBSNotifier with OBS. I don't want to start with windows and run in the background always, because this PC is not always used for gaming/streaming purposes.
Since I'm also running OBS with 'below normal' process priority, I would like to do this for OBSNotifier, too.
I started to write this as a FR but then I decided I was being lazy so I tried to remember some lua I knew once, read a few docs, and wrote this. It's the first lua I've written in about 15 years, and minimum effort, so it's probably horrible and needs fixing in some way, but it does work!
I put the script in the OBSNotifier appdata directory, so that it can be edited without admin, and OBSNotifer in program files, but I figured I should have a facility to choose the path to the .exe, and to opt in/out of low process priority, and also it logs what it's trying to do. This is what it looks like, pretty spartan:
Maybe it'll be useful for you or others, so I'll share it here, note it is unlicensed so do what you like with it:
obs = obslua
function script_description()
return [[Starts OBSNotifier when OBS starts]]
end
function script_defaults(settings)
local OBSNotifierPathDefault = "%PROGRAMFILES%\\OBSNotifier\\OBSNotifier.exe"
obs.obs_data_set_default_bool(settings, "lowprio", true)
obs.obs_data_set_default_string(settings, "path", OBSNotifierPathDefault)
end
function script_properties()
local properties = obs.obs_properties_create()
obs.obs_properties_add_path(properties, "path", "Path to OBSNotifier", obs.OBS_PATH_FILE, "Program (*.exe)", nil)
obs.obs_properties_add_bool(properties, "lowprio", "Run with lower priority")
obs.obs_properties_apply_settings(properties, settings)
return properties
end
function script_update(settings)
path = obs.obs_data_get_string(settings, "path")
path = path:gsub("/", "\\")
lowprio = obs.obs_data_get_bool(settings, "lowprio")
start_OBSNotifier(path, lowprio)
end
function start_OBSNotifier(path, lowprio)
priostring = "/NORMAL"
if (lowprio == true)
then priostring = "/BELOWNORMAL"
end
StartCommand = "start /B " .. priostring .. " \"OBSNotifier\" \"" .. path .. "\""
obs.script_log(obs.LOG_INFO, "Executing command: " .. StartCommand)
output = os.execute(StartCommand)
obs.script_log(obs.LOG_INFO, "Output: " .. output)
end
I checked all notifications that OBS Notifier can provide but i didn't find notifications for screenshots, it's the only notification missing and it would be great to add it
1.2.1
Windows
Running Windows 10, OBS 29.1.3
I have OBS set up to run minimized on boot with Replay buffer enabled and OBSNotifier is starting along with it, but sometimes the notifier settings window pops up and everything (besides the run at windows startup/start with OBS) seems to reset to default. No passwort set, all active active notifications enabled, etc.
Please let me know if there are any more details I can provide to help you out!
N/A
It would be great if we could get a notification that would trigger upon you successfully changing your capture window using the "Capture foreground window with hotkey" feature. A simple "Window changed!" would do, with the optional functionality of giving the name of the process that the capture has swapped to underneath.
No response
Add a new module in which you could choose your own sounds for each event.
Also in the future update, I plan to add the ability to activate several modules at the same time, so the sounds can be combined with other notification modules.
Requested by Flip Size
For each event, you will be able to select the desired audio file.
A list of events and sounds for them will be added to the settings menu.
Hello thank you very much for this plugin, he helped me solve the problem of bad experience when using obs!
However, I found a situation that OBSNotifier can't show the notification floating window when the game software such as "it take two" is in full screen.
And in the case of borderless windowing and so on are normal, can you add a pop-up window alert function for full-screen mode?
您好非常感谢您的这个插件,他帮助我解决了使用obs时候体验不好的问题!
但是我发现一个情况,在《it take two》等游戏软件全屏状态的时候OBSNotifier无法显示通知浮窗的提示。
而在无边框窗口化等情况都是正常的,请问能增加全屏模式的弹窗提示功能吗?
No response
Hello, I was wondering if it would be possible to add a persistent recording notification similar to how NVIDIA shows when you're recording and/or have replay enabled. Possibly a lower profile version as well as well like having a few pixels in the corner showing a small red square.
I also wanted to say thank you very much for this plugin, it's way better than any other OBS notification system that I've seen!
No response
1.3.2
Windows
Hello,
I just installed OBS studio and connected it to OBS notifier today. I did not install OBS websocket as it seemed to successfully link and have the options available in OBS studio per your instructions without having to.
My issue is that I just do not receive any notifications when I begin to start or end recording which was my only requirement. I dont think I missed anything during installation and not sure what could be the issue.
Install OBS studio
Install OBS Notifier
Follow steps to connect websocket server settings (enable websocket), copy password and paste into OBS Notifier
Connect via OBS notifier
Shows up in OBS Studio that the connection is successful also. Messages (in/out) show up each time I attempt an action that message in remains consistent as 1, and out shows a increment of 1.
Notifier Settings:
Module Nvidia-Like options
Display1
Run at Startup
Close this program when exiting OBS
Style Options, Top Right
Select notifications -> Start Recording, Stop recording
Everything else left as is
I did try to change the fix config but that didn't help. Noticed in the additional field, it says IconPath = INVALID_PATH , not sure if that has anything to do with notifications.
First of all, this thing is great! It's pretty much exactly what I've been looking for.
As currently implemented, the program will close the running window if the window is open and taskkill /pid [notifier-pid]
is run. However, it will keep running in the tray. If only the tray is running, it won't do anything with the signal at all.
I imagine this might be intentional. My use case is that I would like to control the termination of both OBS and the Notifier from a script. I can force-kill the processes, but I want to avoid that for two reasons: 1) I want both programs to do any cleanup they need to do, and 2) when they are forced to close, their icons remain in the system tray until mouseover. Of course the second one is not a big deal, but I don't want to open my system tray to find a bunch of dead icons there that have to be moused-over to get rid of them.
Also, not sure if this is relevant, but OBS will gracefully close with taskkill
, even when it's running in the tray, as long as no recordings are enabled (if they are, it will prompt).
No response
While installing the program i was not able to find obs-websocket.dll the custom_libs folder mentioned in the last part of install documentation does not say where it is located.
I wanted to allow infinite blocks, so I tried 0, which gave me 0, and then I tried -1, which made it crash.
No big deal but probably worth mentioning to you :)
Can you provide a prompt in Simplified Chinese? If possible, I would greatly appreciate it
You can also use machine translation, which will be very simple
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.