Compare commits

..

7 Commits

Author SHA1 Message Date
ccf863c29a add 0.17.0 to CHANGELOG 2026-01-09 19:20:06 +00:00
fe8ac320ed rename media-input to media
replace set-cursor with cursor which can now get/set cursor position
2026-01-09 19:18:24 +00:00
7adf807d46 add MediaInputCmd to README 2026-01-09 19:05:12 +00:00
dca8bc5ffc parse timeStr function now returns milliseconds. 2026-01-09 19:04:59 +00:00
b0437b1656 remove --show flag from settings video
update README
2026-01-09 12:43:58 +00:00
30f40aee2e make Type arg optional, if not passed print current stream service settings.
this is a bugfix.
2026-01-09 12:11:09 +00:00
6eb8a5ffed implement mediainput command group
note, set-cursor not currently working, possible bug in goobs
2026-01-08 20:38:36 +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
- cursor: Get/set the cursor position of a media input.
- set-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." 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"`
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."`
}
// MediaCursorCmd represents the command to get or set the cursor position of a media input.