View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Feb 19, 2007 3:11 pm 
Offline
Joined: Thu Jun 23, 2005 1:20 am
Posts: 148
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 !


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 19, 2007 4:39 pm 
Offline
Joined: Wed Apr 28, 2004 10:42 pm
Posts: 405
Location: Bendigo, Victoria, Australia
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

_________________
Paul Turpie
-------------
<--Is your location in your profile? Why not?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 20, 2007 9:59 am 
Offline
Joined: Thu Jun 23, 2005 1:20 am
Posts: 148
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 20, 2007 3:34 pm 
Offline
Joined: Thu Jun 23, 2005 1:20 am
Posts: 148
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


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu