Linux - Shares and symlinks

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
shivs
Posts:2
Joined:Wed Dec 30, 2009 12:48 am
AV Hardware:PS3 3.15 (as client), Ubuntu 9.10 (as server)
Linux - Shares and symlinks

Post by shivs » Wed Dec 30, 2009 12:55 am

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.

PeeBee
Posts:392
Joined:Sat Jun 13, 2009 12:16 pm
AV Hardware:Buffalo LS Pro; PS3; Samsung LE37B650

Re: Linux - Shares and symlinks

Post by PeeBee » Wed Dec 30, 2009 7:05 pm

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
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)

shivs
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

Post by shivs » Thu Dec 31, 2009 1:38 am

Simple enough, thanks. Is there a document that contains a list of variables that can be set/changed?

PeeBee
Posts:392
Joined:Sat Jun 13, 2009 12:16 pm
AV Hardware:Buffalo LS Pro; PS3; Samsung LE37B650

Re: Linux - Shares and symlinks

Post by PeeBee » Fri Jan 01, 2010 1:10 pm

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
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)

Locked