Skip to content

Improvement to update functionality#1052

Merged
paulpv merged 4 commits into
masterfrom
update_tweaks
Jul 29, 2024
Merged

Improvement to update functionality#1052
paulpv merged 4 commits into
masterfrom
update_tweaks

Conversation

@paulpv

@paulpv paulpv commented Jul 27, 2024

Copy link
Copy Markdown
Member

Currently just:
update: send autoCheck and userSolicited params to update server

Working on adding minimum auto check interval of 24 hours..

@paulpv
paulpv marked this pull request as draft July 28, 2024 08:31
paulpv added 3 commits July 29, 2024 01:29
Add `LastUpdateCheck` & `MinAutoUpdateCheckIntervalSeconds` logic.
Add `--obs-ndi-update-last-check-ignore` command-line arg.

Not so little changes to:
1. User-Agent change to add
  1. OBS Version
  2. NDI Version
  3. OS Version
  4. CPU Arch
2. remove `GET` option (used only for dev mode)
3. always use `POST` option
4. post body `{config:{autoCheck:bool},request:{autoCheck:bool}}`
@paulpv
paulpv marked this pull request as ready for review July 29, 2024 18:48
@paulpv paulpv self-assigned this Jul 29, 2024
@paulpv
paulpv merged commit 3bc5e67 into master Jul 29, 2024
@paulpv
paulpv deleted the update_tweaks branch July 29, 2024 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant