NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 22 23 24 25 26 … 193 Next »
PostDelete.bat?

 
  • 0 Vote(s) - 0 Average
PostDelete.bat?
smajor
Offline

Posting Freak

Posts: 840
Threads: 115
Joined: Feb 2006
#1
2014-07-28, 01:45 AM
Would it be possible to add this so we can run some actions when an item is deleted from recordings?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2014-07-28, 02:23 AM
What parameters would it pass to this batch file? ie, post delete there would be no file on disk, or no entry for the recording in the database.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#3
2014-07-28, 07:35 PM
I'd presume he'd want the filename and recording OID, same as the other recording-related batch files. The file itself and the OID may no longer exist, but he may have used them for other purposes in one of the ___processing.bat files and now wants to do some other housekeeping based on that data.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
smajor
Offline

Posting Freak

Posts: 840
Threads: 115
Joined: Feb 2006
#4
2014-07-28, 09:00 PM
That would be nice, if possible, but for my needs, just the act of triggering the file would be enough. For me: XBMC is my front end and my NPVR recording directory is also a path in my TV Shows XMBC library.

If a show is deleted, the main purpose of the bat file would be to tell XBMC to re-scan the library and update its database so the show is properly removed.

I already call the same re-scan with postprocessing to scan and "add" a completed recording to XBMC.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,772
Threads: 954
Joined: May 2006
#5
2014-07-28, 09:46 PM
For me what I'd like to see is the unique_id from event_detail (or 0) and the status. If I delete a failed recording, I already have a utility that records by unique_id that don't exist and I'd be able to use the failure code to potentially schedule a recording later in the day on the western feed.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



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

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

Linear Mode
Threaded Mode