-
Notifications
You must be signed in to change notification settings - Fork 43
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
DNM/WIP dont try to listen on the advertise address #98
Conversation
* sometimes docker might not be in use, but you still want to tell clients a different IP than you bind to
This reverts commit 83a7801.
* this doesnt work on k8s * its a container, always listen on 0.0.0.0
so the first push didnt actually work , i made a cheap workaround to get service back, but i doubt its how you want it in the end. the is_docker check does not work on k8s, and docker may not be the container runtime in use anyways. i think the preferred solution will probably be to introduce a new parameter for listen_address, but i also dont understand the use case where a user would not desire 0.0.0.0 |
#92 has some stuff built in to address this |
Hello dcd. I think I'll incorporate this manually as I'm working on some other issues. One thought I wanted to run by you -- What would you think of the following logic:
I want to change |
For fHDHR, I use It will try to use If the config defaults to 0.0.0.0 for #101 goes hand in hand with this. If 0.0.0.0, the lineup won't work well. Gathering the Honestly, for fHDHR, runnng locally, I purposely don't use ssdp. It only 'helps' with auto discovery in Plex. It's easy enough to manually insert the ip:port and not run an extra thread. |
Right. So maybe it should be more like this:
I'll try to see if I can change it in 2.x, as this changes some config names and meanings |
I don't think you need 2 port settings |
@tgorgdotcom this is here for your consideration, i am not really a python guy and haven't put a ton of thought into this yet. however, the current is_docker function is also breaking for k8s (even when actually using docker), and there is no guarantee that docker will be the CRI.