NOALBS / nginx-obs-automatic-low-bitrate-switching

Simple app to automatically switch scenes in OBS based on the current bitrate fetched from the NGINX stats page.
http://noalbs.com
MIT License
339 stars 77 forks source link

Error reading the config folder with files without file extension #118

Closed fbrettnich closed 1 year ago

fbrettnich commented 1 year ago

Hi, I just restarted NOALBS and used the multi-user option with the configuration folder. By doing this, I received the error below. After looking around, I found that the file .DS_Store (on MacOS) is present. I removed this for testing and now it works.

Which means that files without extension trigger an error when checking them:

https://github.com/715209/nginx-obs-automatic-low-bitrate-switching/blob/ba68b5f2fdad77cd621f200327ae6715bb08980a/src/main.rs#L111

image

715209 commented 1 year ago

Hi @fbrettnich ,

Thanks for creating an issue, I'll fix this in the next version. 👍