[mythtv] SoC 2006: Configuration Revamp Information

Nigel Pearson nigel at ind.tansu.com.au
Wed Jun 21 03:01:38 UTC 2006


> i know you won't do this
> but i have always wanted the settings located close to the point where
> they are used.

	You can do this easily now by just customising your menus.
Only really makes sense if you are using Classic menu, though.
I had something like this a year or two ago:

% svn diff mythtv/themes
Index: mythtv/themes/classic/tvmenu.xml
===================================================================
--- mythtv/themes/classic/tvmenu.xml    (revision 10231)
+++ mythtv/themes/classic/tvmenu.xml    (working copy)
@@ -139,4 +139,22 @@
        <action>TV_STATUS</action>
     </button>

+   <button>
+     <type>SETTINGS_TV</type>
+     <text>TV Settings</text>
+     <text lang="CA">Configuració de TV</text>
+     <text lang="ES">Configuración de TV</text>
+     <text lang="FR">TV</text>
+     <text lang="DE">TV</text>
+     <text lang="DK">TV indstillinger</text>
+     <text lang="NL">TV Instellingen</text>
+     <text lang="PT">Configurar Televisão</text>
+     <text lang="SV">TV</text>
+     <text lang="JA">TV設定</text>
+     <text lang="SI">TV nastavitve</text>
+     <text lang="ET">TV seaded</text>
+     <text lang="PL">Konfiguracja TV</text>
+     <action>MENU tv_settings.xml</action>
+   </button>
+
  </mythmenu>

% svn diff mythplugins/mythdvd/mythdvd/dvdmenu.xml 
mythplugins/mythmusic/mythmusic/musicmenu.xml 
mythplugins/mythvideo/mythvideo/videomenu.xml
Index: mythplugins/mythdvd/mythdvd/dvdmenu.xml
===================================================================
--- mythplugins/mythdvd/mythdvd/dvdmenu.xml     (revision 9878)
+++ mythplugins/mythdvd/mythdvd/dvdmenu.xml     (working copy)
@@ -54,4 +54,22 @@
        <action>EJECT</action>
     </button>

+   <button>
+     <type>SETTINGS_DVD</type>
+     <text>DVD Settings</text>
+     <text lang="DE">DVD</text>
+     <text lang="FR">DVD</text>
+     <text lang="PT">Configurar DVD</text>
+     <text lang="ES">Configurar DVD</text>
+     <text lang="CA">Configurar DVD</text>
+     <text lang="NL">DVD Instellingen</text>
+     <text lang="SV">DVD</text>
+     <text lang="JA">DVD設定</text>
+     <text lang="SI">DVD nastavitve</text>
+     <text lang="ET">DVD seaded</text>
+     <text lang="DK">DVD Indstillinger</text>
+     <text lang="PL">Konfiguracja DVD</text>
+     <action>MENU dvd_settings.xml</action>
+   </button>
+
  </mythmenu>
Index: mythplugins/mythmusic/mythmusic/musicmenu.xml
===================================================================
--- mythplugins/mythmusic/mythmusic/musicmenu.xml       (revision 9795)
+++ mythplugins/mythmusic/mythmusic/musicmenu.xml       (working copy)
@@ -72,4 +72,22 @@
        <action>SETTINGS_SCAN</action>
     </button>

+   <button>
+     <type>SETTINGS_MUSIC</type>
+     <text>Music Settings</text>
+     <text lang="FR">Musique</text>
+     <text lang="ES">Configurar Música</text>
+     <text lang="CA">Configurar Música</text>
+     <text lang="DE">Musik</text>
+     <text lang="DK">Musik Indstillinger</text>
+     <text lang="NL">Muziek Instellingen</text>
+     <text lang="PT">Configurar Música</text>
+     <text lang="SV">Musik</text>
+     <text lang="JA">ミュージック設定</text>
+     <text lang="SI">Glasbene nastavitve</text>
+     <text lang="ET">Muusika seaded</text>
+     <text lang="PL">Konfiguracja Muzyki</text>
+     <action>MENU music_settings.xml</action>
+   </button>
+
  </mythmenu>

Index: mythplugins/mythvideo/mythvideo/videomenu.xml
===================================================================
--- mythplugins/mythvideo/mythvideo/videomenu.xml       (revision 9795)
+++ mythplugins/mythvideo/mythvideo/videomenu.xml       (working copy)
@@ -65,5 +65,24 @@
       <action>MANAGER</action>
     </button>

+
+   <button>
+       <type>SETTINGS_VIDEO</type>
+       <text>Videos Settings</text>
+       <text lang="ES">Configurar Videos</text>
+       <text lang="FR">Vidéos</text>
+       <text lang="CA">Configurar Videos</text>
+       <text lang="DE">Videos</text>
+       <text lang="DK">Video Indstillinger</text>
+       <text lang="NL">Films Instellingen</text>
+       <text lang="PT">Configurar Filmes</text>
+       <text lang="SV">Video</text>
+       <text lang="JA">ビデオ設定</text>
+       <text lang="SI">Video nastavitve</text>
+       <text lang="ET">Video seaded</text>
+       <text lang="PL">Konfiguracja Film?w</text>
+       <action>MENU video_settings.xml</action>
+   </button>
+
  </mythmenu>

%

--
Nigel Pearson, nigel at ind.tansu.com.au| "Peacemaking is our profession"
Telstra Net. Eng., Sydney, Australia |Motto of Burpelson Airforce Base
Office: 9202 3900    Fax:  9261 3912 |Commanded by Gen. Jack D. Ripper
Mobile: 0408 664435  Home: 9792 6998 |        Dr Strangelove



More information about the mythtv-dev mailing list