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

fix: port from identity file #44

Merged
merged 1 commit into from
Dec 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion hivemind_voice_satellite/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@click.option("--host", help="hivemind host", type=str, default="")
@click.option("--key", help="Access Key", type=str, default="")
@click.option("--password", help="Password for key derivation", type=str, default="")
@click.option("--port", help="HiveMind port number", type=int, default=5678)
@click.option("--port", help="HiveMind port number", type=int, required=False)
@click.option("--selfsigned", help="accept self signed certificates", is_flag=True)
@click.option("--siteid", help="location identifier for message.context", type=str, default="")
def connect(host, key, password, port, selfsigned, siteid):
Expand All @@ -26,6 +26,7 @@ def connect(host, key, password, port, selfsigned, siteid):
key = key or identity.access_key
siteid = siteid or identity.site_id or "unknown"
host = host or identity.default_master
port = port or identity.default_port or 5678

if not password:
LOG.info("starting hivemind-ggwave, waiting for audio password")
Expand Down
Loading