LinHES Forums http://forum.linhes.org/ |
|
network remote control - list of commands http://forum.linhes.org/viewtopic.php?f=6&t=14281 |
Page 1 of 1 |
Author: | Warped [ Mon Feb 19, 2007 3:11 pm ] |
Post subject: | network remote control - list of commands |
Hi all, I want to integrate my MythTV with VoIP service based on SIP. I already have callerID presentation via OSD, but it will be nice also to pause playing when somebody calls. For this I plan to use network remote remote control. Can somebody give me hint what commands are accepted by myth on network remote control port 6546 ? thx in advance ! |
Author: | turpie [ Mon Feb 19, 2007 4:39 pm ] |
Post subject: | |
The "help" command should give you a list of all the commands. The official mythtv wiki has a few pages with info. http://www.mythtv.org/wiki/index.php/Telnet_socket http://www.mythtv.org/docs/mythtv-HOWTO-11.html#ss11.6 http://www.mythtv.org/wiki/index.php/Us ... .280.19.29 |
Author: | Warped [ Tue Feb 20, 2007 9:59 am ] |
Post subject: | |
turpie, thx for info. I already found this info, but now I'm confused. Provided by You info telling about telnet - which is telent based. I'm looking for solution to remote controling MythTV from other aplications. Thats why asked about UDP remote control. Since telenet in TCP based - question is: are we talking about the same thing ? In my initial imagination I was thinking that simple sending string to UDP port 6546 will be enough. Now I'm not shure. Relevant perl code might look like this: my $msg = "play\n speed pause\n"; print("connecting to $notifyaddr udp port 6546\n"); my $mythnotify_fh = IO::Socket::INET->new(PeerAddr=>"$notifyaddr",Proto=>'udp',PeerPort=>6546); if ($mythnotify_fh) { print $mythnotify_fh $msg; $mythnotify_fh->close; } turpie wrote: The "help" command should give you a list of all the commands.
The official mythtv wiki has a few pages with info. http://www.mythtv.org/wiki/index.php/Telnet_socket http://www.mythtv.org/docs/mythtv-HOWTO-11.html#ss11.6 http://www.mythtv.org/wiki/index.php/Us ... .280.19.29 |
Author: | Warped [ Tue Feb 20, 2007 3:34 pm ] |
Post subject: | |
Well, It looks like I totally mixed things and confuse this thread. Ok - I checked Myth config and see that remote control has nothing with UDP. It is simple telnet interface ! Ok, I will use perl telnet module... Sorry for confusion. Warped wrote: turpie,
thx for info. I already found this info, but now I'm confused. Provided by You info telling about telnet - which is telent based. I'm looking for solution to remote controling MythTV from other aplications. Thats why asked about UDP remote control. Since telenet in TCP based - question is: are we talking about the same thing ? In my initial imagination I was thinking that simple sending string to UDP port 6546 will be enough. Now I'm not shure. Relevant perl code might look like this: my $msg = "play\n speed pause\n"; print("connecting to $notifyaddr udp port 6546\n"); my $mythnotify_fh = IO::Socket::INET->new(PeerAddr=>"$notifyaddr",Proto=>'udp',PeerPort=>6546); if ($mythnotify_fh) { print $mythnotify_fh $msg; $mythnotify_fh->close; } turpie wrote: The "help" command should give you a list of all the commands. The official mythtv wiki has a few pages with info. http://www.mythtv.org/wiki/index.php/Telnet_socket http://www.mythtv.org/docs/mythtv-HOWTO-11.html#ss11.6 http://www.mythtv.org/wiki/index.php/Us ... .280.19.29 |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |