Problem with Twonky Web UI (Wrong IP for Files)

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
Utgardus
Posts:4
Joined:Wed Mar 04, 2015 11:29 am
AV Hardware:WD MyBook Live w Twonky 7
Pioneer VSX-924
Samsung UE40D5700
Problem with Twonky Web UI (Wrong IP for Files)

Post by Utgardus » Wed Mar 04, 2015 11:36 am

Hello everyone,

I am using a Twonky Server 7 on my MyBook Live by WD.

Streaming via DLNA to my Samsung TV and my Pioneer AVR is working well. However the Streaming via Webbrowser is not working comfortable as every link is pointing to 127.0.0.1.

The navigation is all fine, but if I click on a mediafile, it does not matter if it is mp3 or flac the link is like the following two:

http://127.0.0.1:9000/disk/DLNA-PNMP3-O ... 057088.mp3
http://127.0.0.1:9000/disk/NON-DLNA-OP0 ... 20352.flac

Which can not work as the the server is not running on my local machine. If I replace the 127.0.0.1 with the remote IP of the Twonky server so that the URL looks like http://TwonkyIPorDNS:9000/disk/DLNA-PNM ... 057088.mp3 it works fine.

How can I teach the Twonky Server to point to the correct IP/DNS automatically?

Thank you for your help and sorry for my bad English!

Xadex
Posts:8
Joined:Fri Dec 12, 2014 9:11 pm
AV Hardware:HP, NUC

Re: Problem with Twonky Web UI (Wrong IP for Files)

Post by Xadex » Wed Mar 04, 2015 1:04 pm

Below works for me. Here we go:
http://TwonkyLocalIp:9000/rpc/set_option?enableweb=2
http://TwonkyLocalIp:9000/rpc/set_option?enabletls=0
http://TwonkyLocalIp:9000/rpc/set_optio ... eport=9100
http://TwonkyLocalIp:9000/rpc/set_optio ... p.provider (or your fixed IP address http://xxx.xxx.xxx.xxx. Must be set!)

Restart Twonky server.

You should connect remotely to your server via port 9100 (as above), not 9000.

Also you may consider to set remote access login and password, but some browsers (Chrome, endless login/password request) do not work correctly with this feature enabled.
http://TwonkyLocalIp:9000/rpc/set_optio ... remoteuser
http://TwonkyLocalIp:9000/rpc/set_optio ... ngpassword

Utgardus
Posts:4
Joined:Wed Mar 04, 2015 11:29 am
AV Hardware:WD MyBook Live w Twonky 7
Pioneer VSX-924
Samsung UE40D5700

Re: Problem with Twonky Web UI (Wrong IP for Files)

Post by Utgardus » Wed Mar 04, 2015 3:55 pm

Hi Xadex and thank you for your reply.

Unfortunately those settings did not help me, as my librarys are not shown when connecting via Port 9100. Port 9000 works, but it still links to localhost on the mediafiles.
With 9100 I only see the page My collection when clicking on Music / Video.

If you want to, I can Post my settings file in here. Maybe there is something wrong with it.

Xadex
Posts:8
Joined:Fri Dec 12, 2014 9:11 pm
AV Hardware:HP, NUC

Re: Problem with Twonky Web UI (Wrong IP for Files)

Post by Xadex » Wed Mar 04, 2015 4:13 pm

Hmm. Try to
http://TwonkyLocalIp:9000/rpc/set_option?remoteaccess=1
and restart the Twonky server.

Also your settings file are welcome if above will not help you. Don't forget to xxx sensitive information (IP's, passwords, etc.).

Utgardus
Posts:4
Joined:Wed Mar 04, 2015 11:29 am
AV Hardware:WD MyBook Live w Twonky 7
Pioneer VSX-924
Samsung UE40D5700

Re: Problem with Twonky Web UI (Wrong IP for Files)

Post by Utgardus » Thu Mar 05, 2015 8:15 am

Unfotunately this didn't help also.

Here is my full Config with x'ed sensitive information.

Thank you for your help!

#! Twonky ini file / charset UTF-8
#! Change settings by commandline or by editing this file
#! Do not add space characters before or after equal sign!

[main]
# Visible name in the network
friendlyname=xxx

# Comma separated list of IP addresses to bind to (optionally can include a netmask e.g. 192.168.3.0|255.255.255.0 will match address range 192.168.3.x). Default: blank = all networks
ip=xxx

