LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   uShare - Directory Recursion and Symbolic Links (https://www.linuxquestions.org/questions/linux-server-73/ushare-directory-recursion-and-symbolic-links-784089/)

arashi256 01-22-2010 03:31 PM

uShare - Directory Recursion and Symbolic Links
 
Hi all,

I have uShare 1.1a setup to talk to my XBox 360. If I share a directory that has no subdirectories, the video files display on the XBox. However, most of my files are in sub-directories on a different partition - I don't really want to copy them to the share, but uShare doesn't seem to recognise any sub-directories or files contained therein.

I have tried setting up symbolic soft links directly to the video files (although this is a pain, it is better than moving the files)...

Code:

ln -s /home/jonftp/TV-Shows/Buffy/Season-1/Buffy-101.avi /home/share/Buffy-101.avi
...but these don't show up on the XBox either.

How can I get uShare to "drill down" the directory structure to list the files or how can I get uShare to follow symbolic links?

arashi256 01-23-2010 06:47 AM

I suppose I could get round this by sharing the directories, but again, this doesn't display what I'd expect. For example, I would have thought the following would display all AVI files in the /home/share directory, but it actually shows the last directory in the tree. Huh?

Code:

ln -s /home/jonftp/TV-Shows/Buffy/Season-1 /home/share
If I do an "ls" after this, I get the Season-1 directory and not a list of the files contained therein. Help?

arashi256 01-25-2010 04:53 AM

Fixed - this works if you invoke ushare from the command line, but not the /rc.d/init.d/ushare start (for some reason).

polrus 11-09-2013 05:43 PM

i have the same experience - why is it different when you call it from command line?


All times are GMT -5. The time now is 09:44 AM.