-
Notifications
You must be signed in to change notification settings - Fork 0
ReplayPC Documentation
replaypc is a console application and invoked from the command line.
replaypc <ipaddress> <options>
is the TCP/IP addreess of the 4000/5000 series ReplayTV unit.
are as follows:
Option | Argument(s) | Description |
---|---|---|
-d | none | Print directory listing (ls command) |
-s | filename | Print file status (fstat command) |
-e | filename | Retrieve MPEG-2 file named filename, write to disk |
-g | none | Retrieve ReplayGuide File, write to disk |
-c | "command" | Send a command string using HTTP GET, write to disk |
-o | mone | Send retrieved file to stdout instead of disk |
The following examples assume a ReplayTV at 192.168.0.4
To get a directory listing of Video files available on the ReplayTV:
replaypc 192.168.0.4 -d
To get the status of a mpg or ndx file on the ReplayTV:
replaypc 192.168.0.4 -s 1009760397.mpg
replaypc 192.168.0.4 -s 1009760397.ndx
To fetch a mpg or ndx file from the ReplayTV and write it to disk:
replaypc 192.168.0.4 -e 1009760397.mpg
replaypc 192.168.0.4 -e 1009760397.ndx
To fetch the ReplayTV guide file and write it to guide.dat:
replaypc 192.168.0.4 -g
The -o option can be used with any ReplayPC command that writes a file to disk. -o will make ReplayPC send the file data to stdout instead.
To fetch a mpg or ndx file and send it to stdout instead of disk:
replaypc 192.168.0.4 -o -e 1009760397.mpg
replaypc 192.168.0.4 -o -e 1009760397.ndx
To fetch the ReplayTV guide file and send it to stdout:
replaypc 192.168.0.4 -o -g
The -c option is used to send any arbitrary http get command to the ReplayTV. Any data that the ReplayTV returns is written to result.dat. The -o option can be used to divert output from disk to stdout.
replaypc 192.168.0.4 -c "/httpfs-readfile&name="/Video/1009760397.mpg""
replaypc 192.168.0.4 -o -c <httpfs_cmd> | <httpfs_cmd_parser>