# Watch changes in machine's network conf (1: yes, 0: no)
nicrestart=1

# Verbose level for logging
v=4095

# Compile platform
platform=powerpc_341_225

# Port of the http server
httpport=

# TTL for SSDP packets. Default: 4
ssdpttl=4

# Timeout for theSSDP heartbeat thread. Default: 100 ms
ssdpheartbeattimeout=100

# clear detected clients table on each restart
clearclientsonrestart=0

# disable SSDP on localhost
disablelocalssdp=0

# enable https remote connections
enabletls=0

# Log level (0:debug, 1:trace, 2:info, 3:warning, 4:error, 5:critical)
vlevel=4

# Stack size in bytes per thread on Linux. Default: 196608
stack_size=196608

# 2 letter language setting (en,de,...)
language=de

# UserID Please Do NOT change it manually
userid=xxx

# AppID unique ID for TSDK based application, stored inside DTCP secure contents
appid=

# Portal username Please Do NOT change it manually
portalusername=Utgardus

# twonky info for Media Feeds Please Do NOT change it manually
twonkyinfo=xxx

# enable NMC Queue Handler Device
enablequeuehandlerdevice=0

# enable NMC Web API
enablenmcwebapi=1

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

# flush log messages
flushlogmsg=0

# Webdav Port
webdavport=

# Comma separated list of IP addresses to explictly exclude (optionally can include a netmask e.g. 192.168.3.0|255.255.255.0 will match address range 192.168.3.x)
ignoreip=

# URL location for downloading device database updates
autoupdateurl=

# media type filter for non local clients, values are: A (all,default) | M | P | V | m | p | v | X (non)
mediatypefilter=A

# bitfield to specify what is reported to the portal: 1 (devices), 2 (library size), 4 (local playback), 8 (beaming)
enablereporting=0

# optional <appid> added to reports to the portal
reportingappid=

# Port number for the SSDP heartbeat. Default: 1900
ssdpheartbeatport=1900

# for Linux/NAS systems this is the basedirectory used for content sharing (prepended to all shares)
contentbase=/

# Specifies a comma separated list of network interfaces to bind to (example eth0,ra0 etc). Check ifconfig -a to get list of interfaces
iface=

# Specifies a comma separated list of interface names to ignore
ignoreiface=

# Maximum number of cuncurently running threads (in thread pool); 0- no limit
maxthreads=0

# Name of the online service; default NULL is equivalent to "Online Services"
onlineservicename=

# Expire peristent devices inactive for more than this period (in days) (0 to suppress expiry)
pdbexpiretime=14

# URL to a web application for the online services configuration
profileserviceurl=http://profile.twonky.com

# directory for cached/transcoded files
cachedir=/var/twonky/twonkyserver/db/cache

# max space files take under the directory for cached/transcoded files
cachemaxsize=

# Maximum allowed time (in hours) for MAC address to be stored in cache,0-disable MAC caching
maccacheleasetime=24

# Enables Friendly Info Update Service for dynamic friendlyname and icon update.
enablefriendlyinfoupdate=

# Enables deprecated web interfaces /feed/json and /feed/rss. Application developers should use /nmc/rss and /nmc/rss?fmt=json instead
enabledeprecatedjsonandrssfeed=

# limit device description responses to particular user agent only
limit_devdesc_responses_ua=

# limit device description responses to particular IP address
limit_devdesc_responses_ip=

# ignore inotify file create events
ignore_inotify_file_create=0

# process scan queue only if unchanged for n seconds
scan_queue_delay=0

# use queue when scanning folders
queue_on_folder_scan=0

# for protection of the web config pages
accessuser=

# for protection of the web config pages
accesspwd=

# license key
cdkey=

# auto enable new detected clients
clientautoenable=1

# default codepage used for ASCII to UTF-8 conversions
codepage=932

# music files under this directory are handled as part of a compilation
compilationsdir=Compilations,Sampler

# CSV list of all shares, prepended by the type (A,M,P,V) and a '+' or '-' sign to flag enabled or disabled shares
contentdir=+M|/shares/xxx,+V|/shares/xxx,+A|/shares/xxx,-M|/xxx,-M|/shares/xxx,+M|/shares/xxx,+M|/shares/xxx,+M|/shares/xxx,+M|/shares/xxx,+M|/shares/xxx,+M|/shares/xxx,+M|/shares/xxx,+M|/shares/xxx

