RTV Remote Commander v0.2 http://rtvrc.sourceforge.net/ This Java application will accept incoming requests and provide remote access to a ReplayTV PVR. It will convert the screenshot .bmp to a .jpg and send it to the client. The only requirement should be Sun Java Runtime Environment 1.4, which can be obtained from http://java.sun.com/ RTVrc is precompliled, full source for the portions I wrote is included. To configure RTVrc, edit the rtvrc.cfg and replays.txt files with a text editor. Options available in rtvrc.cfg are: port=1234 Choose what port to listen on credentials=user:pass The username/password to use. Delete the whole line to have no authentication scale=.5 Scale the image by the specified amount. .5 = 1/2, .3 = 1/3, etc. usemagick=true Use ImageMagick instead of internal convert routine debug=true Debug mode - prints more info to the log There are other options (root, workers, timeout) which are documented at the Sun link below. The replays.txt file should contain a list of your ReplayTV boxes, one per line, with the description and IP address separated by commas. For example: Bedroom,192.168.1.1 Living Room,192.168.1.2 Running RTVrc: Follow the instrucitons above to configure the rtvrc.cfg and replays.txt files. Bring up a command prompt or terminal, change to the directory with RTVrc in it, and run "java RTVrc". Case matters! Capital RTV, small rc. There is no GUI, it will run in the command window. You can minimize it to get it out of the way. Alternatively, Windows XP and 2000 users can try to double-click "start.bat" - this may or may not work, if nothing happens try the command window mathod above. Start a web browser, and go to http://127.0.0.1:1234/ (replace 1234 with the port number from above if you changed it) Log in, and it should work. Notes: I'm being pretty protective of the file system so it can't access stuff it's not supposed to, but there are certainly no guarantees. Use at your own risk. Don't click to update the screenshot several times in a row. Wait for the screen to update before clicking again. Failing to do so will crash the Replay's HTTP server and require a soft reboot to recover. There is no way I can fix the 'double select' bug. We will have to see if the Replay folks can fix that, it's part of the ReplayTV OS. Some things can't be done due to this, such as deleting a Replay channel and sending a show with IVS. The main server app is a modification of Sun's example multithreaded web server: http://developer.java.sun.com/developer/technicalArticles/Networking/Webserver/ Some network code borrowed from: http://www.cs.dartmouth.edu/~haoning/java/proxyServer/ Contains CGI string parser code from Ostermiller Java utilities: http://www.ostermiller.org/utils/ Base64 encoding done with Commons Codec: http://jakarta.apache.org/commons/codec/ Disclaimers and legal stuff: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA This product includes software developed by the Apache Software Foundation (http://www.apache.org/). ReplayTV, the Replay logo, and the Replay remote image are (c) Digital Networks North America (DNNA). RTVrc is not provided, endorsed, or supported by DNNA.