<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
<meta name="GENERATOR" content="MSHTML 8.00.7601.17824">
</head>
<body ocsi="x">
<div dir="ltr"><font color="#000000" size="2" face="Tahoma">based on reading lots of posts, I thought I would summarize for any others interested:</font></div>
<div dir="ltr"><font size="2" face="tahoma">1. The wiki is wrong - the default port in use my mythmessage is 6948 (not 6549)</font></div>
<div dir="ltr"><font size="2" face="tahoma">2. The wiki is wrong - mythmessage won't listen to broadcasts, only packets directed just to that IP</font></div>
<div dir="ltr"><font size="2" face="tahoma">3. The wiki is incomplete - the timeout for messages ONLY applies while playback is in progress.&nbsp; Otherwise, timeout is ignored and an OK button appears and the message stays on screen, and queue up.</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="tahoma">And of interest...messages queue up on screen!&nbsp; So if you plan to use mythmessage interface to show CID info, you may find 100 dialog boxes queued up all waiting for an OK click...when you return to the frontend</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="tahoma">yuk....</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="tahoma">hopefully future versions will allot the timeouw to work even if a menu is onscreen!</font></div>
<div dir="ltr">&nbsp;</div>
<div style="DIRECTION: ltr" id="divRpF297961">
<hr tabindex="-1">
<font size="2" face="Tahoma"><b>From:</b> mythtv-users-bounces@mythtv.org [mythtv-users-bounces@mythtv.org] On Behalf Of Michelle Dupuis [mdupuis@ocg.ca]<br>
<b>Sent:</b> Sunday, June 24, 2012 6:55 PM<br>
<b>To:</b> Myth TV Users List<br>
<b>Subject:</b> Re: [mythtv-users] MythUtil - can't show a message on frontend<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr"><font color="#000000" size="2" face="Tahoma">I actually got it working in mythutil by specifying a single IP as the broadcast (strange):</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font>&nbsp;</div>
<div dir="ltr">mythutil --message --message_text &quot;Hi There&quot; --timeout&nbsp; 5 -v --bcastaddr 172.31.254.58</div>
<div dir="ltr"><font face="times new roman"></font>&nbsp;</div>
<div dir="ltr"><font face="times new roman">but I really want it to work using netcat so I don't have to compile mythutil on other systems which send the message.&nbsp; Any advice on how to make netcat work with this?</font></div>
<div dir="ltr"><font face="times new roman"></font>&nbsp;</div>
<div dir="ltr"><font face="times new roman">Oh...and the 5 second timeout has no effect...I still have to click OK each time onscreen.&nbsp; Hopefully there is a workaround for that too...</font></div>
<div style="DIRECTION: ltr" id="divRpF487632">
<hr tabindex="-1">
<font size="2" face="Tahoma"><b>From:</b> mythtv-users-bounces@mythtv.org [mythtv-users-bounces@mythtv.org] On Behalf Of Michelle Dupuis [mdupuis@ocg.ca]<br>
<b>Sent:</b> Sunday, June 24, 2012 6:47 PM<br>
<b>To:</b> Myth TV Users List<br>
<b>Subject:</b> [mythtv-users] MythUtil - can't show a message on frontend<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr"><font color="#000000" size="2" face="Tahoma">I am trying to show a message onscreen on my .25 frontend.&nbsp; I have tried using mythutil and netcat, but neither works.&nbsp; The syntax (and output) is below of both methods.&nbsp; Can anyone tell me what I'm
 missing?</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="tahoma">Thanks!</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="tahoma"></font>&nbsp;</div>
<div dir="ltr">nc -v -u -w 0 172.31.254.58 6548 &lt; /tmp/testmess</div>
<div dir="ltr"><font size="2" face="tahoma"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="tahoma">or</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font>&nbsp;</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">[mythtv@mythlivingroom ~]$ mythutil --message --message_text &quot;Hi There&quot; --timeout 5<br>
2012-06-24 18:41:02.969127 C&nbsp; mythutil version:&nbsp; [v0.25] <a href="http://www.mythtv.org" target="_blank">
www.mythtv.org</a><br>
2012-06-24 18:41:02.969160 N&nbsp; Enabled verbose msgs:&nbsp; general<br>
2012-06-24 18:41:02.969209 N&nbsp; Setting Log Level to LOG_INFO<br>
2012-06-24 18:41:02.969391 I&nbsp; Added logging to the console<br>
2012-06-24 18:41:02.969415 I&nbsp; Added database logging to table logging<br>
2012-06-24 18:41:02.969600 N&nbsp; Setting up SIGHUP handler<br>
2012-06-24 18:41:02.970067 N&nbsp; Using runtime prefix = /usr<br>
2012-06-24 18:41:02.970128 N&nbsp; Using configuration directory = /home/mythtv/.mythtv<br>
2012-06-24 18:41:02.970560 I&nbsp; Assumed character encoding: en_US.UTF-8<br>
2012-06-24 18:41:02.971698 N&nbsp; Empty LocalHostName.<br>
2012-06-24 18:41:02.971725 I&nbsp; Using localhost value of mythlivingroom.ocg.ca<br>
2012-06-24 18:41:02.972185 I&nbsp; Testing network connectivity to '172.31.254.84'<br>
2012-06-24 18:41:02.975012 I&nbsp; Starting process manager<br>
2012-06-24 18:41:02.975350 I&nbsp; Starting process signal handler<br>
2012-06-24 18:41:02.981979 I&nbsp; Starting IO manager (read)<br>
2012-06-24 18:41:02.982316 I&nbsp; Starting IO manager (write)<br>
2012-06-24 18:41:03.161003 N&nbsp; Setting QT default locale to en_CA<br>
2012-06-24 18:41:03.161025 I&nbsp; Current locale en_CA<br>
2012-06-24 18:41:03.161169 N&nbsp; Reading locale defaults from /usr/share/mythtv//locales/en_ca.xml<br>
name: message_text -- value: Hi There<br>
name: timeout -- value: 5<br>
output:<br>
&lt;mythmessage version=&quot;1&quot;&gt;<br>
&nbsp; &lt;text&gt;Hi There&lt;/text&gt;<br>
&nbsp; &lt;timeout&gt;5&lt;/timeout&gt;<br>
&lt;/mythmessage&gt;<br>
Sent UDP/XML packet to IP 255.255.255.255 and port: 6948</div>
</div>
</div>
</body>
</html>