A list of folders that are blacklisted by Twonky Server
Posted: Wed Sep 12, 2012 5:09 pm
I was informed that TwonkyServer has a hard coded internal list of directories that are ignored when scanning for content:
/proc
/dev
/sys
/lost+found
/var/preserve
/var/cache
/var/db
/var/local
/var/tmp
/var/opt
/var/run
/var/nis
/var/lib
/var/spool
/var/games
/var/lock
/var/log
/var/yp
/bin
/etc
/lib
/sbin
/srv
/boot
/opt
/Program files
/Program files (x86)
/Windows
/I386
/Drivers
These are also possibly on the blacklist
• /usr/etc
• /usr/share
• /usr/lib
• /usr/libexec
• /usr/local/share
• /tmp
• /mnt
• AppleDouble
If see the following in the logs
It is an indicator that one of the above folders was used for sharing
On windows, you should place you media in a different folder
On Linux or Mac, you can do the following
You can remedy the problem in one of two ways
1.
Use a different mount point for you media
Or
2.
Create a symlimk on the file system and share that
For example running this command: (its just an example)
ln –s /srv /twonkyshares
and then configure twonky to point to the folder /twonkyshares
you will also need to set "followlinks= 1" in the twonkyserver.ini file.
/proc
/dev
/sys
/lost+found
/var/preserve
/var/cache
/var/db
/var/local
/var/tmp
/var/opt
/var/run
/var/nis
/var/lib
/var/spool
/var/games
/var/lock
/var/log
/var/yp
/bin
/etc
/lib
/sbin
/srv
/boot
/opt
/Program files
/Program files (x86)
/Windows
/I386
/Drivers
These are also possibly on the blacklist
• /usr/etc
• /usr/share
• /usr/lib
• /usr/libexec
• /usr/local/share
• /tmp
• /mnt
• AppleDouble
If see the following in the logs
It is an indicator that one of the above folders was used for sharing
Code: Select all
LOG_SCAN: upnp_ignore_dir : ignored directory in black list
On Linux or Mac, you can do the following
You can remedy the problem in one of two ways
1.
Use a different mount point for you media
Or
2.
Create a symlimk on the file system and share that
For example running this command: (its just an example)
ln –s /srv /twonkyshares
and then configure twonky to point to the folder /twonkyshares
you will also need to set "followlinks= 1" in the twonkyserver.ini file.