Giter VIP home page Giter VIP logo

obsnotifier's People

Contributors

dmitriysalnikov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

qzwl

obsnotifier's Issues

Notifications & preview does not show up on second monitor

It is visible on my main screen ("\\.\DISPLAY1")...
Screenshot 1 (set to display 1)
...but not on the second ("\\.\DISPLAY2").
Screenshot 2 (set to display 2)
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.

Feature request: Error events

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 :/

[Feature Request] / [Script] Autostart with OBS

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:
image

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

[Feature request] Screenshot notifications

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

[Bug]: Application randomly resets after boot.

Commit or version

1.2.1

On which operating systems the error occurs

Windows

Issue description

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!

Steps to reproduce

N/A

[Feature Request]: New window capture notification

Feature description

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.

Implementation Ideas

No response

[Feature Request]: Add audio notifications

Feature description

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

Implementation Ideas

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.

[Feature Request]: Notifications in or over fullscreen apps

Feature description

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无法显示通知浮窗的提示。
而在无边框窗口化等情况都是正常的,请问能增加全屏模式的弹窗提示功能吗?

Implementation Ideas

No response

[Feature Request]: Persistent recording notification

Feature description

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!

Implementation Ideas

No response

[Bug]: No notifications although showing connected

Commit or version

1.3.2

On which operating systems the error occurs

Windows

Issue description

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.

Steps to reproduce

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.

[Feature Request]: Handle graceful termination signal

Feature description

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).

Implementation Ideas

No response

[Bug]: Skipping update version option doesn't work

Commit or version

1.2.1

On which operating systems the error occurs

Windows

Issue description

image

I get asked after every reboot if I want to update, even if I pick the option that lets me skip the version.

Steps to reproduce

Get the update prompt, then select "No" and restart the computer.

Need another language

Feature description

Can you provide a prompt in Simplified Chinese? If possible, I would greatly appreciate it

Implementation Ideas

You can also use machine translation, which will be very simple

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.