On Sun, Jan 11, 2009 at 3:14 AM, Mike Perkins <span dir="ltr">&lt;<a href="mailto:mikep@randomtraveller.org.uk">mikep@randomtraveller.org.uk</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">Michael T. Dean wrote:<br>
&gt; On 01/10/2009 07:56 AM, Bill Williamson wrote:<br>
&gt;&gt; I have a mythbox hooked up to a projector and an SDTV. &nbsp;I use it for<br>
&gt;&gt; one OR the other each time. &nbsp;The settings for each setup are wildly<br>
&gt;&gt; different. &nbsp;I&#39;ve separated them thus far by using a custom identifier<br>
&gt;&gt; (theater-TV and theater-PROJ) to keep settings apart (lots of myth<br>
&gt;&gt; settings differ to get best picture).<br>
&gt;&gt;<br>
&gt;&gt; Right now I have<br>
&gt;&gt; -a mysql.txt for each one in ~/.mythtv that is identical apart from<br>
&gt;&gt; the custom identifier line<br>
&gt;&gt; -a shell script to start each &quot;mode&quot; (cp ~/.mythtv/mysql.txt.proj<br>
&gt;&gt; ~/.mythtv/mysql.txt; mythfrontend)<br>
&gt;&gt;<br>
&gt;&gt; Is there a way to pass which identifier to use into mythfrontend? &nbsp;It<br>
&gt;&gt; seems like it&#39;d be a much better way of doing so. &nbsp;The man page<br>
&gt;&gt; mentions overriding specific settings with a flag, but I couldn&#39;t get<br>
&gt;&gt; it to work fro the master identifier (only for other specific settings).<br>
&gt;<br>
&gt; The -O override-setting option is really meant for changing one or two<br>
&gt; settings on one-shot runs. &nbsp;It only works for settings in the settings<br>
&gt; table. &nbsp;The custom identifier, however, is used as the &quot;hostname&quot; for<br>
&gt; all settings pulled from the settings table. &nbsp;Therefore, I don&#39;t think<br>
&gt; it&#39;s possible to change the custom identifier at the command line.<br>
&gt;<br>
&gt; The closest thing would be changing the location of the configuration<br>
&gt; directory (using a not-highly-publicized environment variable), but that<br>
&gt; would mean maintaining two otherwise-identical copies of what&#39;s<br>
&gt; currently in ~/.mythtv. &nbsp;(And, yes, while you could use links for the<br>
&gt; equivalent content, when doing so it&#39;s likely that over time something<br>
&gt; would get changed in one and not the other, and it would require careful<br>
&gt; creation of all the directories that Myth would normally create over<br>
&gt; time under the configuration directory so you&#39;d have the proper links in<br>
&gt; place.)<br>
&gt;<br>
&gt; Therefore, I&#39;d say that the approach you&#39;re using is the best one (at<br>
&gt; least for now).<br>
&gt;<br>
</div></div>Why don&#39;t you run the two configurations under two different users? That would<br>
provide a straightforward way of separating the two sets of ~/.mythtv files.<br>
</blockquote><div><br>I considered this but the box is used for other things apart from myth.&nbsp;&nbsp; Thanks for the suggestion though!<br></div></div><br>