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.
Linux - Shares and symlinks
Re: Linux - Shares and symlinks
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
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
Samsung LE37B650T2WXXU; Liteon 5055GDL+ HDD/DVD Recorder; Playstation 3; Iomega Screenplay HD 500GB; Buffalo Linkstation Pro LS-320GL (running Twonky 6.0.30, SqueezeBox Server 7.6 and acting as a Print Server)
-
- Posts:2
- Joined:Wed Dec 30, 2009 12:48 am
- AV Hardware:PS3 3.15 (as client), Ubuntu 9.10 (as server)
Re: Linux - Shares and symlinks
Simple enough, thanks. Is there a document that contains a list of variables that can be set/changed?
Re: Linux - Shares and symlinks
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
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
Samsung LE37B650T2WXXU; Liteon 5055GDL+ HDD/DVD Recorder; Playstation 3; Iomega Screenplay HD 500GB; Buffalo Linkstation Pro LS-320GL (running Twonky 6.0.30, SqueezeBox Server 7.6 and acting as a Print Server)