SageTV Community  

Go Back   SageTV Community > General Discussion > General Discussion
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

General Discussion General discussion about SageTV and related companies, products, and technologies.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-20-2007, 10:12 PM
jominor's Avatar
jominor jominor is offline
Sage Expert
 
Join Date: Dec 2003
Posts: 573
We need an archive function where we can assign a drive!

Well, I just lost a 250 gig Maxtor with a boatload of shows. I can tell you, YouTube and Google video support is not nearly as useful(to me anyway) as being able to easily move shows to a partition for compression and backup.

I humbly ask that this function's inclusion is reviewed.
Reply With Quote
  #2  
Old 02-20-2007, 10:33 PM
flavius flavius is offline
Sage Icon
 
Join Date: May 2004
Location: New Hampshire
Posts: 1,257
Seconded. Some archive function that would allow us to control the storage would be great.
Reply With Quote
  #3  
Old 02-20-2007, 10:57 PM
korben_dallas's Avatar
korben_dallas korben_dallas is offline
Sage Icon
 
Join Date: Oct 2004
Location: USA
Posts: 1,250
thirded
__________________
SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming
Reply With Quote
  #4  
Old 02-21-2007, 10:21 AM
perfessor101 perfessor101 is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: Vancouver, British Columbia, Canada
Posts: 246
fourthted

either an archive function or a move_recording api call ...
__________________
SageTV Server: Windows 7 64Bit, Phenom II X6 1090T, Asus M4A89GTD-PRO/USB3 (AM3), ATI Radeon HD 4290, 2 x KHX1600C9D3/4GX, 4 x HD-PVR2 Gaming, , 4 x 320GB recording drives, 2 x USB-UIRT, SageTV Server Beta
SageTV Client & 2 x HD-300 Extender.
40.8TB unRaid 6.6.5 media server
Reply With Quote
  #5  
Old 02-21-2007, 10:58 AM
mattdcknsn's Avatar
mattdcknsn mattdcknsn is offline
Sage Aficionado
 
Join Date: Mar 2005
Location: Leesburg, VA
Posts: 338
I agree, this would be a BIG help.


oh, I fifthed
Reply With Quote
  #6  
Old 02-21-2007, 11:39 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by perfessor101
...or a move_recording api call ...
As far as APIs go, we already have DeleteFileWithoutPrejudice, AddMediaFile, and SetMediaFileAiring. Can't you do something with those?
__________________
-- Greg
Reply With Quote
  #7  
Old 02-21-2007, 11:55 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
There is also a StartFileCopy() API call to check out, if that might help create a customization.

- Andy
Reply With Quote
  #8  
Old 02-21-2007, 11:59 AM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
And from a regular client you can use CopyToLocalFile to get this.

Edit: I knew there was a better option than CopyToLocalFile just couldn't remember the name.

Last edited by BobPhoenix; 02-21-2007 at 12:26 PM.
Reply With Quote
  #9  
Old 02-21-2007, 05:21 PM
jominor's Avatar
jominor jominor is offline
Sage Expert
 
Join Date: Dec 2003
Posts: 573
Quote:
Originally Posted by GKusnick
As far as APIs go, we already have DeleteFileWithoutPrejudice, AddMediaFile, and SetMediaFileAiring. Can't you do something with those?
If we can get Googlevideo and Youtube, why not an integrated feature implemented without the hassle. IMO, this would require at least a new plugin and would be something that people, again, IMO, would want out of the box.

It should be a setting. You define a folder as the archive folder. If you archive, the systems copies the file, updates the wizard.bin, verifies free space before copying, copying, and deleting. Oh, and a good rollback.

Unarchive should do the reverse, except prompt you to where you want the folder.

Of course, this would be trivial to do without a specific API if the wizard.bin was a text or DB and not a binary file.

The synergy would be tremendous when combined with the archive and compression functions.
Reply With Quote
  #10  
Old 02-21-2007, 06:58 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by jominor
If we can get Googlevideo and Youtube, why not an integrated feature implemented without the hassle. IMO, this would require at least a new plugin and would be something that people, again, IMO, would want out of the box.
I don't dispute this. But perfessor asked for an API, and we're pointing out that the necessary APIs already exist.

Quote:
Of course, this would be trivial to do without a specific API if the wizard.bin was a text or DB and not a binary file.
I don't get this part. Sage.properties is text, but that doesn't make it trivial to modify. You have to stop Sage to edit it manually, or else go through the API and let Sage do the modification. Why would wiz.bin be any different?
__________________
-- Greg
Reply With Quote
  #11  
Old 02-21-2007, 07:16 PM
jominor's Avatar
jominor jominor is offline
Sage Expert
 
Join Date: Dec 2003
Posts: 573
Quote:
Originally Posted by GKusnick
I don't dispute this. But perfessor asked for an API, and we're pointing out that the necessary APIs already exist.


