NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 140 141 142 143 144 … 193 Next »
A Trash folder for deleted recordings

 
  • 0 Vote(s) - 0 Average
A Trash folder for deleted recordings
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#11
2005-08-05, 12:39 PM
Reven,
Makes sense I dont want to have to duplicate this code a dll would be ideal. Maybe add another method getRecycleBinPath so we can list it if a user wants to recover.

I figure the recycle bin plugin would allow restores and stuff
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
drain
Offline

Member

Posts: 91
Threads: 12
Joined: Jun 2005
#12
2005-08-06, 10:30 AM
reven Wrote:how about we just throw everything into windows "recycling bin", that way its handled by windows.

The problem is that you can't (as far as I'm aware) set windows to delete files after a certain time period. A custom system would also be able to preserve guide info for recovered recordings.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#13
2005-08-06, 11:23 AM
Quote:The problem is that you can't (as far as I'm aware) set windows to delete files after a certain time period. A custom system would also be able to preserve guide info for recovered recordings.
i only read a tiny part of the thread, so i guess i missed that part where that was a wish. however i suspect you can empty the recycling bin via code at any given interval. id be surprised if you couldnt, but i could also see why you couldnt (well of course you can, it might just be extremely tricky).
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#14
2005-08-06, 11:24 AM
also the recycling bin with windows can only save a set percentage on each drive, so if you set it to hold 10% of your recordings drive it will automatically delete stuff (i presume the oldest stuff in the recycling bin) when it gets full.
daphatty
Offline

Posting Freak

Posts: 1,032
Threads: 85
Joined: Feb 2005
#15
2005-08-06, 11:52 AM
reven Wrote:also the recycling bin with windows can only save a set percentage on each drive, so if you set it to hold 10% of your recordings drive it will automatically delete stuff (i presume the oldest stuff in the recycling bin) when it gets full.

That could prove to be a problem if you consider that these video files are rather large in size. The recycle bin would easily reach its ceiling of 10% at which point recordings would drop off like flies. I would think it's impossible for a plugin to determine if and when a file was deleted independently by the OS. Perhaps adding a setting that increases the size of the Recycle Bin would alleviate this a bit?
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#16
2005-08-06, 12:29 PM
you can set the percentage its not fixed.
drain
Offline

Member

Posts: 91
Threads: 12
Joined: Jun 2005
#17
2005-08-24, 05:03 AM
Well, I had a burst of energy and wrote a stand-alone app that hooks the kernel32.dll delete file functions. It checks to see if the file is being deleted from my recordings directory, and if so, returns a successful delete but actually moves the file to a nominated trash folder. The same app monitors that free disk space and deletes the oldest files from trash when free space drops below a preset limit.

Seems to work OK so far, but I haven’t tested it properly yet.
ydekmekji
Offline

Posting Freak

Posts: 824
Threads: 275
Joined: Jan 2005
#18
2005-08-24, 05:34 AM
I think this is an excellent idea--however, would it be possible that when you "delete" it, it automatically compresses it to some format that will make it smaller (ratDVD??) and then "deletes" it
If you want to know why nPVR is the bomb, ask my wife!
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#19
2005-08-24, 10:35 AM
drain,

that sounds pretty cool. When you are ready to post it let me know I will add it to wiki or you can send bladerse an email and get an account.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
drain
Offline

Member

Posts: 91
Threads: 12
Joined: Jun 2005
#20
2005-08-24, 10:58 PM
ydekmekji Wrote:I think this is an excellent idea--however, would it be possible that when you "delete" it, it automatically compresses it to some format that will make it smaller (ratDVD??) and then "deletes" it

I could call a batch file after a file is moved to the trash, and you can do anything you want with it. I'm not very good with transcoding to DivX or alike, so perhaps someone else can suggest an automated process for this.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Selection of specific days in Recurring Recordings Bobins 0 270 2025-06-16, 09:22 PM
Last Post: Bobins
  Web display of Recordings w/o Pending Recordings turndave 5 1,209 2023-09-13, 10:08 PM
Last Post: turndave
  subtract time from recordings for web client jobby99 0 655 2023-05-28, 09:09 PM
Last Post: jobby99
  Divide Recordings by Channel (and other properties) ChaosMageX 1 828 2023-03-20, 07:35 PM
Last Post: mvallevand
  Import m3u on device list - file/folder navigator psycik 1 1,017 2022-09-28, 08:25 PM
Last Post: mvallevand
  [Kodi] Directory Folders for Recordings Panic 14 3,479 2022-07-28, 03:59 PM
Last Post: mvallevand
  Resume on recordings mvallevand 13 3,238 2022-05-02, 08:04 PM
Last Post: artmetz
  direct bookmarkable URL for Recent Recordings f0945a5662 2 1,111 2021-11-18, 07:50 PM
Last Post: f0945a5662
  Cancellation of individual pending recordings Petrovski 25 9,153 2021-11-07, 06:49 PM
Last Post: sub
  Feature request (recordings calendar view) ThymeJ 1 2,414 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