# directory where metadata database is stored
dbdir=/var/twonky/twonkyserver/db

# dynamic dns prefix for remote access, including http://
dyndns=http://xxx.myfritz.net/

# access to web config pages, 0 for denied, 1 for local only, 2 for open
enableweb=2

# http server port for remote access
httpremoteport=9100

# ignore this directory for scanning (can be a comma separated list)
ignoredir=AppleDouble,AppleDB,AppleDesktop,TemporaryItems,.fseventsd,.Spotlight-V100,.Trashes,.Trash,RECYCLED,RECYCLER,RECYCLE.BIN

# full path to the iTunes library .xml file, empty to disable iTunes import
ituneslib=

# -1 for evented, 0 for disabled, positive value for rescan time in minutes
scantime=-1

# buffer size in bytes used for streaming
streambuffer=16384

# enable content upload
uploadenabled=1

# directory where uploaded songs are stored, if not specified server will use default name based on servermanagedmusicdir property
uploadmusicdir=

# directory where uploaded pictures are stored, if not specified server will use default name based on servermanagedpicturedir property
uploadpicturedir=

# directory where uploaded videos are stored, if not specified server will use default name based on servermanagedvideodir property
uploadvideodir=

# directory where server store mirrored songs, if not specified server will use default name based on servermanagedmusicdir property
mirroredmusicdir=

# directory where server store mirrored photos, if not specified server will use default name based on servermanagedpicturedir property
mirroredpicturedir=

# directory where server mirrored videos, if not specified server will use default name based on servermanagedvideodir property
mirroredvideodir=

# default location where server managed music folders are stored, like uploaded and mirrored songs, subfolder names are created based on strings from language files
servermanagedmusicdir=/twonky/music/Twonky

# default location where server managed picture folders are stored, like uploaded and mirrored photos, subfolder names are created based on strings from language files
servermanagedpicturedir=/twonky/pictures/Twonky

# default location where server managed video folders are stored, like uploaded and mirrored videos, subfolder names are created based on strings from language files
servermanagedvideodir=/twonky/videos/Twonky

# default view for clients
defaultview=advanceddefault

# removable media drives
rmdrives=

# removable media home drive
rmhomedrive=/var/twonky/twonkyserver/db

# auto share removable media
rmautoshare=0

# maximum items that the server will share
maxitems=0

# enable aggregation of other DLNA servers
aggregation=0

# default aggregation mode for new discovered servers (0:ignore, 1: aggregate, 2:mirror)
aggmode=0

secure_folder_path=

# enable remote access
remoteaccess=1

# maximum number of DTCP sessions running at one time
dtcpsessionlimit=8

# Absolute path to file with DTCP session count
dtcpsessioncount=

# The friendly name for upload location in a recording server
uploaddestinationfriendlyname=UploadDestination

# comma separated list of DLNA profiles that shall only be accepted on upload
uploadrestrictedprofiles=

# bitfield to disabled specific server frontends like HTML or RSS, use (1=HTML, 2=RSS, 4=JSON, 8=FLASH)
disablefrontends=

# maximum number of simultaneous CreateObject sessions, set 0 or negative for unlimited
upnpuploadlimit=0

# set to 1 to prevent server entering sleep mode
disablesleepmode=0

# comma separated list of maximum uploaded file size in megabytes for Photo, Music and Video contents, set 0 for unlimited
uploadmaxfilesize=0,0,0

# maximum number of sessions (upload/download/streaming) running at one time
httpsessionlimit=

# clear the cache on each restart of the server
clearcacheonrestart=

# specifies the maximum image size in pixels the scaler can handle
scalermaxpixels=

# minimum interval between two consecutive recordings (in seconds)
hdrlnextreadyvalue=180

# enable non-keyframe mode for generating time-seek-table
enablenonkeyframetstgen=0

# specify additional folder where server looks for .import.items files
importdir=

# set to 1 to disable the mytwonky subnodes
disablemytwonky=0

# set to 1 to include the folder name of the shares in the 'By Folder' navigation
includefolder=0

# add and share itunes lib
rmadditunes=0

# allow upload to removable media
rmupload=0

