mirror of
https://github.com/onyx-and-iris/gobs-cli.git
synced 2026-01-15 10:27:49 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 88d41fd700 | |||
| eab9303af7 |
@ -781,7 +781,7 @@ gobs-cli settings video --base-width=1920 --base-height=1080
|
||||
|
||||
### MediaCmd
|
||||
|
||||
- set-cursor: Get/set the cursor position of a media input.
|
||||
- cursor: Get/set the cursor position of a media input.
|
||||
- args: InputName
|
||||
|
||||
*optional*
|
||||
|
||||
10
media.go
10
media.go
@ -8,11 +8,11 @@ import (
|
||||
|
||||
// MediaCmd represents a collection of commands to control media inputs.
|
||||
type MediaCmd struct {
|
||||
Cursor MediaCursorCmd `cmd:"" help:"Get/set the cursor position of a media input."`
|
||||
Play MediaPlayCmd `cmd:"" help:"Plays a media input."`
|
||||
Pause MediaPauseCmd `cmd:"" help:"Pauses a media input."`
|
||||
Stop MediaStopCmd `cmd:"" help:"Stops a media input."`
|
||||
Restart MediaRestartCmd `cmd:"" help:"Restarts a media input."`
|
||||
Cursor MediaCursorCmd `cmd:"" help:"Get/set the cursor position of a media input." aliases:"c"`
|
||||
Play MediaPlayCmd `cmd:"" help:"Plays a media input." aliases:"p"`
|
||||
Pause MediaPauseCmd `cmd:"" help:"Pauses a media input." aliases:"pa"`
|
||||
Stop MediaStopCmd `cmd:"" help:"Stops a media input." aliases:"s"`
|
||||
Restart MediaRestartCmd `cmd:"" help:"Restarts a media input." aliases:"r"`
|
||||
}
|
||||
|
||||
// MediaCursorCmd represents the command to get or set the cursor position of a media input.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user