[mythtv-users] MythWeb + myth-remote-control

Devan Lippman devan.lippman at gmail.com
Tue Jan 31 03:25:35 UTC 2006


On 1/29/06, Adam Bodnar <ambodnar at gmail.com> wrote:
> You really wouldn't need a cgi script.
>
> With the telnet interface, you can have php open a socket to the ip
> the backend is on and have it issue the commands.
>
> Something like this.
>
> <?
> $address = 127.0.0.1
>
> $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
>
> $result = socket_connect($socket, $address, 6545);
>
> $command = "PLAY whatever_file.nuv";
>
> socket_write($socket, $command, strlen($command));
>
> socket_close($socket);
> ?>
>

I was unaware the new commands had been committed.  If thats the case
has there been any documentation on this?  I'm curious to know how the
backend knows which frontend to execute the command on.

--
Thanks,
Devan Lippman <devan at lippman dot net>


More information about the mythtv-users mailing list