# bitfield to enable/disable content discovery methods (1=Shared Folder Enumeration, 2=File System Events, 4=Import Items File)
contentdiscoverymode=7

# RemoteUI Server functionality (0:disable RUIS (default), 1:CEA2014 RUIS, 2:HTML5 Lite RUIS, 3:HTML5 Main RUIS)
enableruiserver=0

# set to 1 to disable time seek generation
disabletimeseek=0

# directory for albumart files
albumartdir=

# File System Eventing Test Required (1:Yes, 0:No)
fseventingtest=0

# set to 1 to disable duplicate removal algorithm
disableduplicateremoval=0

# content folder will be ignored if it contains any files in this list
ignoredirwithfile=.nomedia,.ignorethis

# Force a database update at startup (skipped by default with scantime=0)
forceinitialscan=0

# username for protection of accessing classified videos
classifiedaccessuser=

# password for protection of accessing classified videos
classifiedaccesspwd=

# The TwonkyTuner's network host adress, under the form "IP.IP.IP.IP"
twonkytuner_host=127.0.0.1

# The TwonkyTuner's http port
twonkytuner_port=

# Set .import files polling interval in seconds (default=60)
importscantime=

# set to 1 to limit transcoding processes to one per client IP address
limittranscodingperclient=0

# disable scaling of JPEG images encoded with progressive mode
disablepmscaling=0

# Timeout for file scanner watchdog thread (-1 to disable). Default: 250ms
scannerwatchdogtimeout=

# Timeout for file scanner notify thread (-1 to disable). Default: 250ms
scannernotifychecktimeout=

# Timeout for DB notify check timeout (-1 to disable). Default: 250ms
dbnotifychecktimeout=

# Timeout for checking shutdown signal in threads: Default: 100ms
shutdownchecktimeout=

# Comma separated list of paths to ignore. All content under these paths will be ignored
ignoredirsbeginningwith=

# Disable the .unsupported marker for failed transcoding attempts
disableunsupportedmarker=0

# If this set to 1 server will work only on localhost until file scanner ready
delaynetwork=0

# If this set to 1 server will provide DTCP content only to clients with DT flag in client adaptation
disabledtcp=0

# If this set to 1 server will not use only MPEG-TS and MP4 but all content-formats for DTCP. If toggled REBUILD is needed to update DLNA profiles of MPEG files.
dtcp_use_all_content=1

# Cut smart playlists at this date, if set. Format is CCYY-MM-DD[Thh:mm:ss].
smartplaylistcutdate=

# If this set to 1 server will not share WM DRM protected files.
donotscandrm=0

# When total amount of memory used exceeds this value then no additional contents will be shared
memsharinglimit=0

# Specify location of FUN files. Setting this property enables FUN files scanning.
fun_file_location=

# Specify FUN files scan interval in seconds, -1 to use file events
fun_scaninterval=0

# Always share the servermanaged/upload directories - if set to 0 the upload directories need to be located within another active share
autoshare_upload_dirs=1

# Disable albumart fallback per content type (0-all enabled,1-disable music,2-disable video)
disablealbumart_fallback=0

# Ignore embedded thumbnails when selecting the input for picture scaling (1 ignore them, 0 use them - default)
ignore_embedded_thumbnails=0

# Specify the path of remoteui server index html file (relative to remoteui-html folder)
ruiserverindexhtml=

# Presentation URL of device
presentation_url=

# Set to non-zero to disable persistent connections, zero (default) to use them
no_persist_conn=0

# Initial interval in s between MSearches. 0 to use normal interval. Default: 3
msearch_start_interval=3

# Interval in s between MSearches. 0 to disable. Default: 0
msearch_interval=0

# Poll interval for DMR state changes of broken renderers in s. -1 to disable. Default: 5
dmr_state_poll_interval=5

# Client cache size limit. Default: 1048576
client_cache_size_limit=1048576

# MAX QUEUE SIZE. Default: -1
max_queue_size=-1

# Operation mode of RemoteUI Client. 1: CEA2014 RUIC, 2: HTML5 (Lite) RUIC, 3: HTML5 (Main) RUIC. Default: 3
ruic_mode=3

# Interval to poll RCS for devices which not sending events properly. Default: 30sec
rcs_poll_interval=30

# Location of the thumbnail cache. Default: tncache
thumbnail_cache_dir=tncache

