mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2024-11-22 04:40:53 +00:00
update README
advises placing config.toml in user home dir
This commit is contained in:
parent
91ba90056c
commit
2de7151739
@ -43,7 +43,7 @@ port = 4455
|
|||||||
password = "mystrongpass"
|
password = "mystrongpass"
|
||||||
```
|
```
|
||||||
|
|
||||||
It should be placed next to your `__main__.py` file.
|
It should be placed in your user home directory.
|
||||||
|
|
||||||
#### Otherwise:
|
#### Otherwise:
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ Registers a list of callback functions to hook into OBS events.
|
|||||||
|
|
||||||
Simply run the code and trigger the events, press `<Enter>` to exit.
|
Simply run the code and trigger the events, press `<Enter>` to exit.
|
||||||
|
|
||||||
This example assumes the existence of a `config.toml`, placed next to `__main__.py`:
|
This example assumes the existence of a `config.toml`, placed in your user home directory:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[connection]
|
[connection]
|
||||||
|
@ -8,7 +8,7 @@ Requires [Python Keyboard library](https://github.com/boppreh/keyboard).
|
|||||||
|
|
||||||
Simply run the code and press the assigned hotkeys. Press `ctrl+enter` to exit.
|
Simply run the code and press the assigned hotkeys. Press `ctrl+enter` to exit.
|
||||||
|
|
||||||
This example assumes the existence of a `config.toml`, placed next to `__main__.py`:
|
This example assumes the existence of a `config.toml`, placed in your user home directory:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[connection]
|
[connection]
|
||||||
|
@ -4,7 +4,7 @@ Prints POSTFADER level values for audio device `Desktop Audio`. If mute toggled
|
|||||||
|
|
||||||
## Use
|
## Use
|
||||||
|
|
||||||
This example assumes the existence of a `config.toml`, placed next to `__main__.py`:
|
This example assumes the existence of a `config.toml`, placed in your user home directory:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[connection]
|
[connection]
|
||||||
|
@ -4,7 +4,7 @@ Collects the names of all available scenes, rotates through them and prints thei
|
|||||||
|
|
||||||
## Use
|
## Use
|
||||||
|
|
||||||
This example assumes the existence of a `config.toml`, placed next to `__main__.py`:
|
This example assumes the existence of a `config.toml`, placed in your user home directory:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[connection]
|
[connection]
|
||||||
|
Loading…
Reference in New Issue
Block a user