SageTV Community  

Go Back   SageTV Community > General Discussion > General Discussion
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

General Discussion General discussion about SageTV and related companies, products, and technologies.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-08-2006, 12:13 PM
Jesse's Avatar
Jesse Jesse is offline
Sage Fanatic
 
Join Date: Feb 2005
Location: Marietta, Ga.
Posts: 813
Dumb question of the day: UNC paths

Hello,

I am a little embarassed to ask, but I know didley about networking/sharing so here goes.

I am trying to get my client pc to work with comskip. Searching the forums indicates that I should have my recordings in a file named using UNC.

Currently all my sage recordings are in the folder "G:\Sage Recordings" on my server which is named "jukebox"

I am guessing it will need to be something like \\jukebox\Sage Recordings

I know how to get windows to share the file, but how do I actually rename this file location? What are the steps I need to take here?

TIA

Jesse
Reply With Quote
  #2  
Old 02-08-2006, 12:20 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
You assign a share name when you enable sharing on that folder. In Explorer, right-click on the folder you want to share and choose Sharing and Security. Click the radio button that says Share this folder and fill in your desired share name. Your full UNC path is then \\computername\sharename.
__________________
-- Greg
Reply With Quote
  #3  
Old 02-08-2006, 12:33 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Maybe I'm misunderstanding your question. If you're asking how you tell Sage to use the UNC folder path, you can do that from Setup > Detailed Setup > General > Video Recording Directories. Click Modify, click the name of your current directory, click Change the directory path, Specify..., and then type in the UNC path you defined when sharing out the folder in Windows.
__________________
-- Greg
Reply With Quote
  #4  
Old 02-08-2006, 12:58 PM
Jesse's Avatar
Jesse Jesse is offline
Sage Fanatic
 
Join Date: Feb 2005
Location: Marietta, Ga.
Posts: 813
Hello Greg,

Actually part one is what I was looking for. Part two does help complete the picture though.

I never noticed that you could assign the share name in windows sharing and security.

So would the name then be "\\jukebox\sage recordings" ?

Thanks very much for your help.

Jesse

Last edited by Jesse; 02-08-2006 at 03:28 PM.
Reply With Quote
  #5  
Old 02-08-2006, 10:44 PM
Menehune's Avatar
Menehune Menehune is offline
Sage Aficionado
 
Join Date: Oct 2004
Location: Maui, Hawaii
Posts: 403
In the window's sharing and security box you can specify what the name of the shared folder is to be.

For example:
My server menehune has the E: drive, captures folder shared as "capturee".
In "my network places" on my workstation that folder shows up as: //menehune/capturee.
I guess on the server I could share the "captures" folder as "1" if I wanted to, but I prefer descriptive filenames.
Reply With Quote
  #6  
Old 02-09-2006, 09:53 PM
stevech stevech is offline
Sage Icon
 
Join Date: Dec 2005
Posts: 1,643
of course, all participating PCs have to be setup to be in a Windows "Workgroup" and all have the same Workgroup Name, assuming you aren't using an NT domain controller as would be the case in an enterprise LAN.
Reply With Quote
  #7  
Old 02-10-2006, 09:41 PM
olyar15 olyar15 is offline
Sage Advanced User
 
Join Date: Apr 2003
Location: Bowser, BC, Canada
Posts: 240
Quote:
Originally Posted by Jesse
Hello,

Currently all my sage recordings are in the folder "G:\Sage Recordings" on my server which is named "jukebox"

I am guessing it will need to be something like \\jukebox\Sage Recordings
Not quite. It would go \\[server name]\[share name]\[folder name]\[subfolder name]...

So in your case, assuming you name your G: drive as, say, "disk G", it would be :
\\jukebox\disk G\Sage Recordings
__________________
Charles Lee
Reply With Quote
  #8  
Old 02-11-2006, 12:19 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Or if he shares out the Sage Recordings folder directly, it would be \\jukebox\Sage Recordings, just like he said.

The shared folder doesn't have to be the root folder of a drive. You can directly share any folder or subfolder at any depth, and the UNC path is still \\computername\sharename. No need to include the drive root if you don't want to.
__________________
-- Greg
Reply With Quote
  #9  
Old 02-20-2006, 08:31 PM
gateslinger gateslinger is offline
Sage User
 
