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 setting media endpoint #298

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ilmari
Copy link

@ilmari ilmari commented Oct 20, 2024

The attribute was renamed from endpoint to media_endpoint in #290, but the control room mediaurl handler missed the memo.

The attribute was renamed from `endpoint` to `media_endpoint` in hifi#290,
but the control room `mediaurl` handler missed the memo.
@@ -570,19 +570,19 @@ async def cmd_media_url(self, args):
if args.remove:
self.serv.config["media_url"] = None
await self.serv.save()
self.serv.endpoint = await self.serv.detect_public_endpoint()
self.serv.media_endpoint = await self.serv.detect_public_endpoint()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably reset it to the one set in the registration (or None if that's not set either)

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.

2 participants