# Storage type (Memory / Disk) to use for thumbnail cache. Default: M
thumbnail_cache_storage_type=M

# Maximum size to be used for the thumbnail cache size in bytes. Default: 1048576
thumbnail_cache_size=1048576

# Number of thumbnail cache threads. Default: 1
thumbnail_max_threads=1

# Auto enable new detected control points. Default: 1
cpautoenable=1

Xadex
Posts:8
Joined:Fri Dec 12, 2014 9:11 pm
AV Hardware:HP, NUC

Re: Problem with Twonky Web UI (Wrong IP for Files)

Post by Xadex » Thu Mar 05, 2015 10:49 am

For me your config file seems Ok. But I would also set
http://TwonkyLocalIp:9000/rpc/set_optio ... ocalssdp=1
and restart the server.

If above will not help, via remote connection (port 9100) you should be able to visit "Settings" page and check "Status" link.
What are you see there? How many "Videos: Songs: Photos:" If all zero, proceed to "Sharing" link. Does all your shares shown right (same as if you are visiting this page via 9000 port locally)?
If yes, try to delete some share and add the same one again. Don't forget to click "Save changes".

Of course before doing something it's good to do backup of you config file.

Utgardus
Posts:4
Joined:Wed Mar 04, 2015 11:29 am
AV Hardware:WD MyBook Live w Twonky 7
Pioneer VSX-924
Samsung UE40D5700

Re: Problem with Twonky Web UI (Wrong IP for Files)

Post by Utgardus » Tue Mar 17, 2015 12:42 pm

Hi Xadex,

unfortunately this also did not help. It is the same thing as before. I do not get anything shown in the Media Library with port 9100.
By using port 9000 it works as it is supposed to be, but pointing to 127.0.0.1 even after disabling localssdp.

If I check the settings page everything looks fine on both ports. Both ports display the exact amount of Audio Video and Photo files. And yes all shares are shown right.

Xadex
Posts:8
Joined:Fri Dec 12, 2014 9:11 pm
AV Hardware:HP, NUC

Re: Problem with Twonky Web UI (Wrong IP for Files)

Post by Xadex » Wed Mar 18, 2015 7:13 pm

Hi Utgardus,

I give up. Herebelow my ini file and it works. Please note I'm using 8.x version of Twonky, so some parameters in my ini file may be
suitable only for 8.x and some parameters which are exists in 7.x not used (obsolete) in 8.x.
For example in 8.x "remoteaccess = " parameter is obsolete.

Compare my file with yours and may be you will find the reason.

Code: Select all

#! Twonky ini file / charset UTF-8
#! Change settings by commandline or by editing this file
#! Do not add space characters before or after equal sign!

[main]
# Visible name in the network
friendlyname=Twonky

# Comma separated list of IP addresses to bind to (optionally can include a netmask e.g. 192.168.3.0|255.255.255.0 will match address range 192.168.3.x). Default: blank = all networks
ip=192.168.1.XXX

# Watch changes in machine's network conf (1: yes, 0: no)
nicrestart=1

# Verbose level for logging
v=0

# Compile platform
platform=x86-64_gcc443_glibc290

# Port of the http server
httpport=

# TTL for SSDP packets. Default: 4
ssdpttl=4

# Timeout for theSSDP heartbeat thread. Default: 100 ms
ssdpheartbeattimeout=100

# clear detected clients table on each restart
clearclientsonrestart=0

# disable SSDP on localhost
disablelocalssdp=1

# enable https remote connections
enabletls=0

disabletlscertprocessing=0

# Log level (0:debug, 1:trace, 2:info, 3:warning, 4:error, 5:critical)
vlevel=3

# Stack size in bytes per thread on Linux. Default: 196608
stack_size=196608

# 2 letter language setting (en,de,...)
language=en

# UserID Please Do NOT change it manually
userid=X

# AppID unique ID for TSDK based application, stored inside DTCP secure contents
appid=

# Portal username Please Do NOT change it manually
portalusername=

# twonky info for Media Feeds Please Do NOT change it manually
twonkyinfo=X

# enable NMC Queue Handler Device
enablequeuehandlerdevice=1

# enable NMC Web API
enablenmcwebapi=1

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

# flush log messages
flushlogmsg=0

# Webdav Port
webdavport=

