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-15-2006, 05:55 PM
Enormous's Avatar
Enormous Enormous is offline
Sage Aficionado
 
Join Date: Mar 2004
Location: D.C. Area
Posts: 398
Switched from local to UNC paths

A while back I decided to figure out why commercial skipping wouldn't work on my clients. After doing some research, I found that it was because I had been using local file paths instead of UNC paths. So I did the necessary changes, and commercial skipping started to work on my clients.

One day whilst browsing around, I noticed that a ton of the shows I had recorded with SageTV were showing up in both the "Recorded TV" list, and also in the "Imported Videos" list. After doing some more digging, I realized that shows that were showing up in the Imported list were ones that were recorded prior to my switch to UNC paths.

After trying the suggestions at the bottom of this post, all of the recordings still listed in the database as being on a local drive were now in the imported list! I then rolled back to my pre-test wiz.bin, and am back to where I was in the 2nd paragraph. Has anyone had any luck switching a path for files in the database?

Thanks.
__________________
-Eric
Client: STX-HD100 Extender, Connected to 47" Visio 1080p LCD via HDMI, Running SageMC
Client: Media MVP Running SageMC
Server: Antec SLK3800B, AMD Athlon 64 X2 4200+, Biostar TForce 550, GeForce 7300LE, 1GB DDR2 800, 2 x HVR-1600, PVR-150MCE, 1.4TB HD Space, XP Pro, Java6, Latest SageTV Version
Reply With Quote
  #2  
Old 10-16-2006, 04:15 PM
mayamaniac's Avatar
mayamaniac mayamaniac is offline
Sage Icon
 
Join Date: May 2004
Posts: 2,177
I made a similar post before I switched to UNC paths a while back, and for the same reason, which is comskip.