I don't get this part. Sage.properties is text, but that doesn't make it trivial to modify. You have to stop Sage to edit it manually, or else go through the API and let Sage do the modification. Why would wiz.bin be any different?
A text file can be edited with any editor. Wiz.bin is a binary file with a format that is unknown and must be reversed engineered. An API would be needed to easily say, change the name of the file.

Currently, there appears to be a considerable amount of hoop jumping. If this data was stored in a database or text file, then simple jdbc calls or string manipulation can be performed even in the absence of specific APIs.
Reply With Quote
  #12  
Old 02-21-2007, 08:07 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by jominor
A text file can be edited with any editor.
Not while Sage is running. Correct me if I'm wrong, but aren't you asking for a way to move files without shutting down Sage?

Quote:
If this data was stored in a database or text file, then simple jdbc calls or string manipulation can be performed even in the absence of specific APIs.
But the APIs do exist, and they're not that much more complicated than simple jdbc or string functions. The part I'm not getting is why you think it would be safer or more reliable to go behind Sage's back to mess with wiz.bin directly instead of going through the APIs Sage has provided for that purpose.

I'm not trying to pick a fight here. I just don't see how hitching your simple feature request to something as radical as a wiz.bin format change is going to get you what you want in any reasonable time frame.
__________________
-- Greg
Reply With Quote
  #13  
Old 02-22-2007, 10:13 AM
jominor's Avatar
jominor jominor is offline
Sage Expert
 
Join Date: Dec 2003
Posts: 573
Quote:
Originally Posted by GKusnick
Not while Sage is running. Correct me if I'm wrong, but aren't you asking for a way to move files without shutting down Sage?


But the APIs do exist, and they're not that much more complicated than simple jdbc or string functions. The part I'm not getting is why you think it would be safer or more reliable to go behind Sage's back to mess with wiz.bin directly instead of going through the APIs Sage has provided for that purpose.

I'm not trying to pick a fight here. I just don't see how hitching your simple feature request to something as radical as a wiz.bin format change is going to get you what you want in any reasonable time frame.
I don't think you're picking a fight. We're just talking. I fully admit to "muddying" the waters a bit beyond my original request when we started talking about the API. I've always thought that a different format for the database would make it easier to implement or extend certain functions in Sage. For example, the Word doc binary format is a nightmare to figure out and interoperability is a hassle. I write java apps and people always want the output to eventually emit .docs. Therefore, I'm pretty excited out the xml format changes of office 2003 and better. It will make my life easier and I can stop using RTF as compromise.

Same, IMO, for the wiz.bin. I think that it would be easier to integrate with Sage if wiz.bin was something other than a binary file. Now, all that being said, I could be stuck in the past. This is been on my mind on and off for a while ever since hearing about Studio and its been a while(a long while) since I've looked at the API and I could be stuck in the past.

However, as it relates to the archive feature, I was lobbying more for an out of the box, than plugin or STV change.
Reply With Quote
  #14  
Old 02-22-2007, 10:24 AM
jlindborg's Avatar
jlindborg jlindborg is offline
Sage Aficionado
 
Join Date: Dec 2004
Location: Seattle
Posts: 335
Just as a side note, I've noticed in 6.x (I had not tested this for a while so they may not be new behavior) that I can move shows between drives while Sage is running without a problem.

I was feeling the pain on this as well since I record locally and move shows off to my NAS during the night - I had written a script to do this that involved shutting down the Sage service, moving files and then starting the service - from time to time this would jack up the serial control of my DirecTV boxes so I tried it without shutting down sage - works like a champ and has been for a few weeks now.

When I tested this last (well over a year ago) it caused all kinds of issues when I did this - now it seems to handle it fine. Should make implementing something along these lines pretty trivial.
__________________
Server: 2 PVR 150s hooked to DirectTV tuners w/ serial control. 1 HDHR unit with Comcast QAM. Intel duo core 2.4 GHz, 1 gig RAM. 500 Gig SATA. ReadyNAS with 4 500 Gig WD drives. Sage 6.
Clients:
Living room: HD Extender w/ Pannasonic 42" plasma via HDMI cable.
Basement: HD Extender connected to Dell projector.
Back room: MVP 1000 hooked to 21" CRT TV.
Bedroom: MVP 1000 hooked to 27" CRT TV.
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
SageTV FAQ Narflex SageTV Software 45 04-15-2011 08:34 AM
Question on replacing recording drive Fountainhead SageTV Software 2 01-12-2007 09:15 PM
? About Moving Recordings to Another Drive geogecko SageTV Software 14 12-05-2006 06:43 PM
Hard drive not recognized by name robinson Hardware Support 9 08-25-2006 08:07 AM
Recording drive question (calling all hard drive experts!) Kirby Hardware Support 4 07-17-2006 12:01 PM


All times are GMT -6. The time now is 12:21 PM.


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