Compare commits

..

9 Commits

Author SHA1 Message Date
88d41fd700 add aliases for media subcommands 2026-01-09 19:58:43 +00:00
eab9303af7 fix media cursor in README 2026-01-09 19:34:45 +00:00
031d03a625 add 0.17.0 to CHANGELOG 2026-01-09 19:23:13 +00:00
f84e126381 rename media-input to media
replace set-cursor with cursor which can now get/set cursor position
2026-01-09 19:23:13 +00:00
cb4898f2d4 add MediaInputCmd to README 2026-01-09 19:23:13 +00:00
a652b44992 parse timeStr function now returns milliseconds. 2026-01-09 19:23:13 +00:00
f6fbf3c81f implement mediainput command group
note, set-cursor not currently working, possible bug in goobs
2026-01-09 19:21:56 +00:00
f84908f668 remove --show flag from settings video
update README
2026-01-09 12:42:14 +00:00
3ffdf668ff make Type arg optional, if not passed print current stream service settings.
this is a bugfix.
2026-01-09 11:54:55 +00:00
2 changed files with 6 additions and 6 deletions

View File

@@ -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*

View File

@@ -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.