I followed the instruction ToxMox posted (post #10) on this thread and it worked perfectly.

Also, read on that thread about network issues with UNC paths and the latest fix in v6 that I just posted.
__________________
Mayamaniac

- SageTV 7.1.9 Server. Win7 32bit in VMWare Fusion. HDHR (FiOS Coax). HDHR Prime 3 Tuners (FiOS Cable Card). Gemstone theme.
- SageTV HD300 - HDMI 1080p Samsung 75" LED.
Reply With Quote
  #3  
Old 10-16-2006, 07:40 PM
Enormous's Avatar
Enormous Enormous is offline
Sage Aficionado
 
Join Date: Mar 2004
Location: D.C. Area
Posts: 398
Thank you for the link! I did quite a few searches through the forum, and must have completely missed your earlier post. I'll give it a try after the shows are done recording tonight.
__________________
-Eric
Client: STX-HD100 Extender, Connected to 47" Visio 1080p LCD via HDMI, Running SageMC
Client: Media MVP Running SageMC
Server: Antec SLK3800B, AMD Athlon 64 X2 4200+, Biostar TForce 550, GeForce 7300LE, 1GB DDR2 800, 2 x HVR-1600, PVR-150MCE, 1.4TB HD Space, XP Pro, Java6, Latest SageTV Version
Reply With Quote
  #4  
Old 10-16-2006, 10:13 PM
stevech stevech is offline
Sage Icon
 
Join Date: Dec 2005
Posts: 1,643
would all of this get easier and be transparent to Sage if we all used XP Pro's "mount" capability? It's like Unix's mount, where you create a folder name on, say, the C: drive. Then you tell Win XP to place a drive such as G: under the C: folder. This is done with the Sys Admin Disk Management stuff.

So the path name seen by Sage would be, say, C:\SomeDrive no matter the drive letter. Again, like Unix does.

Is there a flaw in this strategy?
Reply With Quote
  #5  
Old 10-16-2006, 10:58 PM
ke6guj ke6guj is offline
Sage Icon
 
Join Date: Jan 2005
Posts: 2,355
Here is a thread where a couple of us played with mounted drives. How does Sage handle mounted drives? You may want to read that one to see how far we got, it was SageV5, so there may have been some improvements in V6, but I don't recall seeing anything specifically mentioning it.
Reply With Quote
  #6  
Old 10-16-2006, 11:42 PM
Enormous's Avatar
Enormous Enormous is offline
Sage Aficionado
 
Join Date: Mar 2004
Location: D.C. Area
Posts: 398
Quote:
Originally Posted by mayamaniac
I followed the instruction ToxMox posted (post #10) on this thread and it worked perfectly.
Well, things didn't work out so well for me. After following ToxMox's steps, I got the same results as before (all of the shows originally recorded to local paths are purged from the wiz.bin, leaving them to show up only in the Imported Videos. Would it matter that I'm doing this after the fact, and not as soon as I did the switch to UNC paths?

EDIT: After reviewing your referenced thread, you guys are just talking about where the file appears to be in the View Recording Detail screen. I did notice that the paths changed, but in doing so I lost all of my show info (as well as it appearing as a SageTV recorded file.)
__________________
-Eric
Client: STX-HD100 Extender, Connected to 47" Visio 1080p LCD via HDMI, Running SageMC
Client: Media MVP Running SageMC
Server: Antec SLK3800B, AMD Athlon 64 X2 4200+, Biostar TForce 550, GeForce 7300LE, 1GB DDR2 800, 2 x HVR-1600, PVR-150MCE, 1.4TB HD Space, XP Pro, Java6, Latest SageTV Version

Last edited by Enormous; 10-16-2006 at 11:45 PM.
Reply With Quote
  #7  
Old 10-17-2006, 12:52 AM
Enormous's Avatar
Enormous Enormous is offline
Sage Aficionado
 
Join Date: Mar 2004
Location: D.C. Area
Posts: 398
Well, tried one more thing, with zero success:

This time I created a new folder, added as a Recording Directory, shut down Sage, moved all of the files into the new folder, and restarted Sage. From looking at the logs, things seemed to be going well (at first). Sage would recognize the new files and parse them, and then see that the old files weren't there and remove the reference to them. But once everything had finished, I was still left with a majority of my videos showing up as imports, with no data in the wiz.bin for them. I did have one tiny bit of success, when as I mentioned above, but for only one file. Does Sage get caught up when there are multiple files involved?
__________________
-Eric
Client: STX-HD100 Extender, Connected to 47" Visio 1080p LCD via HDMI, Running SageMC
Client: Media MVP Running SageMC
Server: Antec SLK3800B, AMD Athlon 64 X2 4200+, Biostar TForce 550, GeForce 7300LE, 1GB DDR2 800, 2 x HVR-1600, PVR-150MCE, 1.4TB HD Space, XP Pro, Java6, Latest SageTV Version
Reply With Quote
  #8  
Old 10-17-2006, 04:49 AM
ToxMox's Avatar
ToxMox ToxMox is offline
Sage Icon
 
Join Date: Oct 2003
Location: NJ
Posts: 1,980
Enormous:
What version of SageTV are you running and could you please outline in detail every single step you took.
Reply With Quote
  #9  
Old 10-17-2006, 01:02 PM
Enormous's Avatar
Enormous Enormous is offline
Sage Aficionado
 
Join Date: Mar 2004
Location: D.C. Area
Posts: 398
Quote:
Originally Posted by ToxMox
What version of SageTV are you running
As of this test, the latest (6.0.12) beta; Java 1.6 w/ latest binaries (from Oct. 11).
Quote:
could you please outline in detail every single step you took.
Currently, I have 3 recording directories set from within SageTV: \\HTPC\video; \\HTPC \video2; \\HTPC \video3. They are shares of the following local directories (in the same order) D:\Video; G:\Video; F:\Video.

These are the steps I took to try and update the file paths (without losing show data). The first was my “successful” test, and the second is the unsuccessful one.

Successful
1.)Shut down SageTVService
2.)Backed up wiz.bin
3.)Started service
4.)Created new directory in Windows Explorer: “D:\VideoD”
5.)Shared “D:\VideoD” as \\HTPC\VideoD
6.)From within a SageTV Client: Added new recording directory \\HTPC\VideoD
7.)Closed client, shut down service
8.)Moved one episode of “Good Eats” from D:\Video to D:\VideoD
9.)Restarted service
10.)Confirmed from within a SageTV Client that the show’s location had changed (and it was still listed in the SageTV Recordings list)

After this successful attempt, I figured that if it worked for one, it would work for a bunch. So on the next iteration, I changed the following steps:

