craigmox / cetonproxy

An app that allows a Ceton InfiniTV PCI/network tuner to appear as a SiliconDust HDHomeRun to DVR apps like NextPVR, Plex, and Emby.
GNU General Public License v3.0
23 stars 7 forks source link

Re-order opening of HTTP Ports #17

Closed nlhintz closed 3 years ago

nlhintz commented 3 years ago

Open the configured HTTP port first (instead of port 80) and indicate the server is active even if opening of port 80 is not successful. This will allow cetonproxy to be run by a non-root user inside a Wine environment on Linux for use with Emby/Plex. Port 80 is a privileged port on Linux, so not available to a non-root user without jumping through some hoops. An alternative would be to include a configuration parameter (or GUI option) to inhibit attempting to open port 80 for configurations where it is not needed.

craigmox commented 3 years ago

Thank you for the pull request. I will make a change to put the port behind a command-line switch by default. I just tested with NextPVR in my setup, and it doesn't appear to be needed any more.

nlhintz commented 3 years ago

Thank you for the quick response! The changes you made in the latest version are working fine for me. I'm running cetonproxy using Wine running in a docker container on Fedora 32.