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 05-13-2010, 11:17 PM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Local UNC Paths Need Network Connection?

I recently started using a SageTV network client and noticed that none of my commercial skip EDL files were showing up. I did a bit of research and discovered I needed to either map the drives to the network PC, or use UNC paths. Upon more research I discovered I couldn't use mapped drives with the SageTV service, so UNC paths were my choice.

I changed over my recording directories and everything worked beautifully, the network client could see the .edl files, everything was recording properly. Now the problem...

Yesterday while I had SageTV recording 2 shows (I have 2 tuners), I was changing some settings on the router which required the router to reboot. I've done this many times before with no problem. However, I later noticed that both of my tuners halted at exactly the same time causing a bit of a blip on the recording. The time that they halted corresponds to when I rebooted the router.

Do UNC paths need a network connection even if they are recording to a local drive? Is there any way around this?
Reply With Quote
  #2  
Old 05-13-2010, 11:48 PM
ke6guj ke6guj is offline
Sage Icon
 
Join Date: Jan 2005
Posts: 2,355
Quote:
Originally Posted by peternm22 View Post

Do UNC paths need a network connection even if they are recording to a local drive?
yes.
Quote:
Is there any way around this?
I seem to recall seting up a loopback adapter as a workaround.
__________________
- Jack
__________________________________________
Server: AMD Phenom 9750, 2GB RAM, 2 Hauppauge PVR500, 1 Firewired DCT6200, 1 HDHomerun tuning 2 QAM channels, Vizio 37" HDTV LCD, 1 USB-UIRT

Clients: 1 MediaMVP, 1 Placeshifter Client, & 1 SageTV Client.
Reply With Quote
  #3  
Old 05-14-2010, 09:26 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by peternm22 View Post
I recently started using a SageTV network client and noticed that none of my commercial skip EDL files were showing up. I did a bit of research and discovered I needed to either map the drives to the network PC, or use UNC paths. Upon more research I discovered I couldn't use mapped drives with the SageTV service, so UNC paths were my choice.

I changed over my recording directories and everything worked beautifully, the network client could see the .edl files, everything was recording properly. Now the problem...

Yesterday while I had SageTV recording 2 shows (I have 2 tuners), I was changing some settings on the router which required the router to reboot. I've done this many times before with no problem. However, I later noticed that both of my tuners halted at exactly the same time causing a bit of a blip on the recording. The time that they halted corresponds to when I rebooted the router.

Do UNC paths need a network connection even if they are recording to a local drive? Is there any way around this?
I think there is misinformation about using a Client with non UNC paths.. You can record to local drives without using UNC paths with SagetvService... It is at the client pc that you would map the drives using administrative shares.

My setup example.

I record to
m:\sagem
n:\sagen

my clients are mapped as follows

m drive mapped to \\myserver\m$
n drive mapped to \\myserver\n$


If you want to keep using UNC paths then you need to add new hardware loop back adapter


XP Loopback

more
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 05-14-2010 at 09:32 AM.
Reply With Quote
  #4  
Old 05-14-2010, 11:35 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by nyplayer View Post
I record to
m:\sagem
n:\sagen

my clients are mapped as follows

m drive mapped to \\myserver\m$
n drive mapped to \\myserver\n$
While this works, I would not recommend as good practice. For one thing, it requires that the drives be mapped identically on all clients, and that all clients know the physical drive letters where the recordings are stored. This can make it difficult to reconfigure the server later, since all clients would have to be updated to match the new config. UNC paths don't have that issue, since knowledge about the physical configuration is limited to the server; clients need to know only the logical share names.

Also, those $ administrative shares give unrestricted admin access to those drives, so that one of those client machines could potentially run amok and do damage to the server's file system. Best practice is to give clients only the access privileges they actually need. In this case that would be read-only access to just the folders containing the recordings. Again, with UNC paths this is easily controlled from the server.
__________________
-- Greg
Reply With Quote
  #5  
Old 05-14-2010, 11:38 AM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Thanks for the help everyone.

My Sage recording drives are multipurpose drives, and I don't really feel like sharing the whole drive just for one folder. I'll give the loopback method a shot when I get home.
Reply With Quote
  #6  
Old 05-14-2010, 01:31 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by GKusnick View Post
While this works, I would not recommend as good practice. For one thing, it requires that the drives be mapped identically on all clients, and that all clients know the physical drive letters where the recordings are stored. This can make it difficult to reconfigure the server later, since all clients would have to be updated to match the new config. UNC paths don't have that issue, since knowledge about the physical configuration is limited to the server; clients need to know only the logical share names.

Also, those $ administrative shares give unrestricted admin access to those drives, so that one of those client machines could potentially run amok and do damage to the server's file system. Best practice is to give clients only the access privileges they actually need. In this case that would be read-only access to just the folders containing the recordings. Again, with UNC paths this is easily controlled from the server.
UNC paths might be working great for you it doesn't for me I get corruped files etc... Since moving away from UNC my sage system has improved cosiderably. Also what I am saying is that you do not need to use UNC paths to use comskip.


see this thread others have had problems.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 05-14-2010 at 01:35 PM.
Reply With Quote
  #7  
