Page 1 of 1

TwonkyServer 7.0.5-Special Kirkwood "shared folder" problem

Posted: Tue May 08, 2012 8:58 pm
by mbze430
I didn't find anyone mentioning this(did a search already)... so if this topic has been cover. sorry and please redirect me to a "fix"

I have been running TwonkyServer 6.0.39 and it has been working great. I noticed that since I have moved to TwonkyServer 7.0.5-Special my directory isn't working how it was in 6.0.39. Let me explain.

I have a folder/directory in /mnt/disk1/mediaserver within this folder I have symbolic links to different parts where I have 3D, TV, New Movies, Music and Movies

In 6.0.39 my "shared" setup is looking only at /mnt/disk1/mediaserver and it would automatically pick up all the movies. I have set the DLNA Receiver to only "By Folder"... and it has been working pretty desirable.

However! With 7.0.5-Special I can't set up "shared folder" /mnt/disk1/mediaserver ... it will not pick up any movies.. however it will only pick up the Music. The only way around this is I have to create multiple share /mnt/disk1/mediaserver/TV, /mnt/disk1/mediaserver/3D...and so forth. This works, however now I can't distinguish easily what are TV shows and what are new movies and what are 3D movies.

So if anyone can help me with this... that would be great.

Re: TwonkyServer 7.0.5-Special Kirkwood "shared folder" prob

Posted: Tue May 15, 2012 7:27 pm
by phibertron
When you see this problem
Is there only one share defined for all media types under sharing in the settings page?

I usuually use one share for each media type

Re: TwonkyServer 7.0.5-Special Kirkwood "shared folder" prob

Posted: Tue May 29, 2012 5:39 pm
by mbze430
I use "video" as the share media type for my /mnt/disk1/mediaserver/ then use "music" for my music folder. Like I said, it works perfectly in TwonkyServer v6.

What I have also noticed is this. When I have the share set to /mnt/disk1/mediaserver, in the Status page it will NEVER scan or find any video. It will only work if I set up the share as /mnt/disk1/mediaserver/TV, /mnt/disk1/mediaserver/Movies and so on...

Since 7.0.7 is out for NAS. I am going to upgrade and see if that has address this issue. Will report back

Re: TwonkyServer 7.0.5-Special Kirkwood "shared folder" prob

Posted: Tue May 29, 2012 6:24 pm
by phibertron
Here is something else to check
check to see if followlinks is enabled in the twonkyserver.ini

Code: Select all

http://localhost:9000/rpc/set_option?followlinks=1
I think that by default the nas builds have contentbase set to /

check to make sure that it is the case

Code: Select all

http://localhost:9000/rpc/get_option?contentbase

Re: TwonkyServer 7.0.5-Special Kirkwood "shared folder" prob

Posted: Wed May 30, 2012 11:50 pm
by mbze430
here is the part in twonkyserver.ini

# follow symbolic links while scanning (Linux only)
followlinks=1

# for Linux/NAS systems this is the basedirectory used for content sharing (prep
contentbase=/


I haven't done the upgrade yet, since I couldn't find the 7.0.8 anywhere...

Re: TwonkyServer 7.0.5-Special Kirkwood "shared folder" prob

Posted: Thu May 31, 2012 12:02 am
by mbze430
Just tried it again... nothing changed...

even did a http://localhost:9050/rpc/rebuild

and here are my symbolic links

root@LSHOME:/mnt/disk1/mediaserver# ls -al
drwxrwxrwx 2 root root 70 May 25 14:34 .
drwxr-xr-x 12 root root 147 Apr 23 00:29 ..
lrwxrwxrwx 1 root root 16 Jan 22 19:14 3D -> /mnt/usbdisk2/3D
lrwxrwxrwx 1 root root 21 Dec 5 02:13 Chinese -> /mnt/usbdisk2/chinese
lrwxrwxrwx 1 root root 13 Jul 27 2011 Movies -> /mnt/usbdisk1
lrwxrwxrwx 1 root root 23 Jul 27 2011 New Releases -> /mnt/disk1/new_releases
lrwxrwxrwx 1 root root 13 Jul 27 2011 TV -> /mnt/disk1/TV

looks like something is broken with the followlinks=1

Re: TwonkyServer 7.0.5-Special Kirkwood "shared folder" prob

Posted: Thu May 31, 2012 12:19 am
by mbze430
I think I fixed it!

I have to put /mnt/disk1/mediaserver share as the FIRST entry! If I have /mnt/disk1/music as the first entry it will not scan the symbolic link

I don't know if that is a bug... (I would assume it is, since I don't think it should matter which share goes first)

Re: TwonkyServer 7.0.5-Special Kirkwood "shared folder" prob

Posted: Thu May 31, 2012 2:26 am
by phibertron
interesting find

are these external / removable drives?
/mnt/usbdisk1
/mnt/usbdisk2

If so, I remember, that they should be defined in the twonkyserver.ini

# removable media drives
rmdrives=

Re: TwonkyServer 7.0.5-Special Kirkwood "shared folder" prob

Posted: Thu May 31, 2012 6:40 am
by mbze430
yes, usbdisk1 and usbdisk2 are USB mounted external HDD....

What are the parameter use to define "rmdrives="

Re: TwonkyServer 7.0.5-Special Kirkwood "shared folder" prob

Posted: Thu May 31, 2012 6:38 pm
by phibertron
I "think" it could/should look like this

rmdrives=/mnt/usbdisk1,/mnt/usbdisk2