Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add quiet mode and plain pos output #3

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

pauln
Copy link
Contributor

@pauln pauln commented Jun 5, 2024

Adds -q for quiet mode (suppresses output on moves) and -p for printing the current position in plaintext (xpos,ypos). These options allow for cleaner usage in onvif-simple-server (or anywhere else that output isn't desired / plain x,y position is needed).

This is based on a suggestion in themactep/thingino-firmware#99 to (add a way to) suppress the output from this tool rather than having to redirect it to /dev/null in all of the move commands in the onvif-simple-server configuration. Just in case anyone is relying on the current output, I chose to add a "quiet mode" flag rather that suppresses the output (rather than changing to require a "verbose mode" flag in order to get the existing output).

Adds -q for quiet mode (suppresses output on moves) and -p for printing the current position in plaintext (xpos,ypos).  These options allow for cleaner usage in onvif-simple-server (or anywhere else that output isn't desired / plain x,y position is needed).
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.

None yet

2 participants