Usage:
*For D series (arm), replace every instance of /mnt below by /mtd_rwcommon/widgets/user/SamyGO/SamyGO
- Get latest samyGOso from there and copy/overwrite samyGOso file (not folder) to /mnt/opt/privateer/usr/bin
- Set permissions if needed (usually not if overwritten)
Code: Select all
chmod +x /mnt/opt/privateer/usr/bin/samyGOso
- Extract attached archives and copy libCMDonPVR.so to /mnt/opt/privateer/usr/libso (create folder if needed).
- ExecuteAt least one arg is mandatory. Usable ones are:
Code: Select all
samyGOso -d -A -B -r -l /mnt/opt/privateer/usr/libso/libCMDonPVR.so arg1 [arg2...arg4]
- CMD_START:/full_path/to/cmd - Launches cmd script/command on PVR recording start.
- CMD_STOP:/full_path/to/cmd - Launches cmd script/command on PVR recording stop.
- CMD_START_OFF:/full_path/to/cmd - Same as CMD_START, but when TV is off (scheduled/soft-off state).
- CMD_STOP_OFF:/full_path/to/cmd - Same as CMD_STOP, but when TV is off (scheduled/soft-off state).
Logfile is written to /dtv/CMDonPVR.log - Autostart
- First edit OPTIONS field in 99_92_CMDonPVR.init and copy script to /mnt/etc/init.d
- Set permissions
Code: Select all
chmod +x /mnt/etc/init.d/99_92_CMDonPVR.init
- Sample OPTIONS:
Code: Select all
OPTIONS="CMD_STOP:/mtd_rwcommon/cmdstop.sh CMD_START_OFF:/mtd_rwcommon/cmdstartoff.sh"
Code: Select all
10/5/2015
v0.1.0 - First public release