Page 1 of 1

Linux - Shares and symlinks

Posted: Wed Dec 30, 2009 12:55 am
by shivs
How do I configure twonkymedia server to follow symlinks

shivs /usr/local/twonkymedia:$: ls -l /media/Media
total 0
lrwxrwxrwx 1 craig craig 30 2009-12-06 11:56 Incoming -> /media/Media_3/Media/Incoming/
lrwxrwxrwx 1 craig craig 35 2009-12-06 11:53 Movies 0 to H -> /media/Media_1/Media/Movies 0 to H/
lrwxrwxrwx 1 craig craig 35 2009-12-06 11:56 Movies I to Z -> /media/Media_2/Media/Movies I to Z/
lrwxrwxrwx 1 craig craig 27 2009-12-06 11:56 Music -> /media/Media_2/Media/Music/
lrwxrwxrwx 1 craig craig 23 2009-12-06 11:56 TV -> /media/Media_2/Media/TV

If I define /media/Media in the shares "Content Locations" then Rebuild Database and Rescan content, no files show up under "http://127.0.0.1:9000/webbrowse", but if I individually add each folder (ex. /media/Media_3/Media/Incoming/) the files are added to the database.

I would like this solved as all my media is defined under this structure, and is a must in order to browse the large media share I have.

Re: Linux - Shares and symlinks

Posted: Wed Dec 30, 2009 7:05 pm
by PeeBee
There is an INI file entry called followlinks which is what I think you need.

In a web browser type http:\\<your-server-ip>\rpc\get_option?followlinks to see what this parameter is set to (0 or 1) then use http:\\<your-server-ip>\rpc\set_option?followlinks=0 (or 1) to set it to the other value. I'm not sure which one will give the behaviour you want but am assuming it is the one you are not set to at the moment.

PB

Re: Linux - Shares and symlinks

Posted: Thu Dec 31, 2009 1:38 am
by shivs
Simple enough, thanks. Is there a document that contains a list of variables that can be set/changed?

Re: Linux - Shares and symlinks

Posted: Fri Jan 01, 2010 1:10 pm
by PeeBee
Not that I know of but look at your INI file and it should contain all of the parameters whether they are set or not. Each of them can be set/read via RPC calls.

Note that the default-ini file only contains basic parameters and not the full list.

BTW, did it fix your problem and, if so, what value is it set to to follow links?

PB