Unsuccessful
4.) Created new directories in Windows Explorer: “D:\VideoD”; “F:\VideoF”; “G:\VideoG”
5.) Shared “D:\VideoD” as \\HTPC\VideoD; “F:\VideoF” as \\HTPC\VideoF; “G:\VideoG” as \\HTPC\VideoG.
6.) From within a SageTV Client: Added new recording directories \\HTPC\VideoD; \\HTPC\VideoF; \\HTPC\VideoG.
8.) Moved ALL files from [driveLetter]:\Video –to- [driveLetter]:\Video[driveLetter]

After starting the service for this attempt, all files that were originally stored with a local path were removed from the wiz.bin, and only showed within the Imported Videos list.

Thanks for all of the help everyone!
__________________
-Eric
Client: STX-HD100 Extender, Connected to 47" Visio 1080p LCD via HDMI, Running SageMC
Client: Media MVP Running SageMC
Server: Antec SLK3800B, AMD Athlon 64 X2 4200+, Biostar TForce 550, GeForce 7300LE, 1GB DDR2 800, 2 x HVR-1600, PVR-150MCE, 1.4TB HD Space, XP Pro, Java6, Latest SageTV Version
Reply With Quote
  #10  
Old 10-17-2006, 01:13 PM
ToxMox's Avatar
ToxMox ToxMox is offline
Sage Icon
 
Join Date: Oct 2003
Location: NJ
Posts: 1,980
You really need to move the files while the service is OFF then don't delete the original empty folders as Sage needs to see them as empty. Once the service is off then move all the files into their UNC equivalents and then turn the service on. This is assuming that you've already added the empty UNC folder paths to Sage before doing all of this.

So basically your steps from above would be this:

4.) Created new directories in Windows Explorer: “D:\VideoD”; “F:\VideoF”; “G:\VideoG”
5.) Shared “D:\VideoD” as \\HTPC\VideoD; “F:\VideoF” as \\HTPC\VideoF; “G:\VideoG” as \\HTPC\VideoG.
6.) From within a SageTV Client: Added new recording directories \\HTPC\VideoD; \\HTPC\VideoF; \\HTPC\VideoG.
7.) Close SageTV and stop the service
8.) Moved ALL files from [driveLetter]:\Video –to- [driveLetter]:\Video[driveLetter]
9.) Start the service and Sage

EDIT: sorry I just read that you purposely left those steps out...not sure what is going wrong other than maybe you deleted the empty old folders which you didn't mention but I figure maybe you did.

Last edited by ToxMox; 10-17-2006 at 01:17 PM.
Reply With Quote
  #11  
Old 10-17-2006, 01:18 PM
ToxMox's Avatar
ToxMox ToxMox is offline
Sage Icon
 
Join Date: Oct 2003
Location: NJ
Posts: 1,980
The only other longshot I can think of which you probably didn't do but figure I'd mention is perhaps you created import dirs instead of recording dirs?
Reply With Quote
  #12  
Old 10-17-2006, 02:07 PM
Enormous's Avatar
Enormous Enormous is offline
Sage Aficionado
 
Join Date: Mar 2004
Location: D.C. Area
Posts: 398
Quote:
Originally Posted by ToxMox
maybe you deleted the empty old folders which you didn't mention but I figure maybe you did.
Quote:
perhaps you created import dirs instead of recording dirs?
Nope, and nope. I left both sets of directories around during the entire test, and I'm positive I was setting up Recording Dirs, and not Import Dirs. What really confuses me is the fact that it worked for the single file!

I'll try to post the relevant parts of the log tonight (unless I deleted them!).
__________________
-Eric
Client: STX-HD100 Extender, Connected to 47" Visio 1080p LCD via HDMI, Running SageMC
Client: Media MVP Running SageMC
Server: Antec SLK3800B, AMD Athlon 64 X2 4200+, Biostar TForce 550, GeForce 7300LE, 1GB DDR2 800, 2 x HVR-1600, PVR-150MCE, 1.4TB HD Space, XP Pro, Java6, Latest SageTV Version
Reply With Quote
  #13  
Old 10-17-2006, 04:21 PM
mayamaniac's Avatar
mayamaniac mayamaniac is offline
Sage Icon
 
Join Date: May 2004
Posts: 2,177
First of all, I would suggest disabling the SageTV service to do this switch to UNC paths, just to eliminate any possible problems there. Once you successfully switched, then enable the service.

Second, on the "Unsuccessful" attempt, did you start over from the scratch again? Meaning, did you move that one file from the "Successful" attemp back to where it was and restoring the original wiz.bin?
__________________
Mayamaniac