Old 05-15-2010, 09:07 AM
scoful's Avatar
scoful scoful is offline
Sage Aficionado
 
Join Date: Jun 2006
Location: Lawrence, Kansas
Posts: 373
Path Differentiation for Client and Server

I too have had issues with using UNC paths for recording.

What I really wish Sage would do is have a server recording path configuration and a client playback path configuration.

The server would typically record to local paths, while clients would use UNC paths for play back.
__________________
SageTV 9 / 3 SageTV Clients / Ceton InfiniTV 6 / ComSkip
Reply With Quote
  #8  
Old 05-16-2010, 03:01 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
To be honest, Sage doesn't need the UNC paths at all, so nothing they really need to change. The Sage Client will function properly without the server sharing any files, as sage will stream the media through it's server-client connection. What DOES need the shares are 3rd party plugins like comskip playback. It would make more sense would be to do the local to UNC path translations there.
__________________
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 05-16-2010, 03:12 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by Fuzzy View Post
The Sage Client will function properly without the server sharing any files, as sage will stream the media through it's server-client connection.
This is almost correct. If the client thinks it can access the files directly, it will try to do so. So for instance if the server stores recordings on drive D, and the client has a local drive D, it will try to read the files from that local drive, and get an error when they aren't there. So using drive letters really only makes sense when you can guarantee that those letters are not already in use by any client.
__________________
-- Greg
Reply With Quote
  #10  
Old 05-16-2010, 03:41 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by GKusnick View Post
This is almost correct. If the client thinks it can access the files directly, it will try to do so. So for instance if the server stores recordings on drive D, and the client has a local drive D, it will try to read the files from that local drive, and get an error when they aren't there. So using drive letters really only makes sense when you can guarantee that those letters are not already in use by any client.
correct.. I was just pointing out that the performance issue that some have recording to UNC paths isn't something that sage really NEEDS to fix, as there product never really needs you to do so.
__________________
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 05-16-2010, 04:33 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by GKusnick View Post
This is almost correct. If the client thinks it can access the files directly, it will try to do so. So for instance if the server stores recordings on drive D, and the client has a local drive D, it will try to read the files from that local drive, and get an error when they aren't there. So using drive letters really only makes sense when you can guarantee that those letters are not already in use by any client.
correct that is why on my server I use high drive letters for my recordings. I start with the m:... and if I want to keep something for a while I move it to a nas using unc paths.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #12  
Old 05-21-2010, 10:22 AM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Just an update: Using the loopback adapter worked, but I've discovered some other issues using UNC paths on my setup.

I've been getting a few video "glitches" in my R5000 recordings since switching to UNC paths. Essentially, the video pixelates for a second then returns to normal. I checked the R5000 application and noticed that it is getting quite a few buffer overflows, and the status bar is a lot closer to "Pushing It" then it was before. I reverted back to local paths, and these problems seem to have gone away.

I guess I will do without comskip on my network client
Reply With Quote
  #13  
Old 05-21-2010, 06:22 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
the client can used mapped drives just fine. You don't NEED to use UNC paths for comskip to work, it just removes a step to do so (that step being mapping the server's recordings drives to the same path on the client).
__________________
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
  #14  
Old 05-21-2010, 08:18 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by peternm22 View Post
Just an update: Using the loopback adapter worked, but I've discovered some other issues using UNC paths on my setup.

I've been getting a few video "glitches" in my R5000 recordings since switching to UNC paths. Essentially, the video pixelates for a second then returns to normal. I checked the R5000 application and noticed that it is getting quite a few buffer overflows, and the status bar is a lot closer to "Pushing It" then it was before. I reverted back to local paths, and these problems seem to have gone away.

I guess I will do without comskip on my network client
Peter did yo read my post above?
http://forums.sagetv.com/forums/show...56&postcount=3
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #15  
Old 05-21-2010, 10:09 PM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Quote:
Originally Posted by nyplayer View Post
Sure did, but then I read this post and saw there were some issues mapping the entire drive letter instead of a mapping single folders:

http://forums.sagetv.com/forums/show...84&postcount=4

Quote:
one of those client machines could potentially run amok
The above quote kind of scared me away from mapping the whole drive, since the recording drives on my system are used for more than just recordings.

-Peter
Reply With Quote
  #16  
Old 05-22-2010, 08:15 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Ideally, you shouldn't be sharing it using the admin shares ($D, $E, etc). However, if you add a share of the drive itself (from my computer, right click on the drive and choose Sharing), it doesn't have those potential problems.
__________________
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
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
Need to block Local Network access and force connection by locator tke743 SageTV Placeshifter 1 03-31-2010 05:04 PM
How to change from local to internet network connection? davisyu SageTV Placeshifter 5 05-04-2008 11:12 AM
UNC Paths for recording Skybolt SageTV Software 7 03-17-2008 04:41 PM
ComSkip/UNC paths/Network Drives/Services - Help needed smarty SageTV Customizations 0 06-04-2007 07:29 AM
Switched from local to UNC paths Enormous SageTV Software 24 10-18-2006 04:21 PM


All times are GMT -6. The time now is 11:00 PM.


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