Opened 5 years ago

Closed 5 years ago

#12084 closed Patch - Feature (Won't Fix)

Allow BackendServerIP to be specified as hostname

Reported by: oncaphillis@… Owned by:
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.27-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

My server hosting the video collection is configured via DHCP and changes its IP from time to time. Hosts that like to access the video collection fail to do so since the host IP is expected to be stored in the "BackendServerIP" in the settings table as a numeric IP.

The attached patch solves the issue for me and allows for the "BackEndServerIP" to be specified as a DNS name.

Attachments (1)

backendserver_hostname.patch (1.1 KB) - added by oncaphillis@… 5 years ago.
Let MythCoreContext::GetBackendServerIP do gethostname

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by oncaphillis@…

Let MythCoreContext::GetBackendServerIP do gethostname

comment:1 Changed 5 years ago by Raymond Wagner

Resolution: Won't Fix
Status: newclosed

There's a whole lot more that has to change to make this actually work. There's a lot of code in the backend that assumes that setting will be an IP address.

Note: See TracTickets for help on using tickets.