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
drain
Offline

Member

Posts: 91
Threads: 12
Joined: Jun 2005
#1
2005-07-29, 10:05 PM (This post was last modified: 2005-07-30, 01:48 AM by drain.)
Has anyone suggested a 'Trash' folder - where deleted recordings are moved to, like the windows recycle-bin?

The one advantage of video-tape is that the recording is not erased until you record over it. The other month, my brother-in-law phoned to ask if I had Lost on tape because he forgot to record it. (Of course I said: no, not on tape, but I can cut you a DVD!) In this case he was lucky, but normally we would have deleted the recording immediately after watching it.

If recordings were moved to a “Trash” folder, then deleted recording could be recovered in unexpected situations like this, or when a recording is deleted by accident (a delete confirmation screen would not be required).

I envisage the Trash folder appearing on the recordings screen like the Ready and Pending recordings. The recording service would delete items from the Trash folder when either:
- disk space goes below a user defined limit, say 10 GB.
- recordings are older than a user defined time, say 7 days.
- recordings are manually removed, or the entire folder is “emptied”

Any comments?
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#2
2005-07-30, 01:48 AM
that is interesting. We can code it into the video plugins like xrecord. The only issue is when it goes under the disk space limit, since the plugins can only run after a recording, epg update or when the user is it them.

Since most recordings are 2-4 gigs using postprocessing would probably work. If enough people think this is useful I can add it to xrecord.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#3
2005-07-30, 01:53 AM
Plug-ins can also set timers so that they run periodically on their own and they can install mpnitors to look for the creation and deltion of files (which would change the amount of free space). That is what I do in the video archive plug-in for various things.

Jeff
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#4
2005-07-30, 02:16 AM
Perhaps we write a recycle bin plugin not part of any video plugin, it allows you to view and restore things from the recycle bin. It will have the cleanup logic and stuff.

We then write a helper class that will move on delete to the recycle bin.

The helper class would be used by xrecord, video archiver and my videos.
It would be useful and would avoid more duplication.

Jorm
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
lseats
Offline

Senior Member

Posts: 337
Threads: 16
Joined: Aug 2004
#5
2005-07-30, 04:27 PM
I agree this would be a good addition. What I do now is have the postprocessing.bat file copy every recording to a backup drive. That way I can keep the recordings list clean and still be able to get any recording back that I find I need later. The other benefit is that if I have a drive crash on my recording drive I always have a backup of the current shows. Here is the line I use in postprocessing.bat so the copy runs at a low priority and doesn't tax the cpu or recording drive:

start /low copy %1 D:\backup\

You would of course use whatever drive and folder you want to use.
jasjol
Offline

Senior Member

Posts: 270
Threads: 78
Joined: Dec 2004
#6
2005-07-31, 08:53 AM
I like this idea of a trach can.


Maybe with an option on which folder and disk it should be on.
Using DELL P4 1.5GB RAM 250 GB HD + DLINK DNS313 netdisk 1,5TB, 2 pieces of Hauppauge PVR150 w/45-button remote, 1 Popcorn Hour 110. Win XP SP3. GB-PVR v1.4.7 Plugins: Xrecord
drain
Offline

Member

Posts: 91
Threads: 12
Joined: Jun 2005
#7
2005-08-05, 06:25 AM
jorm Wrote:Perhaps we write a recycle bin plugin not part of any video plugin, it allows you to view and restore things from the recycle bin. It will have the cleanup logic and stuff.

Now there's some thinking for you! I like this "holistic" approach!
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#8
2005-08-05, 06:30 AM
how about we just throw everything into windows "recycling bin", that way its handled by windows. of course im assuming this is possible via c# (i think windows recycling bin is just a special folder....).
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#9
2005-08-05, 07:13 AM (This post was last modified: 2005-08-05, 07:16 AM by Jeff.)
I think all you do is move files to Drive:\Recycled. Of course there are windows settings that let the user specifiy if all drives share a common recycle bin and, on a drive by drive basis, if files are deleted or recycled so there may be a bit more to it than just this.


[EDIT] NEver mind; see http://www.codeproject.com/csharp/csdoesshell2.asp for an example of how it is done. Messy.

Jeff
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#10
2005-08-05, 08:39 AM
well all we need is someone to write a dll for this action, say
public bool DeleteFile(string file){} // returns true if successful delete
public bool DeleteFolder(string folder){}// ditto.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 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,475 2022-07-28, 03:59 PM
Last Post: mvallevand
  Resume on recordings mvallevand 13 3,236 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