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 11-07-2012, 12:02 PM
Phydeaux Phydeaux is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 222
Upgrade Issue – Lost “Watched” Status

As the subject suggests, the only thing I seem to have an issue with on my upgrade from the last version of SageTV v6 to the last version of SageTV v7 is that Sage no longer “knows” what I’ve already watched. Here’s the detail:

Current:
Working SageTV v6 server running XP and using R5000 to record TV on a local hard drive. Uses combination of XMLTV and XMLTV Import for SageTV for channel listings. No local client on the machine, we use a couple HDxx extenders. Works great, but tired of having to reboot it every few days and want to upgrade both hardware and OS, so might as well do SageTV software too.

General Plan:
New hardware is set up and Windows 7 64-bit installed. Want to do a clean install of SageTV v7, then shut down the old server, move the R5000 to the new one and copy wiz.bin from the old server to the new one. This should be easy to do in a two-hour window where there are no events scheduled to record. Then I can bring up the old server again, so that others in the house can continue watching other stuff in the Video library, and I can bring up the new server and configure/play/massage etc until I think it’s WAF is high before re-directing the extenders to the new server. Recording schedule should resume on the new server at the next scheduled recording.

Issue:
I followed the above general plan and everything is good – R5000 is working fine (live TV, manual scheduled recording etc), program guide is there after running an update, my favorites are all there and marked as such in the program guide, etc. However the first thing I notice is that there are a ton of recording conflicts, whereas there were none on the old server. Hmmmmm… further investigation reveals that NONE of shows that SageTV has previously recorded for me (and I’ve watched) are marked as watched. Therefore with the amount of multiple showings on many of the channels I frequent, the recording schedule is now clogged and there are a ton of conflicts.


Attempts to resolve:
Several strategies, such as copying over the entire SageTV v6 version and installing v7 on top etc. All to no avail. Another Sage Forum member – Fuzzy – has been patiently assisting, but I think he may be stumped now too. Help! I’ve got just over 100 favorites and if I can’t get my watched status back it’s going to mean a TON of baby-sitting and cross-referencing my long-term archives for every day of scheduling against conflicts for a long time and facing tons of recordings I’ll just end up deleting.

RLW
Reply With Quote
  #2  
Old 11-07-2012, 03:15 PM
MattHelm MattHelm is offline
Sage Icon
 
Join Date: Jun 2005
Location: Chicago, IL
Posts: 1,209
OK, I just this on my dad's server, except I was already on SageTV 7.x (whatever the latest is) on the old XP box, and we got all the "watched" shows.

You might try the following (backup first) Updated to SageTV 7.x on the XP box, then try the move.
__________________
Server #1= AMD A10-5800, 8G RAM, F2A85-M PRO, 12TB, HDHomerun Prime, HDHR, Colossus (Playback - HD-200)
Server #2= AMD X2 3800+, 2G RAM, M2NPV-VM, 2TB, 3x HDHR OTA (Playback - HD-200)
Reply With Quote
  #3  
Old 11-07-2012, 03:28 PM
Phydeaux Phydeaux is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 222
Thanks for the encouragement! I was thinking the same thing today. I've spent quite a bit of time the last few evenings attempting various approaches, but here is my plan for tonight:
  • Backup of the entire SageTV directory on the old server (after stopping the service).
  • Upgrade the old server to SageTV v7. Make sure the basics are working and the watched status is still there.
  • Fresh install of SageTV v7 on the new server, bring it up and make sure the basics are working.
  • Take the new SageTV service down and replace the wiz.bin file with the one from the upgraded old server.
  • Cross my fingers and bring the new server back up.

Of course, to keep the other family members happy, after upgrading the old server I'll keep just the wiz.bin and blow away the rest, replacing it with the old (original) SageTV directory, so they can continue to experience the interface they're used to (SageMC) while I continue to tinker on the new box.

Hey, since I just have one SageTV server license... are these two servers both using the same license going to "collide" on the network and cause problems? I'll be decommissioning the old one once I've finished tinkering, but I hope this won't be an issue for a few days...

