#
# mediaserv configuration
# ~~~~~~~~~
#
# Lines are of the form '<variable> = <value>'. All other lines are ignored.
# The defaults are listed, commented out. Either uncomment them and change them
# or copy the lines without the preceding '#'.
#
# There are a few other internal values which can be overridden, such as
# sleepTime or childLifetime - however these should be changed by expert users
# only.

# -- Root of video content...
#    This should be the filesystem path to the directory under which all your
#    videos are contained.
#
#baseDir = '/data'

# -- IP address to listen on...
#    If the auto-IP detection doesn't work, you can manually specify an IP
#    address here. If blank, auto-detection will be used.
#
#ip = ''

# -- Port to listen on...
#    Your web browser should be pointed at http://<ip-address>:<port>. The
#    URL on which mediaserv can be reached is printed at startup.
#
#port = 8090

# -- URL to expose to clients...
#    The web address through which mediaserv can be accessed. This is used in,
#    for example, RSS feeds. If blank or unset, it will be defaulted to
#    http://<ip-address>:<port>.
#
#url = ''

# -- tablet-encode preset to use...
#    The preset which is used in the transcoding process. Defaults to 'smallest'
#    which will require the least processing time. See `tablet-encode -p list'
#    for more options.
#
#preset = 'smallest'

# -- Additional tablet-encode options...
#    Extra options which should be passed to tablet-encode. See
#    `tablet-encode -h' for more details.
#
#encoderOptions = ''

# -- Path to tablet-encode...
#    If 770-encode or tablet-encode is not on your PATH (check with
#    `which 770-encode' and `which tablet-encode'), specify its full location
#    on your filesystem here. If blank, your PATH will be searched for
#    tablet-encode and then 770-encode.
#
#encoder = ''

# -- Should transcoded results be kept?
#    If set to 1, transcoding won't be stopped when no more clients are using
#    a video. Similarly, once all clients stop using a video, it will be kept
#    under ~/.mediaserv/data. If set to 0, the resulting videos are only kept
#    whilst they are being served to a user (+ 30 seconds for another client to
#    connect).
#
#keepResults = 0

# -- Space-separated list of file extensions to consider as video media...
#    This list controls what items are shown both through the web interface and
#    RSS feeds. A '.' is implied before each entry, so should not be specified.
#
#mediaExtensions = 'avi mpg ts mov wmv mp4 mkv mpeg rmvb'

# -- Maximum number of items to show in an RSS feed...
#    Only this number of items will be shown in a directory's RSS feed. The
#    most recently modified entries have priority. Reducing this number will
#    NOT reduce the amount of time it takes to calculate an RSS feed for a
#    directory, as each item needs to be found and their timestamps compared.
#
#maxRssItems = 14

# -- Path to mythname.pl script...
#    For MythTV users. If set, mythname.pl will be invoked for each file if it
#    is under mythDir, to gather metadata such as title, subtitle and
#    description. mythname.pl resides under the contrib folder, for example:
#    /usr/share/doc/mythtv-backend/contrib/mythname.pl
#    More details at: http://www.mythtv.org/wiki/index.php/Mythname.pl
#
#mythName = ''

# -- Path to MythTV recordings...
#    For MythTV users. If set, only files under this absolute path will be
#    passed to mythname.pl to gather additional meta-data. If not set, all
#    files will be passed to mythname.pl, if a path to it is specified in
#    mythName.
#
#mythDir = ''

# --Path to Freevo VFS directory...
#   For Freevo users. In addition to checking for a Freevo .fxd file alongside
#   each item, if set this directory will also be checked for a .fxd file.
#   This should be set to OVERLAY_DIR from ~/.freevo/local_conf.py.
#
#freevoVfs = ''

# -- Number of child processes to keep alive...
#    The higher this number, the more clients will be serviced. A higher number
#    will make thumbnail generation (for example) quicker on a powerful box.
#    Most users should not change this value, however.
#
#totalChildren = 5

