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
  #21  
Old 01-26-2007, 02:22 PM
joe123 joe123 is offline
Sage Fanatic
 
Join Date: Jan 2006
Posts: 954
Quote:
Originally Posted by Opus4
For everyone following this topic... a future version of SageTV will be more conservative in terms of removing data for older airings.
- Andy
That would help a lot of SageTV users. Please make it a variable with a range setting that people can adjust - like 1-60 days or something like that.

By the way, what is it set to now? One day?
Reply With Quote
  #22  
Old 01-26-2007, 02:25 PM
Nate Nate is offline
Sage Advanced User
 
Join Date: Jun 2004
Posts: 92
I don't think it exists right now. Currently Sage only keeps EPG data for recordings it knows exist. If you move the file and start Sage, it sees the file no longer exists and it deletes the EPG data right then.

Reply With Quote
  #23  
Old 01-26-2007, 02:53 PM
joe123 joe123 is offline
Sage Fanatic
 
Join Date: Jan 2006
Posts: 954
Quote:
Originally Posted by Nate
If you move the file and start Sage, it sees the file no longer exists and it deletes the EPG data right then.
AHHHRRR!

Talk about WAF going down the toilet quickly
Reply With Quote
  #24  
Old 01-26-2007, 03:18 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
The cache of EPG data is cleared of unused content daily when the EPG data updates. If you look at the Program Guide screen, you will see that old data is kept for 2 days. After that, unused info is cleared. So, if recordings older than 2 days are removed, the info should be removed when the EPG is next updated.

You can actually prevent the old data from being cleared right now via the wizard/disable_maintenance property... set it to true & nothing should get dumped... of course wiz.bin will then grow very large fairly quickly.

- 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
  #25  
Old 01-26-2007, 03:37 PM
elaw elaw is offline
Sage Advanced User
 
Join Date: Mar 2005
Location: Wilmington, MA, USA
Posts: 179
For what it's worth, I'll second the "configurable" suggestion.

All it would take is one property in setup, "Remove airing info for deleted/missing files after X days".
__________________
Be alert! America needs more lerts.

Eric Law
Reply With Quote
  #26  
Old 01-26-2007, 05:09 PM
Nate Nate is offline
Sage Advanced User
 
Join Date: Jun 2004
Posts: 92
Quote:
Originally Posted by Opus4
The cache of EPG data is cleared of unused content daily when the EPG data updates. If you look at the Program Guide screen, you will see that old data is kept for 2 days. After that, unused info is cleared. So, if recordings older than 2 days are removed, the info should be removed when the EPG is next updated.
So you are saying that Sage just happend to do an EPG update between the time I moved my recordings from one drive to another and added the new videos directory to Sage? This was maybe a 60 minute window. I tend to think that Sage deleted the EPG data for the recordings as soon as it was started and saw the recordings were no longer there.

Quote:
Originally Posted by Opus4
You can actually prevent the old data from being cleared right now via the wizard/disable_maintenance property... set it to true & nothing should get dumped... of course wiz.bin will then grow very large fairly quickly.
I assume this would keep all EPG data forever? To be clear, what we need is a property that keeps all EPG data only for shows that Sage has recorded.

The wizard/disable_maintenance may be an easier and more fool proof mechanism for moving videos than the current steps given in the FAQ. Set this to true, do whatever you want with the videos because Sage isn't going to delete the EPG data for them, when you are done set it back to false. Of course someone needs to be the guinea pig first.
Reply With Quote
  #27  
Old 01-26-2007, 07:19 PM
hemicuda's Avatar
hemicuda hemicuda is offline
Sage Icon
 
Join Date: May 2006
Location: north of Chattanooga, Tennessee
Posts: 1,118
Quote:
Originally Posted by Nate
The wizard/disable_maintenance may be an easier and more fool proof mechanism for moving videos than the current steps given in the FAQ. Set this to true, do whatever you want with the videos because Sage isn't going to delete the EPG data for them, when you are done set it back to false. Of course someone needs to be the guinea pig first.
I'd volunteer, but I'm only a lowly Chicken.
__________________
Server: MS Win7 SP1; FX8350 (H2O cooled); 8GB RAM; Hauppauge HVR-7164 (OTA); HVR-885 (OTA); SageTV 9.1.5.x; 12+TB Sage Storage

Clients: HD300 x2; HD200 x2; Placeshifter

Service: EPB Fiber (1Gb); OTA (we "cut the cord"); Netflix, Hulu, etc.
Reply With Quote
  #28  
