diff --git a/README.md b/README.md index 3e077a2..7fbbf88 100644 --- a/README.md +++ b/README.md @@ -50,9 +50,9 @@ Store and load environment variables from: - `user home directory / .config / obsws-cli / obsws.env` ```env -OBSWS_HOST=localhost -OBSWS_PORT=4455 -OBSWS_PASSWORD= +OBS_HOST=localhost +OBS_PORT=4455 +OBS_PASSWORD= ``` Flags can be used to override environment variables. diff --git a/obsws_cli/app.py b/obsws_cli/app.py index 077d81c..405d833 100644 --- a/obsws_cli/app.py +++ b/obsws_cli/app.py @@ -17,6 +17,7 @@ from . import ( scene, scenecollection, sceneitem, + stream, studiomode, virtualcam, ) @@ -32,7 +33,7 @@ class Settings(BaseSettings): Path.home() / '.config' / 'obsws-cli' / 'obsws.env', ), env_file_encoding='utf-8', - env_prefix='OBSWS_', + env_prefix='OBS_', ) HOST: str = 'localhost' @@ -51,6 +52,7 @@ for module in ( scene, scenecollection, sceneitem, + stream, studiomode, virtualcam, ):