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 »
Created a program to purge recording directory

 
  • 0 Vote(s) - 0 Average
Created a program to purge recording directory
evans036
Offline

Junior Member

Posts: 5
Threads: 3
Joined: Nov 2016
#1
2016-11-29, 02:57 AM
Folks,

I have created a c# .net program that is designed to be called from the parallelprocessing.bat file.

When run it will:
- read a config file that specifies recording directories along with disk quotas
- match the current file being recorded with one of the directories in the config file
- apply disk space quotas by deleting the oldest files in that recording directory if necessary

These disk quotas are expressed as a min free space (on the drive containing the recording directory) and/or a max disk used by the recording directory.

If there is any interest in this program I can post it with source code(visual studio solution) on git hub and probably create some doc on how to use it.

I did not want to go to that effort if there is not much interest.

I have only been using it for a week or so, but it seems to be working - no guarantees tho.

Thanks,
Steve
liteswap
Offline

Senior Member

Posts: 713
Threads: 70
Joined: Aug 2006
#2
2016-11-29, 05:32 PM
Steve, if I might venture a suggestion here: while I appreciate the offer of your app, and with no disrespect to your coding intended, there's no way I'd run an app whose actions I'm not totally certain of, especially if it's designed to delete files. I suspect I may not be alone. May I suggest that you add more detail about use cases, exactly what it does and under what circumstances?
- Silent client PVR: HDPlex HS.1 aluminium fanless case / Thin-ITX ASRock H81TM-ITX motherboard / Intel Celeron 1850T CPU / 4GB RAM / 120GB SSD / TBS6982 DBS-S2 [SIZE=1]dual-tuner card / Win10+nPVR+Plex Media Player feeding LG OLED55B6V + Anthem MRX510 AV Receiver / PMC GB1 / B&W / REL speakers.
- Noisy NAS: Xeon / Intel mobo / 16GB RAM / FreeNAS + Ubuntu VMs on VMware ESXi + 12TB RAID
[/SIZE] running Plex Media Server

evans036
Offline

Junior Member

Posts: 5
Threads: 3
Joined: Nov 2016
#3
2016-11-29, 11:18 PM
liteswap Wrote:Steve, if I might venture a suggestion here: while I appreciate the offer of your app, and with no disrespect to your coding intended, there's no way I'd run an app whose actions I'm not totally certain of, especially if it's designed to delete files. I suspect I may not be alone. May I suggest that you add more detail about use cases, exactly what it does and under what circumstances?


yep - totally hear you. chicken and egg thing: too lazy to write doc until I think folks might be interested in using it.

btw, there is a flag with a 'dry run' option that lists what it would have deleted if it was running for real. The logs are quite clear and detailed.

i guess i'll have to get off my duff and do some doc.

thanks for the input,

steve
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#4
2016-11-30, 11:44 AM
evans036 Wrote:If there is any interest in this program I can post it with source code(visual studio solution) on git hub and probably create some doc on how to use it.

I suspect that this is something that folk won't need until it is something that that they do need (perhaps, to avoid the cost and effort of yet another disk) ... my suggestion would be to get a wiki user account and add it as a Utility ... http://forums.nextpvr.com/showthread.php...post386604
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Grouping Movies into Single Directory jw1 6 2,061 2021-09-09, 02:13 PM
Last Post: mvallevand
  Automatic movie recording based on existing libraries daneo 10 5,051 2020-04-14, 08:02 PM
Last Post: daneo
  NextPVR Recording Service Monitor ChaosMageX 2 2,217 2019-09-23, 02:19 PM
Last Post: ChaosMageX
  ParallelProcessing.bat Recording Growth Monitor BrettB 0 2,080 2017-05-24, 01:51 AM
Last Post: BrettB
  NPVRConflicts - Email you if there are recording conflicts danorum 16 17,556 2016-02-03, 04:07 AM
Last Post: meccano
  ImageGrabLite - name change while watching recording liteswap 2 2,814 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
  Imagegraglite crashes with EPG created from mc2xml using MS new service jt25741 1 1,888 2014-12-17, 05:09 PM
Last Post: mvallevand
  ImageGrabLite failed to rename Extant recording scJohn 4 2,807 2014-08-16, 07:54 PM
Last Post: mvallevand
  vidImport NPVR key / Install directory not found (Windows/7) baze256 6 4,980 2012-12-02, 01:44 PM
Last Post: carpeVideo

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

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

Linear Mode
Threaded Mode