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 01-10-2010, 11:43 AM
d2tw4all d2tw4all is offline
Sage Advanced User
 
Join Date: Jan 2010
Location: Boston, MA
Posts: 78
Accessing videos on network shares

Ok I'm flooding the forums with posts, but I'm really trying to get this sagetv config nailed down before I bite the bullet and pay for it. I have a windows server hosting video files on a freenas device. It's unclear to me how best to present those files to SageTV. Do I need to map a network drive or is Sage UNC aware? Also do I have to do this on the backend, or each frontend, or both? I'd love some step by step guidance here!

Tom
Reply With Quote
  #2  
Old 01-10-2010, 01:50 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
It is recommended that you use UNC paths. Mapped drives are not visible to windows services (as drive mapping is a user level action). You only have to set it up once (just add it to sage's list of 'Media Center Import Directories'). This can be done from any instance of the Sage UI (Client, Extender, Server), and only needs to be done the once.
__________________
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
  #3  
Old 01-10-2010, 02:07 PM
d2tw4all d2tw4all is offline
Sage Advanced User
 
Join Date: Jan 2010
Location: Boston, MA
Posts: 78
ok that's good, my other question then is, the windows server requires permissions for access to the share, where do you specify what permissions to use when using UNC?

Tom
Reply With Quote
  #4  
Old 01-10-2010, 02:29 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Best option is to just remove the protection from the share. Just removes potential complciations, and really, what are you trying to avoid by having it protected?
__________________
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
  #5  
Old 01-10-2010, 03:53 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by d2tw4all View Post
ok that's good, my other question then is, the windows server requires permissions for access to the share, where do you specify what permissions to use when using UNC?

Tom
If you're running a full Sage setup, it's best to have your service set to run as a user with permission to access those shares. I created a user on my server (which runs sage) and my NAS, both named Sage and with the same password and I gave this user access to any share I want it to be able to use. I have the Sage service set to run as the the user Sage and thus it can access all those share.

Quote:
Originally Posted by Fuzzy View Post
Best option is to just remove the protection from the share.
IMO that's never a good idea, always better to have things password protected. Every one of my machines has a user with a password, and all my shares are password protected.

And no, that doesn't mean I have to go around entering passwords all the time. My machines are set to auto log in so I never have to enter a password to log in, and I generally use the same user/pass combo on all my machines so I just give that user access to the shares and I can browse all my shares without ever entering a password, yet I don't lose any of the security benefits.

Quote:
Just removes potential complciations, and really, what are you trying to avoid by having it protected?
People who "borrow" your wireless network for example. If you've got it set up right, it's just as transparent as having no passwords on anything.
Reply With Quote
  #6  
Old 01-10-2010, 05:08 PM
d2tw4all d2tw4all is offline
Sage Advanced User
 
Join Date: Jan 2010
Location: Boston, MA
Posts: 78
Ah yes that's a really good idea, I just need to create a DVRUser account on the windows server and then each frontend and as long as they all have the same passwords it should work. HOWEVER the only thing is, while the backend service you can run under a different user context, the frontends are running the client under the logged in user's context so I guess I'd have to autoadmin login with the DVRUser login on those, or use some kind of CPAU to kick off sage loading...

Tom
Reply With Quote
  #7  
Old 01-10-2010, 06:13 PM
korben_dallas's Avatar
korben_dallas korben_dallas is offline
Sage Icon
 
Join Date: Oct 2004
Location: USA
Posts: 1,250
Quote:
Originally Posted by d2tw4all View Post
Ah yes that's a really good idea, I just need to create a DVRUser account on the windows server and then each frontend and as long as they all have the same passwords it should work. HOWEVER the only thing is, while the backend service you can run under a different user context, the frontends are running the client under the logged in user's context so I guess I'd have to autoadmin login with the DVRUser login on those, or use some kind of CPAU to kick off sage loading...

Tom
The client machines don't need direct access to the NAS device. So long as the SageTV Client application can, wherever it is running, connect to the SageTV server, then it will have access to everything the server has access to, through the SageTV client/server food chain.
__________________
SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming
Reply With Quote
  #8  
Old 01-10-2010, 06:38 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
There are performance reasons to let th clients have direct access to the storage though (using UNC paths, so it s exactly the same path). This way the clients only have to stream direct from the storage, instead of NAS -> Server -> Client.

As for the security issues...

1. There isn't anyone I don't trust on my network, and THAT is secured. I guess if someone WAS able to break into my house, and hook a laptop up to my router, and then guess my routers admin password to allow it access, THEN i guess they would have unrestricted access to watching my movies...
2. I still have password protection on my important shares... but really.. movies?
__________________
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 01-10-2010, 06:47 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
If I remember correctly (I don't use clients anymore), the user the client is running as has to have at least read permissions to the UNC path if you're using comskip files.
Reply With Quote
  #10  
Old 01-10-2010, 06:49 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Correct, all Sage will pass through the Server-Client connection is the media file itself. If you have other files, such as comskip, then the client needs to have access at the exact same path.
__________________
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 01-10-2010, 07:34 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by d2tw4all View Post
Ah yes that's a really good idea, I just need to create a DVRUser account on the windows server and then each frontend and as long as they all have the same passwords it should work. HOWEVER the only thing is, while the backend service you can run under a different user context, the frontends are running the client under the logged in user's context so I guess I'd have to autoadmin login with the DVRUser login on those, or use some kind of CPAU to kick off sage loading...

Tom
When I ran a client, it was under a different account than the Sage ran as on the server, but both had access to all the shares. No issues.

Quote:
Originally Posted by korben_dallas View Post
The client machines don't need direct access to the NAS device. So long as the SageTV Client application can, wherever it is running, connect to the SageTV server, then it will have access to everything the server has access to, through the SageTV client/server food chain.
For recordings that's true, but for comskip files and DVDs, the clients need to directly access the UNC paths.

Quote:
Originally Posted by Fuzzy View Post
As for the security issues...

1. There isn't anyone I don't trust on my network, and THAT is secured. I guess if someone WAS able to break into my house, and hook a laptop up to my router, and then guess my routers admin password to allow it access, THEN i guess they would have unrestricted access to watching my movies...
There's nobody else on my network, but I still use passwords. I run my wireless with encryption and SSID broadcast disabled, but it's not that secure.

Quote:
2. I still have password protection on my important shares... but really.. movies?
Why not, there's no down side IMO. I use user level security and all my users have passwords. If I share something I just give the users access that need it (which is well me and sage if it's a media share).

I've had way more problems with share level security, always seems fiddly, especially if not all your machines are running the same version of OS. I've run Linux, XP, Vista, 7, and Server 2003 and never had any trouble when using user security. The boxes I have (laptops) which have Home (XP or Vista) that only have share security were always a royal PITA.
Reply With Quote
  #12  
Old 01-10-2010, 10:26 PM
d2tw4all d2tw4all is offline
Sage Advanced User
 
Join Date: Jan 2010
Location: Boston, MA
Posts: 78
Ok got it working, created a new account on the server, and created same account on backend box. Then I just used the frontend to add the folders, it saw them all so the backend obviously routes all the data. Works well too, saw all my video files, very nice!

Tom
Reply With Quote
  #13  
Old 07-25-2017, 12:23 PM
jeffmart jeffmart is offline
Sage User
 
Join Date: Sep 2009
Location: Fonthill, ON
Posts: 13
Quote:
Originally Posted by Fuzzy View Post
It is recommended that you use UNC paths. Mapped drives are not visible to windows services (as drive mapping is a user level action). You only have to set it up once (just add it to sage's list of 'Media Center Import Directories'). This can be done from any instance of the Sage UI (Client, Extender, Server), and only needs to be done the once.
Hi;

I am having difficulty with this step. I am migrating from SageTV v6 on Mac OS X to v9 on Windows 10. My NAS is a Synology which has worked well with Sage for years. I think I need lover level understanding of the config/mapping of the import directories and the recordings directories.

Do I have to have the user name of my Windows Server for Sage v9 the same as the username of the NAS recordings and import directories?

in the Mac world, my Mac logon is Jeff and my Synology Logon sagetv
do I have to change them both to be the same user name for the windows user and the sinology user account?
__________________
Mac Mini 1.83 Core 2 Duo, OS X 10.5, 2 HDHomeRun dual tuners, 3 HD200 extenders.
Reply With Quote
  #14  
Old 07-25-2017, 05:29 PM
jeffmart jeffmart is offline
Sage User
 
Join Date: Sep 2009
Location: Fonthill, ON
Posts: 13
Quote:
Originally Posted by jeffmart View Post
Hi;

I am having difficulty with this step. I am migrating from SageTV v6 on Mac OS X to v9 on Windows 10. My NAS is a Synology which has worked well with Sage for years. I think I need lower level understanding of the config/mapping of the import directories and the recordings directories.

Do I have to have the user name of my Windows Server for Sage v9 the same as the username of the NAS recordings and import directories?

in the Mac world, my Mac logon is Jeff and my Synology Logon sagetv
do I have to change them both to be the same user name for the windows user and the synology user account?
Further:

my NAS server name is: SynologyDS213j
user ID on NAS is: sagetv

in the SageTV v9 Service control panel I have "Change user" set to: \\SynologyDS213j/sagetv
then the password

now above that section it says: Run service as user: \\SynologyDS213j/sagetv

I do get an error: "A dependancy or service failed to start"

on the client end, in Detailed Setup-General-recordings directory I go Up Directory to the root, and Specify Directory: \\synologyds213j\

the Directory is not found.

I think I am out of ideas at the moment
__________________
Mac Mini 1.83 Core 2 Duo, OS X 10.5, 2 HDHomeRun dual tuners, 3 HD200 extenders.

Last edited by jeffmart; 07-25-2017 at 05:44 PM.
Reply With Quote
  #15  
Old 07-25-2017, 05:37 PM
newyankee's Avatar
newyankee newyankee is offline
Sage User
 
Join Date: Jul 2012
Location: Palo Alto
Posts: 45
In my case, the NAS is set for unrestricted access, but the key point is to be able to access the NAS from the windows server. If you can open the NAS share from the Windows Network icon, you are good to go.

In Sage, you can assign a import path or recording directory path in the detailed setup. The Sage UI confused me at first, but you can "browse" to the share by moving up the directory tree.
__________________
Asus Z170Pro, I7 skylake, hyperthread off, Win 7 64 Ult, 32Gig, 2ea Hauppauge 2250, DTV SD & OTA, HD300
Reply With Quote
  #16  
Old 07-26-2017, 06:12 AM
graywolf's Avatar
graywolf graywolf is offline
Sage Icon
 
Join Date: Oct 2009
Location: NC
Posts: 1,389
First think you need username sagetv defined as a Windows user.
Then I think in sagetv service it would be./sagetv

You run the sagetv service as a Windows user that has access to your NAS
Reply With Quote
  #17  
Old 07-26-2017, 07:12 PM
jeffmart jeffmart is offline
Sage User
 
Join Date: Sep 2009
Location: Fonthill, ON
Posts: 13
A dependancy or service failed to start

okay, thanks for the ideas.

I can connect to the NAS drives from windows itself
I could try a windows account names sagetv as suggested but first, I wonder about the error I receive

error: "A dependancy or service failed to start"

I may try a Sage TV re-install or repair
__________________
Mac Mini 1.83 Core 2 Duo, OS X 10.5, 2 HDHomeRun dual tuners, 3 HD200 extenders.
Reply With Quote
  #18  
Old 07-27-2017, 07:18 AM
graywolf's Avatar
graywolf graywolf is offline
Sage Icon
 
Join Date: Oct 2009
Location: NC
Posts: 1,389
I'm thinking it was from how you specified the NAS username
I would try first using a Windows user and see if you still get that error
Reply With Quote
  #19  
Old 07-27-2017, 05:42 PM
jeffmart jeffmart is offline
Sage User
 
Join Date: Sep 2009
Location: Fonthill, ON
Posts: 13
Quote:
Originally Posted by graywolf View Post
I'm thinking it was from how you specified the NAS username
I would try first using a Windows user and see if you still get that error
okay, so the error is gone but the SageTV client (HD200) cannot browse to or map the (specify) the network drive.

I changed the NAS user name from sagetv to match the windows username (Susan) and set the password of the NAS username to match the windows account password

I have changed Run service as user to : Susan

I am able to open the folder on the NAS drive with the media and recordings are stored, by simply clicking on the NAS Server from the Windows Explorer window, in the Network section. I did not specifically map the drive.

should I map the drive?
where in the Setup>Detailed Setup> Recordings Add Directory should I find the folder by Browsing. I use up directory to the Top where I see C:\ and D:\ and Network
selecting Network returns invalid directory and none of the folders I can view while browsing are the NAS folder I am trying to specify
__________________
Mac Mini 1.83 Core 2 Duo, OS X 10.5, 2 HDHomeRun dual tuners, 3 HD200 extenders.
Reply With Quote
  #20  
Old 07-27-2017, 07:20 PM
newyankee's Avatar
newyankee newyankee is offline
Sage User
 
Join Date: Jul 2012
Location: Palo Alto
Posts: 45
One general purpose method is to select "search" in the main extender menu. (Assuming v9)

Search/ Browse File Systems/ Browse the SageTV server's Network/

then go from there .. workgroup, system, share, files


Then there is Detailed Setup/ General/ Media center import directories
__________________
Asus Z170Pro, I7 skylake, hyperthread off, Win 7 64 Ult, 32Gig, 2ea Hauppauge 2250, DTV SD & OTA, HD300
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
Network Shares ericscottf SageTV HD Theater - Media Player 4 01-05-2010 08:05 AM
WHS - Network Shares Access NetworkGuy SageTV Software 7 12-22-2009 04:16 PM
HD200 freezes after all uPNP videos / can't access network shares himay SageTV HD Theater - Media Player 1 05-31-2009 09:28 PM
6.3.8 - Can't see network shares vinny SageTV Beta Test Software 3 02-13-2008 05:53 AM
SageTV and Network Shares ptaylor SageTV Software 12 02-15-2007 06:03 PM


All times are GMT -6. The time now is 03:21 PM.


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