SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-30-2009, 06:58 PM
jominor's Avatar
jominor jominor is offline
Sage Expert
 
Join Date: Dec 2003
Posts: 573
Feature Request: Enhanced Archive

We should be able to set a drive or folder for the archive. That way, anything we archive goes onto that drive or folder.

We could then back up...JUST THAT DRIVE OR FOLDER as our most important content. Or even compress just the stuff that is basically considered long term storage.

Currently, archive must sets a 'Don't delete' flag.
Reply With Quote
  #2  
Old 10-30-2009, 07:58 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
I agree that the existing Archive feature is not very useful, but my preferred solution would be to get rid of it altogether and replace it with two separate features:

1. The ability to assign keywords to recordings and favorites, and to sort/filter the list of recordings based on keyword. This seems like it would have to be implemented in the core.

2. The abililty to move recordings automatically into folders based on title, channel, date, keyword, or whatever arbitrary rule you like. This could be done as a core feature or as a third-party add-on. Sage Job Queue already has most of the framework needed for this sort of thing.
__________________
-- Greg
Reply With Quote
  #3  
Old 10-30-2009, 08:07 PM
jominor's Avatar
jominor jominor is offline
Sage Expert
 
Join Date: Dec 2003
Posts: 573
Quote:
Originally Posted by GKusnick View Post
I agree that the existing Archive feature is not very useful, but my preferred solution would be to get rid of it altogether and replace it with two separate features:

1. The ability to assign keywords to recordings and favorites, and to sort/filter the list of recordings based on keyword. This seems like it would have to be implemented in the core.

2. The abililty to move recordings automatically into folders based on title, channel, date, keyword, or whatever arbitrary rule you like. This could be done as a core feature or as a third-party add-on. Sage Job Queue already has most of the framework needed for this sort of thing.
Works for me, but neither of these would handle the need for a 'Don't ever delete me.' Keep archive and add those items,but gives us a way to consolidate the really important shows into once place.
Reply With Quote
  #4  
Old 10-30-2009, 08:16 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by jominor View Post
Works for me, but neither of these would handle the need for a 'Don't ever delete me.'
If that's all that Archive means, then it's redundant with Manual recording status.
__________________
-- Greg
Reply With Quote
  #5  
Old 10-30-2009, 08:35 PM
jominor's Avatar
jominor jominor is offline
Sage Expert
 
Join Date: Dec 2003
Posts: 573
Quote:
Originally Posted by GKusnick View Post
If that's all that Archive means, then it's redundant with Manual recording status.
Manual means "record me." It doesn't make as much sense, to me anyway, for shows that have already been recorded. The most important use of the flag, again for me, is to move it out of the Sage recordings.

I think that this is very useful. Pull long term stuff out of the more transitory list. For example, I've rename the option to 'TV Library'. While they clearly overlap, I do think that they serve two different purposes.
Reply With Quote
  #6  
Old 10-30-2009, 09:12 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
I guess what I'm saying is that while there may be useful definitions of the "Archive" concept (such as the one you're proposing), it should not be up to the core to enforce a particular definition. Instead, the core should provide API methods for classifying recordings according to some user-defined scheme (i.e. keywords), controlling the autodeletion eligibility of recordings (via Manual status or some more direct method), and moving recordings painlessly from one folder or drive to another. With those tools, it would be possible for the UI (or a UI add-on) to implement an Archive feature that would meet your needs, but it would also open up a whole range of other useful features as well (such as sorting recordings into folders by title, or by Grownups v. Kids, or whatever).
__________________
-- Greg
Reply With Quote
  #7  
Old 10-30-2009, 09:24 PM
jominor's Avatar
jominor jominor is offline
Sage Expert
 
Join Date: Dec 2003
Posts: 573
Quote:
Originally Posted by GKusnick View Post
I guess what I'm saying is that while there may be useful definitions of the "Archive" concept (such as the one you're proposing), it should not be up to the core to enforce a particular definition. Instead, the core should provide API methods for classifying recordings according to some user-defined scheme (i.e. keywords), controlling the autodeletion eligibility of recordings (via Manual status or some more direct method), and moving recordings painlessly from one folder or drive to another. With those tools, it would be possible for the UI (or a UI add-on) to implement an Archive feature that would meet your needs, but it would also open up a whole range of other useful features as well (such as sorting recordings into folders by title, or by Grownups v. Kids, or whatever).
Agreed. Now if only Narflex would do it!
Reply With Quote
  #8  
Old 10-30-2009, 09:24 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by GKusnick View Post

2. The abililty to move recordings automatically into folders based on title, channel, date, keyword, or whatever arbitrary rule you like. This could be done as a core feature or as a third-party add-on. Sage Job Queue already has most of the framework needed for this sort of thing.
And tonight I started testing what would probably be the final piece required for this. Since I got my NAS online a few weeks back, I've been working on a task that does this exact archiving task. Tonight I was able to complete an initial version and started running it. It's working, but it's still too early to release this feature to the public because of the severe damage it could cause. However, I'm using it right now to archive all my syndicated shows from the local recording drive onto my new NAS and so far so good...

This ruleset in SJQ (3.x):

Code:
// Archive recordings of Family Guy, Seinfeld and Friends, skip ones already archived
if [IsObjMediaFile == true && $.IsFileCurrentlyRecording{} == false && $.IsTVFile{} == true && $.IsLibraryFile{} == false && $.GetShowTitle{} =% "Family Guy|Seinfeld|Friends"] {
   :MOVERECOPTS "\\\\nas\\tv" # Archive the recordings into tv dir on nas
   _MOVEREC
}
Results in this output (and the recording successfully gets copied to the NAS, is verified, relinked into the wiz.bin and the original file deleted.

Code:
Fri Oct 30 22:34:19 EDT 2009
Source: D:\tv\FamilyGuy-ItTakesaVillageIdiotandIMarriedOne-902903-0.mpg
Target: \\nas\tv
Renaming source file... DONE!
Copying source file to target directory... DONE!
Deleting source media object in SageTV... DONE!
Renaming target file... DONE!
Creating SageTV media object for target file... DONE!
Relinking target file to SageTV airing... DONE!
Deleting source file... DONE!
Copying artifacts... DONE!
Archive operation completed SUCCESSFULLY!
Fri Oct 30 22:35:36 EDT 2009
The task also detects a failed step and triggers a rollback. My #1 goal for this project: allow the moving of recordings without the need to stop SageTV at all. If I can't script the moves automatically then the whole idea is useless to me. My initial testing tonight proves that scripted moves of recordings while SageTV is running will be possible.

This feature will be a part of SJQ v3.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Feature request fabiotv SageTV Software 4 01-26-2009 01:18 AM
Feature Request: More configuration to the Auto-Delete feature jbarr SageTV Software 21 06-19-2007 03:56 PM
New Feature: Define Archive to specific directory jominor SageTV Software 10 02-21-2007 07:10 PM
Yet Another Feature Request Omegadsl SageTV Software 0 05-25-2003 10:18 AM
Feature Request Omegadsl SageTV Software 2 05-23-2003 07:17 PM


All times are GMT -6. The time now is 10:41 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.