[mythtv-commits] Ticket #11037: OSD message is not working

MythTV noreply at mythtv.org
Fri Aug 24 22:38:38 UTC 2012


#11037: OSD message is not working
-------------------------+----------------------------------------------
 Reporter:  warpme@…     |           Type:  Bug Report - General
   Status:  new          |       Priority:  minor
Milestone:  unknown      |      Component:  MythTV - Video/OSD Rendering
  Version:  Master Head  |       Severity:  medium
 Keywords:               |  Ticket locked:  0
-------------------------+----------------------------------------------
 After 0.25.2->0.26 upgrade I can't working OSD message. I'm using perl to
 send messages to OSD.

 {{{
 sub send_osd_notify_to_host {
   my ($text,$timeout,$ip) = @_;
   print ("Notify via OSD at IP=$ip with text: \"$text\"\n") if ($debug);
   my $msg = "<mythmessage version=\"1\">
             <text>$text</text>
             <timeout>$timeout</timeout>
         </mythmessage>";
   my $mythnotify_fh =
 IO::Socket::INET->new(PeerAddr=>$ip,Proto=>'udp',PeerPort=>6948);
   if ($mythnotify_fh) {
     print $mythnotify_fh $msg;
     $mythnotify_fh->close;
     print ("Notify via OSD Done\n") if ($debug);
   }
 }
 }}}

 In 0.26 I was able to get it working once, but only once and honestly
 speaking I don't remember what conditions make it working. I was trying to
 test this feature by using mythutil utility, unfortunately I get
 constantly help screen for when calling "mythutil --message "test" ".

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11037>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list