I'll report back my experience....

RLW
Reply With Quote
  #4  
Old 11-07-2012, 04:33 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Are you sure your favorites are there? Did you do anything fancy to get them there (like export/import them via the web interface)? Reason I ask is it sounds like you lost your wiz.bin, or perhaps more accurately, Sage (due to W7 and UAC) isn't looking in the location you think it is, which would mean all your history would be gone.
Reply With Quote
  #5  
Old 11-07-2012, 05:02 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by Phydeaux View Post
Thanks for the encouragement! I was thinking the same thing today. I've spent quite a bit of time the last few evenings attempting various approaches, but here is my plan for tonight:
  • Backup of the entire SageTV directory on the old server (after stopping the service).
  • Upgrade the old server to SageTV v7. Make sure the basics are working and the watched status is still there.
  • Fresh install of SageTV v7 on the new server, bring it up and make sure the basics are working.
  • Take the new SageTV service down and replace the wiz.bin file with the one from the upgraded old server.
  • Cross my fingers and bring the new server back up.

Of course, to keep the other family members happy, after upgrading the old server I'll keep just the wiz.bin and blow away the rest, replacing it with the old (original) SageTV directory, so they can continue to experience the interface they're used to (SageMC) while I continue to tinker on the new box.

Hey, since I just have one SageTV server license... are these two servers both using the same license going to "collide" on the network and cause problems? I'll be decommissioning the old one once I've finished tinkering, but I hope this won't be an issue for a few days...

I'll report back my experience....

RLW
There is nothing but the EULA that prevents you from running the same server license on multiple servers no the network. It doesn't go checking for it. You should be fine.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #6  
Old 11-07-2012, 05:29 PM
Phydeaux Phydeaux is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 222
Quote:
Originally Posted by stanger89 View Post
Are you sure your favorites are there? Did you do anything fancy to get them there (like export/import them via the web interface)? Reason I ask is it sounds like you lost your wiz.bin, or perhaps more accurately, Sage (due to W7 and UAC) isn't looking in the location you think it is, which would mean all your history would be gone.
Thanks Stanger. This is an important piece of information I issed in my description. Yes, favorites are definately there. It was my first clue that watched status was missing - there were many conflicts showing in the recording schedule of the new server due to the repeat showing of shows that were not marked as watched. Whereas on the old server, I had zero conflicts when I shut it down and copied the wiz.bin file.

Thanks for the note Fuzzy. I have no intention of abusing the EULA, just need a bit of transition time before decommissiong the old box completely.

RLW
Reply With Quote
  #7  
Old 11-08-2012, 09:47 PM
Phydeaux Phydeaux is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 222
OK, I'm thinking the universe does not want Robert to run SageTV v7...

I shut down and then backed up my existing Sage directory on the working SageTV server. I upgraded to SageTV v7. After rebooting, I tried to start Sage via the SageTV service control panel. After about 30 minutes of it saying "Starting..." I closed the control panel and restarted it. It showed the service as stopped. I tried from the Windows Services panel and it would begin starting for a couple seconds, then stop, with a generic Windows message about some services not starting if they have nothing to do. OK, then I tried starting the Sage app instead of the service. It informed me I could only run it for 30? days evaluation, but when I clicked on OK another message popped up saying my v7 pre-evaluation had expired. If I tried the Register option, it would ask my name and license, which I providd (the v6 license), it accepts it, but then gives me the message about it not being a valid v7 license.

Ok, fine. So I copied the sage.exe and sageservice.exe files (the cracked ones that accept v6 licensing) into the Sage directory, over-writing the standard v7 ones. Trying to start the Sage service now does the same thing (above). Starting the Sage app fails, claiming an error and the app had to close.

I've uninstalled and reinstalled several times. Same exact problem. It never creates a wiz.bin. If I put my old wiz.bin in the directory, same exact thing. The wiz.bin never gets touched (same size, date etc).

I'm stuck. What now? Only thing I can think is that a year or so ago I did install the v7 pre-release, but didn't like it and backed it out. Still remnants of that causing my problem?

