Comments (3)
I don't even have any idea what could be the reason to reset 🤷♂️. Try to read log.txt
(%appdata%\OBSNotifier
) immediately after the reset. Maybe some kind of exception will be mentioned there.
By itself, loading the settings is just reading a json file. Either the file is simply not being created for you, or something is deleting it, or the file is locked.
Although maybe I missed the formatting based on the region of the system somewhere and the wrong comma is written somewhere. You can also send a settings file (it stores the password, so you can delete it first).
from obsnotifier.
It just happened again, I had to kill OBSNotifier otherwise I couldn't open the .log
log.txt
Checking the settings.json (here attached as a .txt so Github lets me upload it), it seems just be reset to default. settings - Copy.json.txt
My uneducated guess is as follows; OBSNotifier sometimes, somehow starts the connection process before OBS is ready, can't establish a connection and during that process overwrites the settings file. I checked my startup programs to make sure I didnt add OBSN by mistake but it's only starting via the obs script. It might be noteworthy that I don't have a password set to connect OBSN to OBS with, I previously used it with a password but it apparently works without one as well so I didn't question it any further.
For now I'd probably just set the settings.json to read only and hope it helps, I dont know enough about programming or recreating the bug more frequently to see if a delay in the obs_notifier_autostart.lua could fix the issue.
from obsnotifier.
OBSNotifier sometimes, somehow starts the connection process before OBS is ready
The connection can occur only after authorization on the OBS webscoket server (key and password exchange).
For now I'd probably just set the settings.json to read only and hope it helps
most likely, this will lead to the fact that with such a "broken startup", the settings will be reset and they will return at the next startup.
It seems that I also had strange freezes and resets (I'm not sure about the reasons for the reset), but this usually happened when the websocket broke after several restarts due to a port change and debugging breakpoints after port change. The port remained blocked until the OS was rebooted.
And also obs-websocket-dotnet
by BarRaider sometimes works strangely. I am especially "pleased" with the inconvenient connection and the output of 300 errors (literally) when disconnecting due to changing the password of the server.
I've run OBS 20 times and no problems. I tried to close it normally, killed it and OBSN separately, killed them at the same time. But no problem.
I had another guess. Perhaps you somehow save the settings before turning off the PC, but this saving does not have time to complete. When saving, the settings file is usually cleared, the file buffer is filled, and then this buffer is written to disk. Probably the file does not have time to be written (however, there are only a few KB).
Can you check for the contents of the file after your usual shutdown of the PC with the enabled OBSN before the reset occurs?
from obsnotifier.
Related Issues (16)
- [Feature request] Screenshot notifications HOT 4
- Notifications & preview does not show up on second monitor HOT 5
- Crash when setting blocks to negative number HOT 1
- [Feature Request] / [Script] Autostart with OBS HOT 10
- Feature request: Error events HOT 3
- [Feature Request]: Handle graceful termination signal HOT 3
- In install documentation state where can you find custom_libs folder HOT 1
- [Feature Request]: Notifications in or over fullscreen apps HOT 13
- Need another language HOT 16
- [Bug]: Skipping update version option doesn't work HOT 1
- [Feature Request]: Persistent recording notification HOT 5
- [Feature Request]: Add audio notifications HOT 1
- [Bug]: No notifications although showing connected HOT 6
- [Feature Request]: New window capture notification HOT 2
- Not a bug, but a question HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsnotifier.