[App] libCMDonPVR D/E/F/H - Run scripts on PVR start/stop

Here are software that related with Samsung F series TVs.
Post Reply

zoelechat
SamyGO Moderator
Posts: 7798
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

[App] libCMDonPVR D/E/F/H - Run scripts on PVR start/stop

Post by zoelechat » Sun May 10, 2015 9:53 pm

This patch allows to run distinct scripts or system commands on PVR recording start/stop.

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).
  • Execute

    Code: Select all

    samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libCMDonPVR.so arg1 [arg2...arg4]
    At least one arg is mandatory. Usable ones are:
    • 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).
    Recording path/filename is passed as 1st arg of stop cases CMDs ($1 = /dtv/usb/sd*/CONTENTS/*.srf)

    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"
*Changelog:

Code: Select all

10/5/2015
v0.1.0 - First public release
You do not have the required permissions to view the files attached to this post.
I do NOT receive any PM. Please use forum.

wifi75
SamyGO Project Donor
Posts: 96
Joined: Tue Oct 20, 2015 8:25 pm

Re: [App] libCMDonPVR D/E/F/H - Run scripts on PVR start/stop

Post by wifi75 » Sat Oct 24, 2015 2:34 pm

What is this script?

zoelechat
SamyGO Moderator
Posts: 7798
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libCMDonPVR D/E/F/H - Run scripts on PVR start/stop

Post by zoelechat » Sat Oct 24, 2015 2:36 pm

If you don't understand, it means you don't need it :)
I do NOT receive any PM. Please use forum.

wifi75
SamyGO Project Donor
Posts: 96
Joined: Tue Oct 20, 2015 8:25 pm

Re: [App] libCMDonPVR D/E/F/H - Run scripts on PVR start/stop

Post by wifi75 » Sat Oct 24, 2015 2:38 pm

sorry but I don't know pvr, what is?

zoelechat
SamyGO Moderator
Posts: 7798
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libCMDonPVR D/E/F/H - Run scripts on PVR start/stop

Post by zoelechat » Sat Oct 24, 2015 2:40 pm

I do NOT receive any PM. Please use forum.

Poloche9x7
SamyGO Project Donor
Posts: 32
Joined: Wed Dec 16, 2015 4:30 pm
Location: France

Re: [App] libCMDonPVR D/E/F/H - Run scripts on PVR start/stop

Post by Poloche9x7 » Sun Jan 17, 2016 12:59 pm

Hi,

I want to run record session via my PC, when TV is soft-OFF... Is this app do it please ?
Is this app can run record session and choose Channel ?

Thaknx
TV : UE40H6200 / Firmware : T-MST14DEUC-2130.0 | T-MST14DEUS-1008 / Root : Skype Method

zoelechat
SamyGO Moderator
Posts: 7798
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libCMDonPVR D/E/F/H - Run scripts on PVR start/stop

Post by zoelechat » Sun Jan 17, 2016 1:09 pm

Nope, it just sends a command/script when recording starts and/or when it stops, it receives nothing.
I do NOT receive any PM. Please use forum.

Post Reply

Return to “[F] Software”