ReplacePCR Forums Login
Login -->

ReplacePCR Network Control

PLEASE NOTE: as of beta 5, this info is outdated.  I will update this page when time allows.  Please email me directly at david@davidbroome.com for information in the meantime.

As described in the readme, ReplacePCR can now be controlled remotely from any device that can open a TCP connection to your computer.  To set this up in ReplacePCR, simply go to Configre Network and enter a port to listen on, a username and password (we can't have XMFan.com users changing your channel on you :-), and turning on the server.

A VB6 client is included in the distribution packages.  This client is meant to serve as an example only, and will not be as functional as a real client should be.  Unfortunately, I don't have time to write a client at this time.  And so I have created this page so that I can detail the extremely simplistic protocol, and provide links to any clients written.

First, You must open a connection to the server via TCP.  When you do, you can send over a command and wait for a response.  You will need to re-connect for each command.

A command is formatted like this: "login~password~command" (no quotes).  The command itself is a six digit number, and the allowed commands are:

  • 100000 - Start the PCR - server will respond with 1crlfcrlf
  • 101000 - Stop the PCR - server will respond with 1crlfcrlf
  • 200xxx - Get information on channel xxx.  server will respond with song~artis~channel number~channel name crlfcrlf
  • 201xxx- Change to channel xxx.  server will respond with 1crlfcrlf
  • 202000 - Send info on ALL channels.  server will respond with song~artis~channel number~channel name crlf(etc.)song~artis~channel number~channel name crlfcrlf

If there are any other commands you need, just let me know and I can add them in.  Send any clients you write to me at david@davidbroome.com or post on the ReplacePCR Forums.


Apr 2010
SMTWRFS
    123
45678910
11121314151617
18192021222324
252627282930 
Large Calendar


Search


ReplacePCR Network