# Comma separated list of IP addresses to explictly exclude (optionally can include a netmask e.g. 192.168.3.0|255.255.255.0 will match address range 192.168.3.x)
ignoreip=

# URL location for downloading device database updates
autoupdateurl=

# media type filter for non local clients, values are: A (all,default) | M | P | V | m | p | v | X (non)
mediatypefilter=A

# bitfield to specify what is reported to the portal: 1 (devices), 2 (library size), 4 (local playback), 8 (beaming)
enablereporting=0

# optional <appid> added to reports to the portal
reportingappid=

# Port number for the SSDP heartbeat. Default: 1900
ssdpheartbeatport=1900

# for Linux/NAS systems this is the basedirectory used for content sharing (prepended to all shares)
contentbase=/X

# Specifies a comma separated list of network interfaces to bind to (example eth0,ra0 etc). Check ifconfig -a to get list of interfaces
iface=

# Specifies a comma separated list of interface names to ignore
ignoreiface=

# Maximum number of cuncurently running threads (in thread pool); 0- no limit
maxthreads=0

# Name of the online service; default NULL is equivalent to "Online Services"
onlineservicename=

# Expire peristent devices inactive for more than this period (in days) (0 to suppress expiry)
pdbexpiretime=14

# URL to a web application for the online services configuration
profileserviceurl=http://profile.twonky.com

# directory for cached/transcoded files
cachedir=/var/twonky/twonkyserver/db/cache

# max space files take under the directory for cached/transcoded files
cachemaxsize=

# Maximum allowed time (in hours) for MAC address to be stored in cache,0-disable MAC caching
maccacheleasetime=24

# Enables Friendly Info Update Service for dynamic friendlyname and icon update.
enablefriendlyinfoupdate=

# Enables deprecated web interfaces /feed/json and /feed/rss. Application developers should use /nmc/rss and /nmc/rss?fmt=json instead
enabledeprecatedjsonandrssfeed=

# Multiuser: enable/disable support
multiusersupportenabled=0

# Multiuser: predefined default-users (username:password:roles)
multiusersupportdefaults=admin:admin:admin;guest::guest

# Multiuser: default-user for client-devices
multiusersupportdefaultuser=guest

# Multiuser: default-role for locations
multiusersupportdefaultrole=admin

# Multiuser: enable/disable https
multiuserusehttps=0

# Disable string pool cache
disablestringpoolcache=

# limit device description responses to particular user agent only
limit_devdesc_responses_ua=

# limit device description responses to particular IP address
limit_devdesc_responses_ip=

# use HTTP Digest-Auth
http_use_digest_auth=0

# CVP-2 Authentication
cvp2_auth=0

# Activate the DLNA Diagnostics and LowPower Endpoints and the Diagnostics Application (0:disable (default), 1:enable)
cvp2_services=0

# Directory to store provisioned keypack in
keypackpath=

# Receiver Application ID for Google Chromecast devices. Default: D9F910C3
chromecast_receiver_app_id=

# Presentation URL of device
presentation_url=

# Set to non-zero to disable persistent connections, zero (default) to use them
no_persist_conn=0

# Initial interval in s between MSearches. 0 to use normal interval. Default: 3
msearch_start_interval=3

# Interval in s between MSearches. 0 to disable. Default: 0
msearch_interval=0

# Poll interval for DMR state changes of broken renderers in s. -1 to disable. Default: 5
dmr_state_poll_interval=5

# Client cache size limit. Default: 1048576
client_cache_size_limit=1048576

# MAX QUEUE SIZE. Default: -1
max_queue_size=-1

# Operation mode of RemoteUI Client. 1: CEA2014 RUIC, 2: HTML5 (Lite) RUIC, 3: HTML5 (Main) RUIC. Default: 3
ruic_mode=3

# Interval to poll RCS for devices which not sending events properly. Default: 30sec
rcs_poll_interval=30

# Location of the thumbnail cache. Default: tncache
thumbnail_cache_dir=tncache

# Storage type (Memory / Disk) to use for thumbnail cache. Default: M
thumbnail_cache_storage_type=M

# Maximum size to be used for the thumbnail cache size in bytes. Default: 1048576
thumbnail_cache_size=1048576

# Number of thumbnail cache threads. Default: 1
thumbnail_max_threads=2

# Auto enable new detected control points. Default: 1
cpautoenable=1

