[mythtv-users] Copy settings from one hostname to another scripts or new MythWEB features

Karl Hiramoto karl at hiramoto.org
Thu Mar 2 17:09:43 UTC 2006


Wondering if anyone has already done any of these features, It could be
implemented from scripts, or from new mythweb features.  Or if there is another
easy way to accomplish what i want.


I have spent hours configuring the settings, keybindings, jumppoints, playlists
  on one frontend, and want to copy them as defaults for more frontends,  or
reset a frontend on one back to the defaults of my golden frontend.


1.  Be able to copy all the settings, keybindings, jumppoints, playlists  to
another new hostname for a new frontend,  bacicly SELECT * from TABLE where
HOSTNAME="myGoodFrontEnd"  then INSERT INTO TABLE   values  SET
HOSTNAME=NewHostName..

This would have to do error checking if the New host name already existed as to
not have duplicates.  If the new host name aleady existed then delete/ overwrite it.

2.  Be able to change your hostname and not loose settings.   UPDATE TABLE where
HOSTNAME="OldHostname"   set HOSTNAME="NewHostName...  Error checking as #1


3.  Overwrite bad host settings with golden host settings..  SELECT * from TABLE
where HOSTNAME="myGoodFrontEnd"  then UPDATE TABLE SET VALUES  Where
HOSTNAME=BadSettingsHostName


Cheers,

---
Karl Hiramoto <karl at hiramoto.org>  http://karl.hiramoto.org/
------
-
Wedding rings are the world's smallest handcuffs.


More information about the mythtv-users mailing list