NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
« Previous 1 … 3 4 5 6 7 … 20 Next »
ParallelProcessing.bat Recording Growth Monitor

 
  • 0 Vote(s) - 0 Average
ParallelProcessing.bat Recording Growth Monitor
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,666
Threads: 170
Joined: Jun 2007
#1
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
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.)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Automatic movie recording based on existing libraries daneo 10 5,048 2020-04-14, 08:02 PM
Last Post: daneo
  NextEnd: "Sports event monitor did not start" antenna 37 12,618 2019-10-27, 12:22 AM
Last Post: mvallevand
  NextPVR Recording Service Monitor ChaosMageX 2 2,214 2019-09-23, 02:19 PM
Last Post: ChaosMageX
  Created a program to purge recording directory evans036 3 3,512 2016-11-30, 11:44 AM
Last Post: Graham
  NPVRConflicts - Email you if there are recording conflicts danorum 16 17,554 2016-02-03, 04:07 AM
Last Post: meccano
  ImageGrabLite - name change while watching recording liteswap 2 2,812 2015-11-06, 11:29 AM
Last Post: liteswap
  VidImport Not Finding Recording-Backup.xml BrettB 0 2,052 2015-10-01, 07:34 AM
Last Post: BrettB
  ImageGrabLite failed to rename Extant recording scJohn 4 2,805 2014-08-16, 07:54 PM
Last Post: mvallevand
  SearchLite, Saved Search, No Recording Menu XJW 3 2,685 2012-01-27, 10:22 PM
Last Post: mvallevand
  Windows Desktop/Sidebar Gadget with Recording Schedule cncb 147 36,908 2011-10-29, 10:17 AM
Last Post: Reddwarf

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode