|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Possible to change "Delete" behaviour & Move the file a temp location instead?
Hi,
I'd like to intercept/change the delete behaviour of SageTV. Is this possible to do with a Customization. Or would I be better to install something like Undelete 2009? I just setup FlexRaid Forum: http://forum.flexraid.com/ It's "Snapshot" Raid6. I have 5 Data Drives (Normal NTFS drives) and 2 drives for Parity. Any 2 drives in the array can fail. The "Snapshot" is taken each night at 12:15am. It takes around 45 minutes to build the parity. By the nature of the beast ANY file deleted can affect the recover of files on other drives - as each file is used to rebuild others. I know the responses will be "well don't delete a show", but that becomes a pain to clean up. So I'd like to move them out - and I'll purge them via a script on a nightly basis.
__________________
Ben Intel Core2Duo E6600 2.4GHz - Win7 64bit Antenna: Homemade Gray-Hoverman DBGH, Channel Master 7777 pre-amp, Mid-60s CM Rotor Tuners: HDHomeRun v1, Hauppauge HVR1600 Video: BenQ W5000 1080p, ASUS ATI 6670 Storage (10TB): Seagate 2TB, Hitachi Coolspin 2TB x 4 Data Drives + 2TB x 2 Parity Drives using FlexRaid 2.0 (RAID6 T2+) SageTV: 7.1.9 Final ? |
#2
|
|||
|
|||
I have never used FlexRaid but have you ever considered going to a more traditional RAID setup? I'm currently running RAID 5s (soon to be migrated live to a RAID 10 and 6) with a traditional hardware-based card. The stripping is done at the block level in real time.
Not knowing much about FlexRaid it seems risky that a file deletion on a RAID array can cause you to lose data with a hard drive failure.
__________________
Will OS: Windows 7 Hardware: Intel Core i7-920 with 12GB RAM & an Adaptec 5805 with a Chenbro 36-port SAS Expander Case: Antec 1200 with 4 iStarUSA trayless hot-swap cages (20 drives max) Drives: 8 Toshiba/Hitachi 2TB drives in a RAID 6 & 7 Toshiba 3TB drives in a RAID 6 Capture Cards: HDHomeRun Connect Quatro 4, Hauppauge 60 HD-PVR Players: 5 HD300s, 2 HD200s |
#3
|
||||
|
||||
That seems silly... There are plenty of temp files that gets deleted all the time, which would make it useless if it actually worked like that...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2 TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad |
#4
|
|||
|
|||
Quote:
Quote:
All the drives are standard format so if something happens to 3 drives ALL the data is still there. The tech is very good. But has a few drawbacks in the configuration I'm using it in. I do not have C: or the SageTV directory monitored so most of the files are static on these drives, except for deleted Shows. There is an UNDO feature which I have enabled, so if there are 24GB of changes it writes out 24GB of undo information. SO if the parity build process fails it will back it all out. I thought about Intel Matrix Storage (which is Software Raid) with 2 RAID 5 arrays' but if 2 drives were to fail all data on that array would be lost. Raid 6 Hardware is a good path, but of course then if you have a failure your left buying another controller card of the same brand. With this system you can put the drives in ANY Pc.
__________________
Ben Intel Core2Duo E6600 2.4GHz - Win7 64bit Antenna: Homemade Gray-Hoverman DBGH, Channel Master 7777 pre-amp, Mid-60s CM Rotor Tuners: HDHomeRun v1, Hauppauge HVR1600 Video: BenQ W5000 1080p, ASUS ATI 6670 Storage (10TB): Seagate 2TB, Hitachi Coolspin 2TB x 4 Data Drives + 2TB x 2 Parity Drives using FlexRaid 2.0 (RAID6 T2+) SageTV: 7.1.9 Final ? Last edited by Fastrack; 10-22-2011 at 07:56 AM. |
#5
|
||||
|
||||
It's mostly possible, but tedious and not fool proof. Sage fires off an event after a MediaFile is deleted so the plugin would have to modify the UI to intercept all of the places where a show is deleted and then move it instead of deleting it. This would not take care of the situation where Sage automatically deletes a show to make room for the next recording.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#6
|
|||
|
|||
Quote:
__________________
Ben Intel Core2Duo E6600 2.4GHz - Win7 64bit Antenna: Homemade Gray-Hoverman DBGH, Channel Master 7777 pre-amp, Mid-60s CM Rotor Tuners: HDHomeRun v1, Hauppauge HVR1600 Video: BenQ W5000 1080p, ASUS ATI 6670 Storage (10TB): Seagate 2TB, Hitachi Coolspin 2TB x 4 Data Drives + 2TB x 2 Parity Drives using FlexRaid 2.0 (RAID6 T2+) SageTV: 7.1.9 Final ? |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Save Downloaded File" save location | robind | SageTV Software | 1 | 05-31-2011 06:21 AM |
Can I move "watched" info? | fabiotv | SageTV Software | 2 | 08-03-2009 08:00 PM |
"Set defaults" for Series forgets "Keep"/"Auto-delete" setting | maxpower | SageMC Custom Interface | 9 | 05-14-2008 09:44 PM |
Video "Watched" Behaviour | malbec | SageTV Software | 1 | 06-14-2006 12:51 PM |
How can I prevent/delete Imported files listed in the "Search for Programs to Record" | ke6guj | SageTV Beta Test Software | 4 | 10-10-2005 01:52 PM |