Old 04-19-2007, 12:12 AM
alon24 alon24 is offline
Sage Aficionado
 
Join Date: Jun 2004
Posts: 351
Sorry to bring this thread back from the dead.
I am suffering some wiz.bin problems, and I would like to backup everything and move to a new wiz.bin

How do you backup and restore favorites? I see that the webserver has an xml representation of the favorites, but how can I put them back in( not manually)???

Is there a Fav importer? Nielm, can you add this to the webserver?

I am in a bind, my wiz.bin is corrupt and will not work in service mode (works in non service), I would like to back it up and then move to a new wiz.bin.

I have 40 FAVs, and 35 shows (or so) recorded( deleted all others), and would like all the data kept.

For the shows I can use Nielms XML, which is generated from the webserver (althogh you have to go one show at a time, it would be greate to have an impoter in the webserver, that accepts all the shows in an xml).

But what about FAvorites???
__________________
Server
SageTv 6.3.5, Core2Duo 6300 ,2Gigs ,Saphire x1650, PVR250, 2*320GB + 160GB, java 1.6.1
Client
SageTV Client 6.3.5 , AMD 3000, 1024Mb, Saphire x1600Pro256HDMI, java 1.6.1

Using Nielm's Web server 2.22
Reply With Quote
  #29  
Old 04-19-2007, 01:02 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
The xml importer (for faves, recordings, and watched history) has been on my todo list for quote a while...

I have some time on my hands at the moment so I will have a go... BTW, IIRC you have Right-to-left text in your EPG... Does the XML get correctly generated for that?
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #30  
Old 04-19-2007, 01:28 AM
alon24 alon24 is offline
Sage Aficionado
 
Join Date: Jun 2004
Posts: 351
Yes Nielm, your code (dince the last fix) is working great for my Hebrew RTL EPG.

The "unofficial secrets" code for generating XML show data is not working ok for UTF-8 Hebrew names.

So maybe I could make a few requests:
1. Export a set of shows to xml (instead of 1 by 1)
2. Export all the info in the db, relating to ariings, so that would be a dump of epg data too (by show id)?

3. and of course retirival of all the data into the wiz.bin, maybe with an option to import all / or just what you have files for.
Meaning I might want to backup my wiz.bin, into a safe env, edit it, and bring it back to another wiz.bin.

I do not realy care about the show histories (I care, but thats the least of it).

I want to thank you for your help. It is gr8ly appreciated.
alon24
__________________
Server
SageTv 6.3.5, Core2Duo 6300 ,2Gigs ,Saphire x1650, PVR250, 2*320GB + 160GB, java 1.6.1
Client
SageTV Client 6.3.5 , AMD 3000, 1024Mb, Saphire x1600Pro256HDMI, java 1.6.1

Using Nielm's Web server 2.22
Reply With Quote
  #31  
Old 04-19-2007, 06:10 AM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
I had a corruption like this and I even when as far as sending the Wiz.Bin to Sage to see if they could fix the corruption. However I managed to fix it myself first. I had the same problem - it wouldn't work in service mode but would in GUI mode. It wanted to drop the EPG info on about half of the shows I recorded. It kept creating wiz.bin.precompressed.ids backup files of my wiz.bin when it was rebooted - even in GUI mode. Every time this would happen I would have to shut down and rename the wiz.bin.precompressed.ids to wiz.bin and I would get my EPG info back - until the next boot anyway. I finally had a moment to do some testing and was able to fix it by letting Sage loose the info on those files and at the same time upgrading to a newer version of SageTV (version 6.1.4 at the time). This upgrade fixed the corruption in the file but the same process would not work when I used the wiz.bin.precompressed.ids file. But by doing this I still had all of my favorites and half the EPG info on current files and it will now work with service mode. Since I used the XML generator I have the show info I just have to convert it to .properties files and store them with the shows to get the epg info back - just haven't had time to do that.

So long story short - you might be able to let a SageTV upgrade fix your wiz.bin file - if you are not on the latest version anyway.
Reply With Quote
  #32  
Old 04-19-2007, 06:13 AM
alon24 alon24 is offline
Sage Aficionado
 
Join Date: Jun 2004
Posts: 351
Unfortunatly I am on the latest version
__________________
Server
SageTv 6.3.5, Core2Duo 6300 ,2Gigs ,Saphire x1650, PVR250, 2*320GB + 160GB, java 1.6.1
Client
SageTV Client 6.3.5 , AMD 3000, 1024Mb, Saphire x1600Pro256HDMI, java 1.6.1

