HowTo:MediaServer

De Luispa


/usr/local/twonkymedia/twonkymedia -inifile /usr/local/twonkymedia/twonkymedia-server-luis.ini


#! TwonkyMedia 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=BolicaTwonky

# IP address to listen to (default: all networks)
ip=192.168.1.1

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

# Verbose level for logging
v=0

# Compile platform
platform=i386_341_225

# Port of the http server
httpport=

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

# clear detected clients table on each restart
clearclientsonrestart=0

# disable SSDP on localhost
disablelocalssdp=1

# enable https remote connections
enabletls=1

# NMC mode (0:disable, 1:stationary, 2:mobiledirect, 3:mobileremote, 4:standalone)
nmcmode=1

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

# for protection of the web config pages
accessuser=

# for protection of the web config pages
accesspwd=

# default view
autotree=3

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

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

# 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

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

# CSV list of all shares, prepended by the type (A,M,P,V) and a '+' or '-' sign to flag enabled or disabled shares
contentdir=+A|/data/multimedia/musica, +V|/data/multimedia/videos, +P|/home/arte/fotos/Positivos/Fotografia

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

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

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

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

# http server port for remote access
httpremoteport=

# ignore this directory for scanning (can be a comma separated list)
ignoredir=AppleDouble,AppleDB,AppleDesktop,TemporaryItems

# full path to the iTunes library .xml file
ituneslib=

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

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

# on base URL start media browser and not config pages
startupmb=1

# buffer size in KB used for streaming
streambuffer=16384

# enable content upload
uploadenabled=1

# directory where server managed music folders are stored, like uploaded and mirrored songs, subfolder names are created based on strings from language files
servermanagedmusicdir=/twonkymedia/music/TwonkyMedia

# directory where server managed picture folders are stored, like uploaded and mirrored photos, subfolder names are created based on strings from language files
servermanagedpicturedir=/twonkymedia/pictures/TwonkyMedia

# directory where server managed video folders are stored, like uploaded and mirrored videos, subfolder names are created based on strings from language files
servermanagedvideodir=/twonkymedia/videos/TwonkyMedia

# directory where downloaded online items are cached
onlinedir=/var/twonkymedia/twonkymedia/twonkymedia-server-online-data

# enabled nodes on webbrowse (M,P,V)
webnodes=MPV

# maximum number of pictures returned in webbrowse page
webpicturenum=0

# enable statistics
mediastatisticsenabled=0

# directory where statistics are stored
mediastatisticsdir=/var/twonkymedia/twonkymedia/media-statistics/

# default view for clients
defaultview=advanceddefault

# background transcoding targets
bgtrans=

# removable media drives
rmdrives=

# removable media home drive
rmhomedrive=

# auto share removable media
rmautoshare=0

# maximum items that the server will share
maxitems=0

# menus which are supressed on web config pages
suppressmenu=

# 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=

# automatically install updates when available online
autoupdateinstall=0

# enable remote access
remoteaccess=0

# flash as default media browser for remote access
remoteaccessflash=0

# maximum time the file scanner can use to scan a file / prevents stalling of the server on corrupted files. 0 for use of default setting (30 seconds).
maxscantimeperfile=0

# 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=