-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Refactor URI overrides #10051
Refactor URI overrides #10051
Conversation
7ca6845
to
01dcf34
Compare
Is there a good way to generate a docker image from this PR for testing? I don't have a build env setup to build Jellyfin, and we need to test it with Docker anyways... |
01dcf34
to
7bcf4b6
Compare
I don't think so. But you can test it without docker too (I'll do it myself if I find the time...) |
These instructions served me well in the past to test without standing up the whole jf toolchain: |
10dc57b
to
5409626
Compare
5409626
to
9a7a9f0
Compare
This PR fixes #10005 for me. |
Failing test on windows
|
Failing tests are caused by a DNS resolution error when resolving |
We shouldn't have non-integration test making external calls |
The difference between this PR and earlier is that we're now explicitly calling |
The refactor is working fine for me. |
@Shadowghost Any luck on getting this merged? |
I still want to fix a bug concerning multicast/broadcast binding on Windows. But it is a bit annoying to debug and I don't have that much time right now... |
@Shadowghost Any chance of leaving that Windows issue to a later PR, since this already fixes two issues? (I'm currently building your branch rebased against master, but I would love to not have to do that.) |
Thanks for rebasing! I don't know what happened on my end, but the rebased version of course works well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works for me on macOS
Refactor how URI overrides are loaded and created. It should now respect
JELLYFIN_PublishedServerUrl
again.The override set via
JELLYFIN_PublishedServerUrl
supercedes any other override set via the UI or config file (and overrides them).Changes
GetAllBindInterfaces
-> fixes Kestrel binding on startupJELLYFIN_PublishedServerUrl
PublishedServerUriOverride
0.0.0.0
and::0
are input without subnet maskIssues