Just installed Channels DVR on my NAS and it’s pretty awesome, love how simple it makes everything on the Apple TV.
One small gripe however is the default behaviour of channels choosing its own mDNS hostname by prefixing the standard hostname with “dvr-”.
Is there any way of changing the hostname Channels DVR uses? I’ve looked through various configuration files and inside settings.db but can’t find a reference to the hostname, suggesting this naming is hardcoded. Tried guessing some HTTP endpoints too (e.g. /bonjour/hostname) as I’d seen examples of changing the network interface like this, but nothing seems to work.
Is this possible, and if not, can it be implemented?
Some background, in case you’re wondering why I want to change the hostname:
In my case I’m running NAS4Free, which is very similar to FreeNAS (used to be FreeNAS!), but as it doesn’t understand FreeNAS plugin files I had to manually install the DVR software using the Linux/FreeBSD instructions. NAS4Free likes to run in “embedded” mode where it reloads the whole OS volume from an image on a USB drive on boot, so you’re advised to create jails to run various other services inside, which are like mini FreeBSD installations in their own right that are persistent after reboots (stored with all the user content/data on disk) and have their own hostname.
Installing the DVR to a jail worked great using the instructions for FreeBSD, but the automatic hostname choice is a little annoying. Jails shouldn’t use the same hostname as the machine they’re running on to avoid conflicts, so I used the hostname nas-dvr.local for the jail, appending “-dvr” to the machine’s hostname (nas.local). Obviously when Channels DVR starts it then prefixes this with “dvr-”, meaning the advertised hostname for Channels is dvr-nas-dvr.local, which is silly. I’d like this to be either dvr-nas.local or ideally nas-dvr.local, i.e. stop Channels adding the hostname prefix, but as I can’t use nas.local for the jail’s hostname, this isn’t possible.
Clearly this isn’t a huge problem but it would be nice to have control over the hostname, just so it makes more sense in cases like mine.
