SageTV Community  

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

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-21-2007, 10:38 PM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Diskspace Rules?

Does anyone know why you can't set the Diskspace Rule on the default Video Recording Directories screen? For example, I'd like to set it up to use all except 10G. (The manual seems to indicate that the Windows version doesn't have this restriction, but I haven't used SageTV on Windows so I can't confirm this.)

I can add a new directory (say on a different drive) and set a Diskspace Rule on that, but I'm confused why SageTV doesn't let me set a rule on the default directory (/var/media/tv).

I could always set the default partition to a tiny (say 1G) size and add a new directory on another partition with the limits I want, but that seems silly.

John
Reply With Quote
  #2  
Old 06-22-2007, 12:25 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
In Linux, the paths listed on the seeker/default_linux_recording_paths property are locked down, so you can't change them. Don't clear that property, or else it will just return to the default value, but you can try changing the path(s) listed there to something else that won't affect your actual recording location. I don't think there are any negative effects.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #3  
Old 06-22-2007, 03:01 PM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Quote:
Originally Posted by Opus4 View Post
In Linux, the paths listed on the seeker/default_linux_recording_paths property are locked down, so you can't change them. Don't clear that property, or else it will just return to the default value, but you can try changing the path(s) listed there to something else that won't affect your actual recording location. I don't think there are any negative effects.

- Andy
I don't see that setting in Sage.properties at all, or anything similar that starts with "seeker", does it only appear if you set additional paths? I'm running 6.1.9.1 if it makes a difference.

I'm still interested in the reasoning why SageTV doesn't allow me to set a "reserve XX GB" value for the default location.

In practice, when does SageTV consider the disk "full" and start deleting things - when there is only 1G left? 500M? 20M? There must be some safety margin.

Ideally, I'd like to be able to set this margin somehow (the Diskspace Rule seems most obvious) so that if I'm managing and pushing content to SageTV from another source (say for pictures or music) and syncing the data over I don't accidentally fill up the media partition.

John
Reply With Quote
  #4  
Old 06-22-2007, 03:06 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by jpwegas View Post
I don't see that setting in Sage.properties at all, or anything similar that starts with "seeker", does it only appear if you set additional paths? I'm running 6.1.9.1 if it makes a difference.
Oh -- it is a property that is local to the UI, for some reason. It will be server based in the future, but for now, check the Placeshifter properties in the server's "clients" subdirectory.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #5  
Old 06-23-2007, 12:13 AM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Quote:
Originally Posted by Opus4 View Post
Oh -- it is a property that is local to the UI, for some reason. It will be server based in the future, but for now, check the Placeshifter properties in the server's "clients" subdirectory.

- Andy
I don't see this setting in anything in the clients directory either. I did a string search on all the Sage files (including binaries) and I don't see the string "default_linux_recording_paths" anywhere.

It seems strange that this would be in clients - what would happen if different clients have different settings, that might possibly conflict. Although... this could actually be an interesting feature - different placeshifter or mvp clients point to different recorded tv paths.

--John
Reply With Quote
  #6  
Old 06-23-2007, 12:44 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by jpwegas View Post
I don't see this setting in anything in the clients directory either. I did a string search on all the Sage files (including binaries) and I don't see the string "default_linux_recording_paths" anywhere.
That sounds like you were looking in the 'client' directory, not the 'clients' subdirectory of the 'server' directory. There should only be .properties files in that dir, no binaries. Look in /opt/sagetv/server/clients/

Quote:
It seems strange that this would be in clients - what would happen if different clients have different settings, that might possibly conflict.
That's why I said:
Quote:
Originally Posted by Opus4 View Post
... It will be server based in the future ...


- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #7  
Old 06-23-2007, 11:51 AM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Quote:
Originally Posted by Opus4 View Post
That sounds like you were looking in the 'client' directory, not the 'clients' subdirectory of the 'server' directory. There should only be .properties files in that dir, no binaries. Look in /opt/sagetv/server/clients/

- Andy
Sorry, I wasn't very clear in my previous message.

I first looked in "clients" (i.e. /opt/sagetv/server/clients, which just has .properties files), and none of those files contained the string "default_linux_recording_paths".

So I decided to take the brute force method and recursively search everything under /opt/sagetv:

cd /opt/sagetv
find . -exec strings {} \; | grep -i default_linux_recording_paths

No results.

Maybe that value is only added to the .properties files in certain situations?

--John
Reply With Quote
  #8  
Old 06-23-2007, 10:10 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
I'm not sure what to suggest. The exact name of the property in the default STV is:

seeker/default_linux_recording_paths

On my Linux system, it is in a properties file in the /opt/sagetv/server/clients/ directory, with a value of /var/media/tv

The properties are in alphabetical order, so if it isn't in the 'seeker' area, then I don't know why my system is different.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #9  
Old 06-24-2007, 12:07 AM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Quote:
Originally Posted by Opus4 View Post
I'm not sure what to suggest. The exact name of the property in the default STV is:

seeker/default_linux_recording_paths

On my Linux system, it is in a properties file in the /opt/sagetv/server/clients/ directory, with a value of /var/media/tv

The properties are in alphabetical order, so if it isn't in the 'seeker' area, then I don't know why my system is different.

- Andy
Ok, so I did a little more digging and look what I found in Sage.properties:

seeker/video_storage=/var/media/tv,20000000000,3;

I'm assuming this is the equivalent setting and it was renamed at some point and default_linux_recording_paths is a leftover in your properties file from the earlier version. Since I'm new here (started with 6.1.9.1) my property files were created new and don't have the older names.

I did a little experimenting and if you add video recording directories, they appear at the end of this list. The larger value appears to be the size (in bytes) to use or to leave free. The last number is (1) use only, (2) leave free or (3) use all.

I'm not sure if the large value has any meaning if it's "use all". Perhaps this is the freespace threshhold point at which SageTV decides the disk is "full" and starts to delete things? (Since actually filling up the disk to 100% is usually a bad thing. )

--John
Reply With Quote
  #10  
Old 06-24-2007, 12:23 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by jpwegas View Post
Ok, so I did a little more digging and look what I found in Sage.properties:

seeker/video_storage=/var/media/tv,20000000000,3;

I'm assuming this is the equivalent setting and it was renamed at some point and default_linux_recording_paths is a leftover in your properties file from the earlier version. Since I'm new here (started with 6.1.9.1) my property files were created new and don't have the older names.
Since I wrote the STV, I'm pretty sure mine is up to date. That property is still in use.

The seeker/video_storage property is completely different & is used to define all recording dirs. The other one limits your ability to modify the default path in the UI when using Linux.

One thing I forgot to suggest is to go to the "Run Configuration Wizard" menu & then exit that menu. That forces the properties to be saved -- for all I know, maybe the property just hadn't been saved yet for some reason. I thought it would have been saved by now.

Quote:
I did a little experimenting and if you add video recording directories, they appear at the end of this list. The larger value appears to be the size (in bytes) to use or to leave free. The last number is (1) use only, (2) leave free or (3) use all.

I'm not sure if the large value has any meaning if it's "use all". Perhaps this is the freespace threshhold point at which SageTV decides the disk is "full" and starts to delete things? (Since actually filling up the disk to 100% is usually a bad thing. )
Yes, you could manually edit the list of recording dirs & change those numbers yourself, as you've seen. Getting the other property changes makes it easier for you to change those recording dir settings in the future. Oh -- and, that number has no meaning for the "Use All" option.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #11  
Old 06-24-2007, 11:31 AM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Quote:
Originally Posted by Opus4 View Post
Since I wrote the STV, I'm pretty sure mine is up to date. That property is still in use.
Oh.

Quote:
Originally Posted by Opus4 View Post
The seeker/video_storage property is completely different & is used to define all recording dirs. The other one limits your ability to modify the default path in the UI when using Linux.
Ah! Enlightenment! It just clicked. Sorry it took so long.

Quote:
Originally Posted by Opus4 View Post
One thing I forgot to suggest is to go to the "Run Configuration Wizard" menu & then exit that menu. That forces the properties to be saved -- for all I know, maybe the property just hadn't been saved yet for some reason. I thought it would have been saved by now.
The clients/*.properties file had been saved recently but I did this again. The timestamp on the file was updated but I still don't see that value.

Quote:
Originally Posted by Opus4 View Post
Yes, you could manually edit the list of recording dirs & change those numbers yourself, as you've seen. Getting the other property changes makes it easier for you to change those recording dir settings in the future. Oh -- and, that number has no meaning for the "Use All" option.
So sort of back to my original question. At what point does SageTV start thinking the disk is "too full" and needs to start deleting things - I'm assuming there is some sort of safety margin. (If it's on the order of 10+ GB or so then I think I'm fine.) It sounds like I can safely change the video_storage value in Sage.properties so that it's "leave free 20G" instead of "use all". Is the default not changable in the GUI simply to avoid people changing the setting to a value that wipes all their recordings?

--John
Reply With Quote
  #12  
Old 06-24-2007, 12:06 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by jpwegas View Post
So sort of back to my original question. At what point does SageTV start thinking the disk is "too full" and needs to start deleting things - I'm assuming there is some sort of safety margin. (If it's on the order of 10+ GB or so then I think I'm fine.) It sounds like I can safely change the video_storage value in Sage.properties so that it's "leave free 20G" instead of "use all".
It uses as much as it thinks it safely can use. That's about as much detail as I can give.

If you want to control how much space is left free, then you'll have to use the "Leave Free" setting.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #13  
Old 07-01-2007, 09:14 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Sorry -- I now understand why you couldn't find the property I was telling you to change, and I can't believe I did this to you! When I'm answering questions on the forum, I try very hard not to describe how to use something that isn't in the public release version, but as I was looking over some of the new features for the v6.2 STV, I realized that the seeker/default_linux_recording_paths property is new for v6.2.

In other words, my STV was too new. The change was made right about the time v6.1.9 came out, so I figured it was in that version... that's the excuse I'll stick with.

The v6.2 beta release lists Linux downloads that should have this setting now. (I haven't yet updated my Linux system using those downloads.)

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #14  
Old 08-31-2007, 09:27 AM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Quote:
Originally Posted by Opus4 View Post
Sorry -- I now understand why you couldn't find the property I was telling you to change, and I can't believe I did this to you! When I'm answering questions on the forum, I try very hard not to describe how to use something that isn't in the public release version, but as I was looking over some of the new features for the v6.2 STV, I realized that the seeker/default_linux_recording_paths property is new for v6.2.

In other words, my STV was too new. The change was made right about the time v6.1.9 came out, so I figured it was in that version... that's the excuse I'll stick with.

- Andy
Andy,
Not a problem! I understand.

(Sorry I didn't reply sooner, I had lost track of this thread somehow.)

Thanks,

--John
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
Judge rules in favor of Kaleidescape.. DVD's may be stored on HDD korben_dallas General Discussion 5 03-30-2007 02:06 PM
Parent/child rules in machine-readable form? GKusnick SageTV Studio 5 03-02-2007 02:05 AM
New DST Rules hmca General Discussion 3 02-27-2007 09:02 PM
Sage property for Diskspace font vanhln SageTV Customizations 2 07-07-2006 10:48 PM
Explanation of forum rules Opus4 General Discussion 2 02-18-2005 02:11 AM


All times are GMT -6. The time now is 02:42 PM.


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