NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 13 14 15 16 17 … 193 Next »
Age-based retention policy! Purge old recordings

 
  • 0 Vote(s) - 0 Average
Age-based retention policy! Purge old recordings
othello
Offline

Junior Member

Posts: 7
Threads: 3
Joined: Oct 2017
#1
2017-10-29, 05:00 AM
I would like NextPVR to have a retention policy that would automatically delete recordings after a period of time. Not the existing feature that saves a certain number of recording files. This is one feature of MCE that I miss. I don't have to periodically purge the files by hand, a tiring and time-consuming process. A per-recording override function should be available, too, to prevent the recording from purging.
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#2
2017-10-29, 12:23 PM
good idea, I second the request.
Elmo Putney
Offline

Senior Member

Posts: 615
Threads: 119
Joined: Feb 2008
#3
2017-10-30, 10:47 AM
Thirded - I requested something similar a few years back.

For instance if I record the F1 racing - if I haven't watched it within a week then I'm never going to watch it.
[SIZE="4"]Elmo Putney[/SIZE]
p37307
Offline

Senior Member

Posts: 252
Threads: 46
Joined: Jul 2016
#4
2017-10-31, 08:11 AM
How about something like this in a script file?
Simple Batch code.
I think this should work unless the code language has changed


Code:
REM Remove recordings and files older than number of days
REM Add to UpdateEPG.bat script in NPVR Script directory to have it run daily
REM Change the location of where your files are
REM Change -NumberOfDays to whatever age you want. -14 would be 14 days
REM Be warned. This deletes files!
REM you can change *.* to *.ts if you only want to delete the *.ts files.
REM Leave *.* to delete all files older that number of days, esp if you convert from TS to MP4 & delete the other files created like edl, images, etc
REM WARNING This deletes files.

forfiles /p "D:\where\ever\Your\Recording\Directory\is" /s /m *.* /D -NumberOfDays /C "cmd /c del @path"

REM You have been warned.
~Paul

If you haven't broken it at least once, you're not doing it right. :eek:
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Selection of specific days in Recurring Recordings Bobins 0 154 2025-06-16, 09:22 PM
Last Post: Bobins
  Web display of Recordings w/o Pending Recordings turndave 5 1,084 2023-09-13, 10:08 PM
Last Post: turndave
  subtract time from recordings for web client jobby99 0 594 2023-05-28, 09:09 PM
Last Post: jobby99
  Divide Recordings by Channel (and other properties) ChaosMageX 1 761 2023-03-20, 07:35 PM
Last Post: mvallevand
  [Kodi] Directory Folders for Recordings Panic 14 3,244 2022-07-28, 03:59 PM
Last Post: mvallevand
  Resume on recordings mvallevand 13 3,030 2022-05-02, 08:04 PM
Last Post: artmetz
  Variable based custom file naming kamhouse 8 2,141 2021-12-06, 06:59 PM
Last Post: sub
  direct bookmarkable URL for Recent Recordings f0945a5662 2 1,032 2021-11-18, 07:50 PM
Last Post: f0945a5662
  Cancellation of individual pending recordings Petrovski 25 8,823 2021-11-07, 06:49 PM
Last Post: sub
  Feature request (recordings calendar view) ThymeJ 1 2,358 2021-09-19, 04:44 AM
Last Post: sub

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

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

Linear Mode
Threaded Mode