Join Date: Dec 2004
Posts: 28
I'm using SageTV 4.1.3. I cannot get the UNC path to mount from the detailed settings -> media center import directory menu.

In my windows explorer, it's \\cerebellum\rewindlib, mapped to letter drive G. I can browse it, no problems.

In SageTV I select add new directory, then specify the name. I use the mapping above, but all I get is:

"The directory \\cerebellum\rewindlib does not exist. Would you like to create it?"

Any ideas on what the heck am I doing wrong?
Reply With Quote
  #10  
Old 02-21-2006, 11:41 AM
stevech stevech is offline
Sage Icon
 
Join Date: Dec 2005
Posts: 1,643
would you want the network drive mapped to a drive letter (G) if you are going to refer to it via UNC? I would guess not - i.e., remove the drive letter map. Not sure this is the problem.
I suppose you could tell SageTV to use the drive letter instead of UNC. Depending on your goals.
Reply With Quote
  #11  
Old 04-22-2006, 07:14 AM
nathanwray nathanwray is offline
Sage User
 
Join Date: Feb 2005
Posts: 28
mount UNC paths when running Sage as a service?

I've had better luck in terms of stability when I run sage as a service. I've not been able to mount UNC paths when I run as a service though. I tried creating a "sage" user that has "run as service" enabled and running the service as this user, no dice. Has anyone been able to use "run as service" together with UNC mounted media folders? The UNC path is wide open in terms of security, guest allowed, no password. It works fine when I turn off run as service, since Sage is then running as the logged-in account.

I've read a few things about needing "interact with desktop" to access UNC paths from a service (which is only available to the LocalService acount), I've also read that you have to run the service as a user (and not LocalService) in order to connect to UNC paths. I've been messing with this for some time, thinking there must be an easy answer that I'm not finding. Any windows devs know this one?

thanks in advance
Nathan
Reply With Quote
  #12  
Old 04-22-2006, 10:50 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
My WinXP SP2 Sage server runs as a service under a "SageUser" user account, and uses UNC paths for my media folders. It's been a while since I set this up, but as I recall it didn't work right until I added SageUser to the local Administrators group.
__________________
-- Greg
Reply With Quote
  #13  
Old 04-22-2006, 02:51 PM
src666 src666 is offline
Sage Aficionado
 
Join Date: Feb 2005
Posts: 459
There are two things you need to remember when setting up UNC paths. First off, Share settings. Setting up the share, and giving the users permissions is critical. Make sure that you give the Sage service user full rights.

Second, and this is the step that many people overlook, you have to give them file system permissions as well. Once you have set up the share permission, click on the Security tab in the dialog, and explicitly add the Sage user to the list. Again, give it full rights.

Once this is done, using the UNC paths is simple.
Reply With Quote
  #14  
Old 05-02-2006, 05:09 PM
nathanwray nathanwray is offline
Sage User
 
Join Date: Feb 2005
Posts: 28
I almost brushed this off but it turned out you were right on the money. Samba reads files as the "nobody" user when you turn on anonymous access and don't authenticate. That user could read the top level folder but none of the music files. I added an "smbnobody" user that has read permissions, reconfigured samba, and the problem went away.

Thanks for the help - always go back and recheck the basics


Quote:
Originally Posted by src666
There are two things you need to remember when setting up UNC paths. First off, Share settings. Setting up the share, and giving the users permissions is critical. Make sure that you give the Sage service user full rights.

Second, and this is the step that many people overlook, you have to give them file system permissions as well. Once you have set up the share permission, click on the Security tab in the dialog, and explicitly add the Sage user to the list. Again, give it full rights.

Once this is done, using the UNC paths is simple.
Reply With Quote
  #15  
Old 05-02-2006, 07:50 PM
src666 src666 is offline
Sage Aficionado
 
Join Date: Feb 2005
Posts: 459
Quote:
Originally Posted by nathanwray
I almost brushed this off but it turned out you were right on the money. Samba reads files as the "nobody" user when you turn on anonymous access and don't authenticate. That user could read the top level folder but none of the music files. I added an "smbnobody" user that has read permissions, reconfigured samba, and the problem went away.

Thanks for the help - always go back and recheck the basics
Well, it was easy because I had recently made the same mistake myself, so it was fresh in my mind.
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 01:46 AM.


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