<p>Nb<br>
On Jun 24, 2012 11:19 PM, "Michelle Dupuis" <<a href="mailto:mdupuis@ocg.ca">mdupuis@ocg.ca</a>> wrote:<br>
><br>
> based on reading lots of posts, I thought I would summarize for any others interested:<br>
> 1. The wiki is wrong - the default port in use my mythmessage is 6948 (not 6549)<br>
> 2. The wiki is wrong - mythmessage won't listen to broadcasts, only packets directed just to that IP<br>
> 3. The wiki is incomplete - the timeout for messages ONLY applies while playback is in progress. Otherwise, timeout is ignored and an OK button appears and the message stays on screen, and queue up.<br>
> <br>
> And of interest...messages queue up on screen! 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<br>
> <br>
> yuk....</p>
<p>I just went through this myself. I tweaked my cid script to query each fe and only send the message if playback was in progress to avoid messages piling up on the other fes.</p>
<p>> <br>
> hopefully future versions will allot the timeouw to work even if a menu is onscreen!<br>
> <br>
> ________________________________<br>
> From: <a href="mailto:mythtv-users-bounces@mythtv.org">mythtv-users-bounces@mythtv.org</a> [<a href="mailto:mythtv-users-bounces@mythtv.org">mythtv-users-bounces@mythtv.org</a>] On Behalf Of Michelle Dupuis [<a href="mailto:mdupuis@ocg.ca">mdupuis@ocg.ca</a>]<br>
> Sent: Sunday, June 24, 2012 6:55 PM<br>
> To: Myth TV Users List<br>
> Subject: Re: [mythtv-users] MythUtil - can't show a message on frontend<br>
><br>
> I actually got it working in mythutil by specifying a single IP as the broadcast (strange):<br>
> <br>
> mythutil --message --message_text "Hi There" --timeout 5 -v --bcastaddr 172.31.254.58<br>
> <br>
> but I really want it to work using netcat so I don't have to compile mythutil on other systems which send the message. Any advice on how to make netcat work with this?<br>
> <br>
> Oh...and the 5 second timeout has no effect...I still have to click OK each time onscreen. Hopefully there is a workaround for that too...<br>
> ________________________________<br>
> From: <a href="mailto:mythtv-users-bounces@mythtv.org">mythtv-users-bounces@mythtv.org</a> [<a href="mailto:mythtv-users-bounces@mythtv.org">mythtv-users-bounces@mythtv.org</a>] On Behalf Of Michelle Dupuis [<a href="mailto:mdupuis@ocg.ca">mdupuis@ocg.ca</a>]<br>
> Sent: Sunday, June 24, 2012 6:47 PM<br>
> To: Myth TV Users List<br>
> Subject: [mythtv-users] MythUtil - can't show a message on frontend<br>
><br>
> I am trying to show a message onscreen on my .25 frontend. I have tried using mythutil and netcat, but neither works. The syntax (and output) is below of both methods. Can anyone tell me what I'm missing?<br>
> <br>
> Thanks!<br>
> <br>
> <br>
> nc -v -u -w 0 172.31.254.58 6548 < /tmp/testmess<br>
> <br>
> or<br>
> <br>
> <br>
> [mythtv@mythlivingroom ~]$ mythutil --message --message_text "Hi There" --timeout 5<br>
> 2012-06-24 18:41:02.969127 C mythutil version: [v0.25] <a href="http://www.mythtv.org">www.mythtv.org</a><br>
> 2012-06-24 18:41:02.969160 N Enabled verbose msgs: general<br>
> 2012-06-24 18:41:02.969209 N Setting Log Level to LOG_INFO<br>
> 2012-06-24 18:41:02.969391 I Added logging to the console<br>
> 2012-06-24 18:41:02.969415 I Added database logging to table logging<br>
> 2012-06-24 18:41:02.969600 N Setting up SIGHUP handler<br>
> 2012-06-24 18:41:02.970067 N Using runtime prefix = /usr<br>
> 2012-06-24 18:41:02.970128 N Using configuration directory = /home/mythtv/.mythtv<br>
> 2012-06-24 18:41:02.970560 I Assumed character encoding: en_US.UTF-8<br>
> 2012-06-24 18:41:02.971698 N Empty LocalHostName.<br>
> 2012-06-24 18:41:02.971725 I Using localhost value of <a href="http://mythlivingroom.ocg.ca">mythlivingroom.ocg.ca</a><br>
> 2012-06-24 18:41:02.972185 I Testing network connectivity to '172.31.254.84'<br>
> 2012-06-24 18:41:02.975012 I Starting process manager<br>
> 2012-06-24 18:41:02.975350 I Starting process signal handler<br>
> 2012-06-24 18:41:02.981979 I Starting IO manager (read)<br>
> 2012-06-24 18:41:02.982316 I Starting IO manager (write)<br>
> 2012-06-24 18:41:03.161003 N Setting QT default locale to en_CA<br>
> 2012-06-24 18:41:03.161025 I Current locale en_CA<br>
> 2012-06-24 18:41:03.161169 N 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>
> <mythmessage version="1"><br>
> <text>Hi There</text><br>
> <timeout>5</timeout><br>
> </mythmessage><br>
> Sent UDP/XML packet to IP 255.255.255.255 and port: 6948<br>
><br>
> _______________________________________________<br>
> mythtv-users mailing list<br>
> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
> <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
></p>
<p>Dave</p>