# Set to 1 to disable Airplay DMR plugin, 2 to disable Roku DMR plugin, 3 to disable both. Default: 0 (both enabled)
disable_dmr_plugins=0

# Specify the path of remoteui server index html file (relative to remoteui-html folder)
ruiserverindexhtml=

# for protection of the web config pages
accessuser=

# for protection of the web config pages
accesspwd=

# license key
cdkey=

# auto enable new detected clients
clientautoenable=1

# default codepage used for ASCII to UTF-8 conversions
codepage=932

# music files under this directory are handled as part of a compilation
compilationsdir=Compilations,Sampler

# CSV list of all shares, prepended by the type (A,M,P,V) and a '+' or '-' sign to flag enabled or disabled shares
contentdir=X

# directory where metadata database is stored
dbdir=/var/twonky/twonkyserver/db

# dynamic dns prefix for remote access, including http://
dyndns=http://XXX.XXX.XXX.XXX

# access to web config pages, 0 for denied, 1 for local only, 2 for open
enableweb=2

# http server port for remote access
httpremoteport=9100

# ignore this directory for scanning (can be a comma separated list)
ignoredir=AppleDouble,AppleDB,AppleDesktop,TemporaryItems,.fseventsd,.Spotlight-V100,.Trashes,.Trash,RECYCLED,RECYCLER,RECYCLE.BIN

# full path to the iTunes library .xml file, empty to disable iTunes import
ituneslib=

# -1 for evented, 0 for disabled, positive value for rescan time in minutes
scantime=-1

# buffer size in bytes used for streaming
streambuffer=16384

# enable content upload
uploadenabled=1

# directory where uploaded songs are stored, if not specified server will use default name based on servermanagedmusicdir property
uploadmusicdir=

# directory where uploaded pictures are stored, if not specified server will use default name based on servermanagedpicturedir property
uploadpicturedir=

# directory where uploaded videos are stored, if not specified server will use default name based on servermanagedvideodir property
uploadvideodir=

# directory where server store mirrored songs, if not specified server will use default name based on servermanagedmusicdir property
mirroredmusicdir=

# directory where server store mirrored photos, if not specified server will use default name based on servermanagedpicturedir property
mirroredpicturedir=

# directory where server mirrored videos, if not specified server will use default name based on servermanagedvideodir property
mirroredvideodir=

# default location where server managed music folders are stored, like uploaded and mirrored songs, subfolder names are created based on strings from language files
servermanagedmusicdir=/twonky/music/Twonky

# default location where server managed picture folders are stored, like uploaded and mirrored photos, subfolder names are created based on strings from language files
servermanagedpicturedir=/twonky/pictures/Twonky

# default location where server managed video folders are stored, like uploaded and mirrored videos, subfolder names are created based on strings from language files
servermanagedvideodir=/twonky/videos/Twonky

# default view for clients
defaultview=byfolder

# removable media drives
rmdrives=

# removable media home drive
rmhomedrive=/var/twonky/twonkyserver/db

# auto share removable media
rmautoshare=0

# maximum items that the server will share
maxitems=0

# enable aggregation of other DLNA servers
aggregation=0

# default aggregation mode for new discovered servers (0:ignore, 1: aggregate, 2:mirror)
aggmode=0

secure_folder_path=/var/twonky/Secure

# maximum number of DTCP sessions running at one time
dtcpsessionlimit=8

# Absolute path to file with DTCP session count
dtcpsessioncount=

# The friendly name for upload location in a recording server
uploaddestinationfriendlyname=UploadDestination

# comma separated list of DLNA profiles that shall only be accepted on upload
uploadrestrictedprofiles=

# bitfield to disabled specific server frontends like HTML or RSS, use (1=HTML, 2=RSS, 4=JSON, 8=FLASH)
disablefrontends=

# maximum number of simultaneous CreateObject sessions, set 0 or negative for unlimited
upnpuploadlimit=0

# set to 1 to prevent server entering sleep mode
disablesleepmode=0

# comma separated list of maximum uploaded file size in megabytes for Photo, Music and Video contents, set 0 for unlimited
uploadmaxfilesize=0,0,0

# maximum number of sessions (upload/download/streaming) running at one time
httpsessionlimit=

# clear the cache on each restart of the server
clearcacheonrestart=

# specifies the maximum image size in pixels the scaler can handle
scalermaxpixels=