All I want to do is upgrade my wiz.bin to the v7 version so I can use it on the new server, retaining my extensive Watched status so my Favorites don't start recording every re-run I've already watched and archived.....

Help? Or is there no hope for me?

RLW

Last edited by Phydeaux; 11-08-2012 at 11:01 PM.
Reply With Quote
  #8  
Old 11-09-2012, 12:11 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
I don't know for sure, but it sounds like there is some corruption in your wiz.bin (it did use to happen with some frequency on earlier sage versions) that is hanging up the upgrade (and ultimately causing your problems). Either way, the proper way to do the upgrade, regarding the unlocked files, is to perform the upgrade, then copy in the new exe's, THEN start it up. That way it will still see your v6 registration and accept it as valid.

As for the wiz.bin, I'm not sure what else can be done. You can try contacting support, I'm not sure what tools they have to analyze the wiz.bin for corruption that could cause this.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #9  
Old 11-09-2012, 06:39 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
You could try exporting your history with the web interface, and then reimporting it. Thought it seems like I tried that once and it didn't do quite what I expected.
Reply With Quote
  #10  
Old 11-09-2012, 08:09 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stanger89 View Post
You could try exporting your history with the web interface, and then reimporting it. Thought it seems like I tried that once and it didn't do quite what I expected.
I don't believe you can export watched history. I think the exports are limited to favorites, recordings, and file metadata.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #11  
Old 11-09-2012, 08:31 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
I'll just throw this out there....

In BMT, when you browse a view (TV Shows), you can use the Batch Operations to export .properties (which will create a bunch of .properties for each video file).

I'm pretty sure, that the .properties that BMT exports, it actually exports the watched status, and later when you re-import the files (and the .properties exists), then BMT will set the watched status as per the .properties. And once all the files are imported, you can then use the batch operations, to delete the .properties.

I haven't verified this... but i recall adding such features to the bmt export/import features.

Code:
#Created by sagex.phoenix.metadata.persistence.PropertiesPersistence
#Fri Nov 09 09:25:58 EST 2012
Actor=Nathan Fillion -- Richard Castle;Stana Katic -- Detective Kate Beckett;Molly C. Quinn -- Alexis Castle;Jon Huert
as -- Javier Esposito;Seamus Dever -- Kevin Ryan;Tamala Jones -- Lanie Parish;Susan Sullivan -- Martha Rodgers;Ruben S
antiago-Hudson -- Captain Montgomery;Penny Johnson -- Capt. Victoria Gates
...
SeasonFinal=false
SeasonNumber=2
SeasonPremiere=false
SeriesFinale=false
SeriesInfoID=200083462
SeriesPremiere=false
Stereo=false
Subtitled=false
Title=Castle (2009)
TotalParts=0
UserRating=76
Writer=Jose Molina
X-Watched=true
Year=0
You can see there is an "X-Watched" field in the property file... SageTV doesn't know about this, but the Phoenix/BMT mediafile added handler will actually read this file, and the X-Watched status and then update the media file's watched status.
Reply With Quote
  #12  
Old 11-09-2012, 08:59 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stuckless View Post
I'll just throw this out there....

In BMT, when you browse a view (TV Shows), you can use the Batch Operations to export .properties (which will create a bunch of .properties for each video file).

I'm pretty sure, that the .properties that BMT exports, it actually exports the watched status, and later when you re-import the files (and the .properties exists), then BMT will set the watched status as per the .properties. And once all the files are imported, you can then use the batch operations, to delete the .properties.

I haven't verified this... but i recall adding such features to the bmt export/import features.

