mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2025-06-07 20:20:32 +01:00
load stream subtyper
upd env var prefix
This commit is contained in:
parent
63f2ab9d01
commit
5ca61d04c7
@ -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=<websocket password>
|
||||
OBS_HOST=localhost
|
||||
OBS_PORT=4455
|
||||
OBS_PASSWORD=<websocket password>
|
||||
```
|
||||
|
||||
Flags can be used to override environment variables.
|
||||
|
@ -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,
|
||||
):
|
||||
|
Loading…
x
Reference in New Issue
Block a user