Using Nielm's Web server 2.22
Reply With Quote
  #33  
Old 04-19-2007, 06:58 AM
thomaszoo thomaszoo is offline
Sage Aficionado
 
Join Date: Jun 2004
Location: Sacramento, CA
Posts: 487
Earlier this week I suddenly was not able to run in service mode. I haven't had a chance to trouble shoot it. Makes me wonder if others are also experiencing this. I too am on the most current version. I had tried replacing my Sage.Properties file, but had not thought about the wiz.bin (I have 10 versions of each). I will trouble shoot this weekend.

Wayne
Reply With Quote
  #34  
Old 04-19-2007, 07:02 AM
alon24 alon24 is offline
Sage Aficionado
 
Join Date: Jun 2004
Posts: 351
The thing is that i can run in service mode, is just that when the computer boots, it gets stuck on sage service initializing.

if i goto safemode, change sage service to disable, restart windows, and start the service manually it works ok.

I tried with logging, but it showed me nothing (i do not have access to it right now).
__________________
Server
SageTv 6.3.5, Core2Duo 6300 ,2Gigs ,Saphire x1650, PVR250, 2*320GB + 160GB, java 1.6.1
Client
SageTV Client 6.3.5 , AMD 3000, 1024Mb, Saphire x1600Pro256HDMI, java 1.6.1

Using Nielm's Web server 2.22
Reply With Quote
  #35  
Old 04-19-2007, 08:16 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by alon24 View Post
So maybe I could make a few requests:
1. Export a set of shows to xml (instead of 1 by 1)
2. Export all the info in the db, relating to ariings, so that would be a dump of epg data too (by show id)?
done and done. ('xml' button in Sage recordings, and search for all watched/don't like airings in the past, click 'xml').
Quote:
and of course retirival of all the data into the wiz.bin.
'of course' that is the tricky bit...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #36  
Old 04-19-2007, 08:43 AM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Quote:
Originally Posted by alon24 View Post
The thing is that i can run in service mode, is just that when the computer boots, it gets stuck on sage service initializing.

if i goto safemode, change sage service to disable, restart windows, and start the service manually it works ok.

I tried with logging, but it showed me nothing (i do not have access to it right now).
That was exactly my problem as well. The log was only 4K in size when it locked up and was useless
Reply With Quote
  #37  
Old 04-19-2007, 09:29 AM
thomaszoo thomaszoo is offline
Sage Aficionado
 
Join Date: Jun 2004
Location: Sacramento, CA
Posts: 487
I just realized that my problem isn't that service mode doesn't work, but that when service mode is running I can't run the GUI. But it works fine if I don't run it in service mode.

Wayne
Reply With Quote
  #38  
Old 04-19-2007, 10:16 AM
owilsky's Avatar
owilsky owilsky is offline
Sage Aficionado
 
Join Date: Dec 2004
Location: Germany
Posts: 447
Did you guys have a look at this thread:
http://forums.sagetv.com/forums/showthread.php?t=21629

This plugin can export (at least some of the) information from the wiz.bin into .my files or .properties files.
The good thing is that it can even reimport these information

If I understood Narflex or Andy correct, the .properties support will increase in coming versions of sagetv.
__________________
Oliver Kötter
------------
Check this thread for importing German TV Data into SageTV

Using SageTV 7.1.9, Java 1.6.0_24 Win7 Home Premium on an
Asus M4N78-AM Mainboard, AMD Athlon II X2 215, 4 GB RAM, 500 GB HDD, 2xTechnoTrend S-2400 as Network Encoder (LM DVB Smart Recorder), ATI Radeon HD 3450 with analog TV-Out on good old CRT TV (100Hz)
My avatar shows the world's best composer!!!
Reply With Quote
  #39  
Old 04-19-2007, 07:45 PM
src666 src666 is offline
Sage Aficionado
 
Join Date: Feb 2005
Posts: 459
I think a "layered" approach to cleanup would be the best solution.

First, clean up anything that wasn't "touched" - recorded, watched, etc. - that can obviously be tossed.

Second, things that were watched but not "recorded" can be tossed. I'm not sure if there is currently a designation that can catch these, but anything that wasn't a scheduled recording, favorite, or otherwise "purposefully" recorded.

Everything else can either be saved wholesale, or held for some period of time (user configurable is best, of course).

Just an opinion, but I think it makes a lot of sense.
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


All times are GMT -6. The time now is 07:48 AM.


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