Code:
#Created by sagex.phoenix.metadata.persistence.PropertiesPersistence
#Fri Nov 09 09:25:58 EST 2012
Actor=Nathan Fillion -- Richard Castle;Stana Katic -- Detective Kate Beckett;Molly C. Quinn -- Alexis Castle;Jon Huert
as -- Javier Esposito;Seamus Dever -- Kevin Ryan;Tamala Jones -- Lanie Parish;Susan Sullivan -- Martha Rodgers;Ruben S
antiago-Hudson -- Captain Montgomery;Penny Johnson -- Capt. Victoria Gates
...
SeasonFinal=false
SeasonNumber=2
SeasonPremiere=false
SeriesFinale=false
SeriesInfoID=200083462
SeriesPremiere=false
Stereo=false
Subtitled=false
Title=Castle (2009)
TotalParts=0
UserRating=76
Writer=Jose Molina
X-Watched=true
Year=0
You can see there is an "X-Watched" field in the property file... SageTV doesn't know about this, but the Phoenix/BMT mediafile added handler will actually read this file, and the X-Watched status and then update the media file's watched status.
Unfortunately, I don't think this will help in this case, as I think he's needing watch status for shows he no longer has on the system. Previously watched shows that would just not be recorded, but are with his upgraded wiz.bin.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #13  
Old 11-09-2012, 10:10 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
Unfortunately, I don't think this will help in this case, as I think he's needing watch status for shows he no longer has on the system. Previously watched shows that would just not be recorded, but are with his upgraded wiz.bin.
I see... yeah, i have no solution for that
Reply With Quote
  #14  
Old 11-09-2012, 10:56 AM
Phydeaux Phydeaux is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 222
Fuzzy - Yes, I tried replacing the exe and service files immediately after installation also, on one of my many iterations of install, try, uninstall, registry clean, rinse & repeat! Doesn't matter, the result is the same - I simply cannot get v7 to run.

On the new server v7 runs fine and will use my old wiz.bin, but Watched status is missing. Everything else seems fine, including Favorites.

I have sent the basic information to SageTV support including a link to this thread. So I've got my fingers crossed that they have an answer or a magic wand.

Thanks for the ideas, folks. I've got nothing but time on my hands, so any suggestions or tests you can think of, toss them my way and I'll try. If nothing else, we've got a better appreciation of the problem!


RLW

Last edited by Phydeaux; 11-09-2012 at 11:48 AM.
Reply With Quote
  #15  
Old 11-09-2012, 12:18 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
The is probably some way to use the sage API to pull all that watched history out, and somehow reinsert it into a new wiz.bin, but it would likely take longer to figure out than just going through the recording schedule and marking stuff watched...
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #16  
Old 11-09-2012, 01:50 PM
TwistedMelon TwistedMelon is offline
Sage Expert
 
Join Date: Aug 2005
Location: Ontario, Canada
Posts: 554
I'm pretty sure I had the same issue when I moved from 6 to 7, though my memory may be going. If it wasn't at that precise time, it has definitely happened to me in the past. It was a huge PITA until it wasn't. After enough time passes and everything gets sorted.
__________________
Bruno
Twisted Melon Inc.
While you're clicking, check out my Mini Theater custom build.
Reply With Quote
  #17  
Old 11-13-2012, 09:03 AM
Phydeaux Phydeaux is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 222
Just to close the loop on this thread, nothing I tried resolved the issue and I was tired of being in limbo between two servers. I just did a clean install of SageTV v7 on the new server, got it working with schedules and recording etc. Then replaced my wiz.bin file with the one from my old v6 server.

Everything is file and my favorites are all there. The watched status was lost, so I had to go through all the recording conflicts to spot the shows that know have been watched and manually mark them as such. It took a couple hours for 3 weeks of recording queue and I expect I'll have to do this regularly. But not forever. I'll get over it.

Thanks to all who assisted!

RLW
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
Lost ALL audio (Renderer issue?) SDeGonge SageTV Software 2 03-18-2010 05:34 PM
Lost video background on extender with upgrade to 6.3.7a camus SageMC Custom Interface 2 04-13-2008 07:00 AM
Upgrade to 6.25 & lost an icon belleboyd SageTV Customizations 7 08-16-2007 08:18 PM
4.1.5 Upgrade...Lost 2 Shows Polypro SageTV Beta Test Software 3 01-20-2006 01:24 AM
Upgrade To .12 Lost Recordings falchulk SageTV Beta Test Software 4 02-06-2004 09:54 PM


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


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