View Full Version : MythTV Network remote for Mac OS X
Any other MythTV users with Mac laptops? I made a small Cocoa application to work with the TCP Socket remote control capability in MythTV 0.19 and newer (sometimes called "telnet control"). I put it up on my google pages site, in case anyone else would like to use it.
http://ignasiak.googlepages.com/mythremote
You can use the GUI like an IR remote, or probably more useful is the keyboard pass-through. Any valid keyboard input will be sent to the Myth frontend. So, it allows easy access to any command, which may not be mapped in your lirc config.
You can also configure your 'home' location that the MythTV button will take you to. Mine goes to my recordings list, but it can be set to go to live tv, videos, dvd player, etc.
EradanPHX 02-09-07, 01:29 PM This is just plain AWESOME !
I can't WAIT to give it a shot tonight.
A couple notes on MythRemote:
- Cmd-L opens a event log viewer window. This shows more information on connection status, and what is being sent to myth and what myth's responses are. It's very useful for debugging.
- Apparently the myth commands are not passed through to external viewers. So, if you use mplayer, vlc, or some other external viewer for videos, the socket control commands will not work for those. It does work for the internal myth video and dvd player.
underwhelm 02-15-07, 03:24 PM This application definitely fits in to my digital lifestyle. Thanks!
Now, if you can get it running on the iPhone , I'll pay any price you care to put on it. ;)
This application definitely fits in to my digital lifestyle. Thanks!
Now, if you can get it running on the iPhone , I'll pay any price you care to put on it. ;)
Yeah, I was pissed when I heard the iPhone was going to be closed. When Jobs mentioned it ran OS X and Cocoa, I was ready to order one. I have another app, a golf handicap tracker, which I thought would be another ideal app for the iPhone. Oh well..
But, it sounds like we may be able to load 'widgets' on the iPhone. If so, a remote control widget could probably be made. It would probably require a small server-side application to take input and connect localhost into the remote control socket. It will be less flexible than running real code on the iPhone, but it should be be okay. We'll see in June.
I just posted a minor update to MythRemote at:
http://ignasiak.googlepages.com/mythremote
It just changes a few things in the keyboard handling:
- Delete is remapped to backspace, since delete was not a valid key code in versions 0.19 and 0.20. This comes into play in the text input fields in setup menus.
- Many new key codes were added in version 0.21 (which is not yet released), this update enables those new key codes. The codes include asterisk, F13-F24, Pipe/|, parentheses, and many more. When using MythRemote with an earlier version of Myth, these inputs are just ignored.
llarmakarma 05-05-07, 03:11 PM Hi,
Great little app.
I am wanting to write a cocoa app that uses telnet to control a router. Is it possible to get the source code you used to write mythremote (as i guess you are sending commands via telnet to mythtv?)
Any help would be appreciative.
Thanks
llamakarma
"Telnet" control for myth is really a misnomer. It is just a raw TCP socket, not really telnet.
There are several tcp classes available that make the network connections very easy. The one I used was NetSocket, by Blackhole Media. A list of several other network classes is available here: http://www.stepwise.com/Articles/Technical/2003-04-22.01.html
Is there anything like this for Windows?
llarmakarma 05-09-07, 05:04 PM thanks for the link on the tcp socket use for Telnet.
I have used sockets before in linux programs and thought this may be an option.
Thanks again.
Regards
llarmakarma
|
|