2017-05-24, 01:51 AM
Since I started having problems with 0 byte recordings, I came up with a ParallelProcessing.bat section to notify me if it is happening.
NextPVR runs on a system in the basement, and I wanted to be notified in the living room (on my laptop). So, I installed the Winsent Innocenti LAN notification client on the laptop to receive the messages and the sent command line utility on the NextPVR server to send the messages.
Then I added this section to my ParallelProcessing.bat file
(The commented out sections were used for testing/debugging.)
NextPVR runs on a system in the basement, and I wanted to be notified in the living room (on my laptop). So, I installed the Winsent Innocenti LAN notification client on the laptop to receive the messages and the sent command line utility on the NextPVR server to send the messages.
Then I added this section to my ParallelProcessing.bat file
Code:
set "RecordingFile=%~1"
REM "C:\Program Files (x86)\sent\sent.exe" * "Recording %RecordingFile% Started"
REM Wait 60 seconds for file to get data
timeout 60
SET FILESIZE=%~z1
IF %FILESIZE% == 0 (
"C:\Program Files (x86)\sent\sent.exe" * "WARNING: recording %RecordingFile% is not growing!"
)
REM IF %FILESIZE% GTR 0 (
REM "C:\Program Files (x86)\sent\sent.exe" * "Success: recording %RecordingFile% is growing."
REM )
(The commented out sections were used for testing/debugging.)