# minimum interval between two consecutive recordings (in seconds)
hdrlnextreadyvalue=180

# enable non-keyframe mode for generating time-seek-table
enablenonkeyframetstgen=0

# specify additional folder where server looks for .import.items files
importdir=

# set to 1 to include the folder name of the shares in the 'By Folder' navigation
includefolder=0

# add and share itunes lib
rmadditunes=0

# allow upload to removable media
rmupload=0

# bitfield to enable/disable content discovery methods (1=Shared Folder Enumeration, 2=File System Events, 4=Import Items File)
contentdiscoverymode=7

# RemoteUI Server functionality (0:disable RUIS (default), 1:CEA2014 RUIS, 2:HTML5 Lite RUIS, 3:HTML5 Main RUIS)
enableruiserver=0

# set to 1 to disable time seek generation (default)
disabletimeseek=1

# directory for albumart files
albumartdir=

# File System Eventing Test Required (1:Yes, 0:No)
fseventingtest=0

# set to 1 to disable duplicate removal algorithm
disableduplicateremoval=0

# content folder will be ignored if it contains any files in this list
ignoredirwithfile=.nomedia,.ignorethis

# Force a database update at startup (skipped by default with scantime=0)
forceinitialscan=0

# username for protection of accessing classified videos
classifiedaccessuser=

# password for protection of accessing classified videos
classifiedaccesspwd=

# The TwonkyTuner's network host adress, under the form "IP.IP.IP.IP"
twonkytuner_host=127.0.0.1

# The TwonkyTuner's http port
twonkytuner_port=

# Set .import files polling interval in seconds (default=60)
importscantime=

# set to 1 to limit transcoding processes to one per client IP address
limittranscodingperclient=0

# disable scaling of JPEG images encoded with progressive mode
disablepmscaling=0

# Timeout for file scanner watchdog thread (-1 to disable). Default: 250ms
scannerwatchdogtimeout=

# Timeout for file scanner notify thread (-1 to disable). Default: 250ms
scannernotifychecktimeout=

# Timeout for DB notify check timeout (-1 to disable). Default: 250ms 
dbnotifychecktimeout=

# Timeout for checking shutdown signal in threads: Default: 100ms
shutdownchecktimeout=

# Comma separated list of paths to ignore. All content under these paths will be ignored
ignoredirsbeginningwith=

# Disable the .unsupported marker for failed transcoding attempts
disableunsupportedmarker=0

# If this set to 1 server will work only on localhost until file scanner ready
delaynetwork=0

# If this set to 1 server will provide DTCP content only to clients with DT flag in client adaptation
disabledtcp=0

# If this set to 1 server will not use only MPEG-TS and MP4 but all content-formats for DTCP. If toggled REBUILD is needed to update DLNA profiles of MPEG files.
dtcp_use_all_content=1

# Cut smart playlists at this date, if set. Format is CCYY-MM-DD[Thh:mm:ss].
smartplaylistcutdate=

# If this set to 1 server will not share WM DRM protected files.
donotscandrm=0

# When total amount of memory used exceeds this value then no additional contents will be shared
memsharinglimit=0

# Specify location of FUN files. Setting this property enables FUN files scanning.
fun_file_location=

# Specify FUN files scan interval in seconds, -1 to use file events
fun_scaninterval=0

# Always share the servermanaged/upload directories - if set to 0 the upload directories need to be located within another active share
autoshare_upload_dirs=1

# Disable albumart fallback per content type (0-all enabled,1-disable music,2-disable video)
disablealbumart_fallback=0

# Ignore embedded thumbnails when selecting the input for picture scaling (1 ignore them, 0 use them - default)
ignore_embedded_thumbnails=0

# Have Twonky Sever register its LANIP:PORT to enable devices in the home to find it via this url (e.g. twonkyserver.com)
twonkyserver_registry=

# Comma separated list of file extentions to ignore; each extension needs to include the extension seperator (.)
ignorefilebyext=

# disable token check for streaming URLs in multiuser
disable_token_check=0

# All items under this path will be presented as broadcast content (internal test purpose)
live_streaming_path=

# Enable byfolder subtrees to show filenames instead of titles (0 show titles - default, 1 show filenames without extension, 2 show filenames with extension)
usefilenameinfolderview=0

# Comma separated list of location pathnames, that contain audiobook.
audiobooks=

Locked