TwonkyServer 7.0.5-Special Kirkwood "shared folder" problem

General discussion about the media server. Feature requests. Hints, tips and tricks.

TwonkyServer 7.0.5-Special Kirkwood "shared folder" problem

Postby mbze430 » Tue May 08, 2012 8:58 pm

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.
mbze430
 
Posts: 13
Joined: Thu Dec 01, 2011 1:43 am

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

Postby phibertron » Tue May 15, 2012 7:27 pm

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
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
User avatar
phibertron
 
Posts: 1156
Joined: Sun Jan 30, 2011 5:52 pm

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

Postby mbze430 » Tue May 29, 2012 5:39 pm

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
mbze430
 
Posts: 13
Joined: Thu Dec 01, 2011 1:43 am

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

Postby phibertron » Tue May 29, 2012 6:24 pm

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
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
User avatar
phibertron
 
Posts: 1156
Joined: Sun Jan 30, 2011 5:52 pm

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

Postby mbze430 » Wed May 30, 2012 11:50 pm

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...
Last edited by mbze430 on Thu May 31, 2012 12:14 am, edited 1 time in total.
mbze430
 
Posts: 13
Joined: Thu Dec 01, 2011 1:43 am

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

Postby mbze430 » Thu May 31, 2012 12:02 am

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
mbze430
 
Posts: 13
Joined: Thu Dec 01, 2011 1:43 am

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

Postby mbze430 » Thu May 31, 2012 12:19 am

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)
mbze430
 
Posts: 13
Joined: Thu Dec 01, 2011 1:43 am

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

Postby phibertron » Thu May 31, 2012 2:26 am

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=
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
User avatar
phibertron
 
Posts: 1156
Joined: Sun Jan 30, 2011 5:52 pm

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

Postby mbze430 » Thu May 31, 2012 6:40 am

yes, usbdisk1 and usbdisk2 are USB mounted external HDD....

What are the parameter use to define "rmdrives="
mbze430
 
Posts: 13
Joined: Thu Dec 01, 2011 1:43 am

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

Postby phibertron » Thu May 31, 2012 6:38 pm

I "think" it could/should look like this

rmdrives=/mnt/usbdisk1,/mnt/usbdisk2
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
User avatar
phibertron
 
Posts: 1156
Joined: Sun Jan 30, 2011 5:52 pm


Return to TwonkyServer

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

cron