mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2025-06-07 20:20:32 +01:00
virtualcam - print output_active status on toggle
patch bump
This commit is contained in:
parent
1c86b1f6ef
commit
eb686ae58e
@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2025-present onyx-and-iris <code@onyxandiris.online>
|
# SPDX-FileCopyrightText: 2025-present onyx-and-iris <code@onyxandiris.online>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
__version__ = "0.12.8"
|
__version__ = "0.12.9"
|
||||||
|
@ -32,8 +32,11 @@ def stop(ctx: typer.Context):
|
|||||||
@app.command('toggle | tg')
|
@app.command('toggle | tg')
|
||||||
def toggle(ctx: typer.Context):
|
def toggle(ctx: typer.Context):
|
||||||
"""Toggle the virtual camera."""
|
"""Toggle the virtual camera."""
|
||||||
ctx.obj.toggle_virtual_cam()
|
resp = ctx.obj.toggle_virtual_cam()
|
||||||
out_console.print('Virtual camera toggled.')
|
if resp.output_active:
|
||||||
|
out_console.print('Virtual camera is enabled.')
|
||||||
|
else:
|
||||||
|
out_console.print('Virtual camera is disabled.')
|
||||||
|
|
||||||
|
|
||||||
@app.command('status | ss')
|
@app.command('status | ss')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user