- SageTV 7.1.9 Server. Win7 32bit in VMWare Fusion. HDHR (FiOS Coax). HDHR Prime 3 Tuners (FiOS Cable Card). Gemstone theme.
- SageTV HD300 - HDMI 1080p Samsung 75" LED.
Reply With Quote
  #14  
Old 10-17-2006, 04:29 PM
Enormous's Avatar
Enormous Enormous is offline
Sage Aficionado
 
Join Date: Mar 2004
Location: D.C. Area
Posts: 398
Quote:
Originally Posted by mayamaniac
First of all, I would suggest disabling the SageTV service to do this switch to UNC paths, just to eliminate any possible problems there. Once you successfully switched, then enable the service.
I'll give that a go on my next attempt.
Quote:
Second, on the "Unsuccessful" attempt, did you start over from the scratch again? Meaning, did you move that one file from the "Successful" attempt back to where it was and restoring the original wiz.bin?
Yes, for each test I've done, I always revert back to my original state by:
1.) Removing new Recording Directories created during the test;
2.) Putting all files back to where they were originally;
3.) Restoring my pre-test wiz.bin.
__________________
-Eric
Client: STX-HD100 Extender, Connected to 47" Visio 1080p LCD via HDMI, Running SageMC
Client: Media MVP Running SageMC
Server: Antec SLK3800B, AMD Athlon 64 X2 4200+, Biostar TForce 550, GeForce 7300LE, 1GB DDR2 800, 2 x HVR-1600, PVR-150MCE, 1.4TB HD Space, XP Pro, Java6, Latest SageTV Version
Reply With Quote
  #15  
Old 10-17-2006, 04:31 PM
ToxMox's Avatar
ToxMox ToxMox is offline
Sage Icon
 
Join Date: Oct 2003
Location: NJ
Posts: 1,980
Perhaps try one folder at a time instead of doing them all at once.
Reply With Quote
  #16  
Old 10-17-2006, 04:53 PM
Enormous's Avatar
Enormous Enormous is offline
Sage Aficionado
 
Join Date: Mar 2004
Location: D.C. Area
Posts: 398
Quote:
Originally Posted by ToxMox
Perhaps try one folder at a time instead of doing them all at once.
Yes, I'll give that a go. I might even try working my way up from 1 file (5, then 10, then... etc.). I think I've got about 200 recordings still referencing the local paths, so it might be a lengthy process (if I can get it to work)!
__________________
-Eric
Client: STX-HD100 Extender, Connected to 47" Visio 1080p LCD via HDMI, Running SageMC
Client: Media MVP Running SageMC
Server: Antec SLK3800B, AMD Athlon 64 X2 4200+, Biostar TForce 550, GeForce 7300LE, 1GB DDR2 800, 2 x HVR-1600, PVR-150MCE, 1.4TB HD Space, XP Pro, Java6, Latest SageTV Version
Reply With Quote
  #17  
Old 10-17-2006, 09:06 PM
Enormous's Avatar
Enormous Enormous is offline
Sage Aficionado
 
Join Date: Mar 2004
Location: D.C. Area
Posts: 398
Well, after trying just two shows this time, it failed once again. I've attached what I found in the log that pertains to these files. I think it also bears being repeated that the for shows that are currently showing as local, they appear in both the SageTV Recordings list, as well as the Imported Videos list. Does that give anyone a clue as to why they're deleted from the wiz.bin when they're moved?
Attached Files
File Type: txt sagetv_log.txt (12.0 KB, 219 views)
__________________
-Eric
Client: STX-HD100 Extender, Connected to 47" Visio 1080p LCD via HDMI, Running SageMC
Client: Media MVP Running SageMC
Server: Antec SLK3800B, AMD Athlon 64 X2 4200+, Biostar TForce 550, GeForce 7300LE, 1GB DDR2 800, 2 x HVR-1600, PVR-150MCE, 1.4TB HD Space, XP Pro, Java6, Latest SageTV Version
Reply With Quote
  #18  
Old 10-17-2006, 09:15 PM
ToxMox's Avatar
ToxMox ToxMox is offline
Sage Icon
 
