I can't think of a practical solution because the humaxtv binary resides in the read-only root filesystem. Modifying it requires reflashing and can't be done at boot time because the hard disk isn't available until the humax software has run.
App for changing the Humax DLNA Server Name
Whilst personally happy with the Wiki method (
http://wiki.hummy.tv/wiki/Change_Media_Server_Name) of changing the DLNA Media Server name, I noted other’s may be less enthusiastic. Which set me to thinking and using up some of the time I don’t have...
There seem to be a number of solutions to making this “user friendly” (that is, implemented in a manner allowing the name to be changed in a simple way, for example though the Webif without any need to flash firmware). Several types of “simpler looking” methods (but with snags) have been left on the backburner in favour of something a bit more
mysterious (it isn’t really!).
This more esoteric method is installed and running on my “backup” HDR FOX T2 and so far seems to be working fine (I can still watch TV on it and it still records and so on). Currently I am looking for any “gotchas” or issues and working on some improvements needed to turn it into a final product. So it is still experimental.
All the methods I thought up involved modifying part of /etc/init.d/S90settop to read:
if [ -x $MODBOOT/xhumaxtv ]; then
$MODBOOT/xhumaxtv /usr/bin/humaxtv
else
/usr/bin/humaxtv
fi
Messing with $MODBOOT/settop.env (to include the guts of S90settop and never returning) was rejected as exactly that; messy/problematic/unclear and I don’t like that sort of thing.
xhumaxtv is (for this one) the application that does the magic. Deleting it will restore the original behaviour, as long as you can get on to the system should there be some kind of problem with it. Currently the desired DLNA server name is read from a text file called /var/lib/humaxtv/mod/dlnaservername. The applications name isn’t set in stone; I just stuck an x on the front of humaxtv as a place marker; if someone can think of a posh name? And I haven’t written a Webif settings panel.
I would assume if there anyone is interested in it that I hand it over to af123, when it is release rather than test, for “inclusion” in the custom firmware/packages. Maybe someone can write the panel to change the text file?