Join Date: Oct 2003
Location: NJ
Posts: 1,980
It just occurred to me that perhaps the airing IDs aren't matching anymore which can happen when Sage compacts its database. If you have Nielm's webserver installed you can use it to compare the airing ID of the airing with the ID number in the file name. As I understand it Sage uses the ID number in the file name to match it to an item in the wiz.bin so if the ID has changed internally then it won't match up to anything anymore. If that is the case I imagine you could rename each file to have the correct ID in it when moving the file.
Reply With Quote
  #19  
Old 10-17-2006, 09:53 PM
Enormous's Avatar
Enormous Enormous is offline
Sage Aficionado
 
Join Date: Mar 2004
Location: D.C. Area
Posts: 398
Thank you ToxMox. Excellent suggestion. I'll check it out after the "important" recordings finish for the evening.

EDIT: After doing even more testing, I give up.

Because ToxMox, YOU ARE THE MAN!
I tested two files. One which had the same airing ID in the file name as in the DB, and one which I had to change the file name to match the DB. Both imported perfectly, kept their info in the wiz.bin, and were removed from the Imported files list!! Thank you again for your help.

Now for the bad news: I've got to rename all of those files! But I'll take that over the alternative any day!
__________________
-Eric
Client: STX-HD100 Extender, Connected to 47" Visio 1080p LCD via HDMI, Running SageMC
Client: Media MVP Running SageMC
Server: Antec SLK3800B, AMD Athlon 64 X2 4200+, Biostar TForce 550, GeForce 7300LE, 1GB DDR2 800, 2 x HVR-1600, PVR-150MCE, 1.4TB HD Space, XP Pro, Java6, Latest SageTV Version

Last edited by Enormous; 10-17-2006 at 10:37 PM.
Reply With Quote
  #20  
Old 10-18-2006, 07:54 AM
wheelrandolph wheelrandolph is offline
Sage Advanced User
 
Join Date: Apr 2005
Location: Chandler, Arizona
Posts: 190
Talking Finally got ComSkip working in Client!!

Quote:
Originally Posted by Enormous
As of this test, the latest (6.0.12) beta; Java 1.6 w/ latest binaries (from Oct. 11).Currently, I have 3 recording directories set from within SageTV: \\HTPC\video; \\HTPC \video2; \\HTPC \video3. They are shares of the following local directories (in the same order) D:\Video; G:\Video; F:\Video.

These are the steps I took to try and update the file paths (without losing show data). The first was my “successful” test, and the second is the unsuccessful one.

Successful
1.)Shut down SageTVService
2.)Backed up wiz.bin
3.)Started service
4.)Created new directory in Windows Explorer: “D:\VideoD”
5.)Shared “D:\VideoD” as \\HTPC\VideoD
6.)From within a SageTV Client: Added new recording directory \\HTPC\VideoD
7.)Closed client, shut down service
8.)Moved one episode of “Good Eats” from D:\Video to D:\VideoD
9.)Restarted service
10.)Confirmed from within a SageTV Client that the show’s location had changed (and it was still listed in the SageTV Recordings list)

After this successful attempt, I figured that if it worked for one, it would work for a bunch. So on the next iteration, I changed the following steps:

Unsuccessful
4.) Created new directories in Windows Explorer: “D:\VideoD”; “F:\VideoF”; “G:\VideoG”
5.) Shared “D:\VideoD” as \\HTPC\VideoD; “F:\VideoF” as \\HTPC\VideoF; “G:\VideoG” as \\HTPC\VideoG.
6.) From within a SageTV Client: Added new recording directories \\HTPC\VideoD; \\HTPC\VideoF; \\HTPC\VideoG.
8.) Moved ALL files from [driveLetter]:\Video –to- [driveLetter]:\Video[driveLetter]

After starting the service for this attempt, all files that were originally stored with a local path were removed from the wiz.bin, and only showed within the Imported Videos list.

Thanks for all of the help everyone!
Thanks Enormous and Mayamaniac for the excellent discussion and DETAILED discription of setting up UNC paths. I could never get this working in Client pc until now--wasn't setting UNC correctly.

Randy
__________________
Sage Server: PhenomII X2 550 AM3 3.1Gz, GA-MA770T-UD3P, 4GB G.Skill DDR3-1333, OCZ MXP 700w PSU, WD Caviar Blue(2): 320GB (system), 500GB(videos), HVR-2250, PVR-150, Harmony 880
Windows7 Ultimate

HD-200 extender, 37 in. lcd tv (HDMI)
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 10:03 PM.


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