############################################################################
## mmboxrc_sample for NMM/Multimedia-Box (mmbox for short)
############################################################################

## Please follow the instruction at
## http://www.networkmultimedia.org/NMM/Download/index.html#configure

## Copy mmboxrc_sample to your $HOME as .mmboxrc and edit to fit your
## setup (see comments below).

## There are only a few entries that you really have to edit; in many
## cases the default values are just fine. Entries that you have to
## edit are marked as MUST EDIT. Entries that you should edit are
## marked as EDIT. Notice: Since we frequently add new features to the
## Multimedia-Box, you should create a new .mmboxrc file for every new
## NMM release.

## Lines starting with '#' are ignored. Others must be of the form
## '<variable>=<value>', last assignment rules. For settings that can
## be enabled or disabled, specify '1' for enabling and '0' for
## disabling.

############################################################################
## General options
############################################################################

## This is the only path the mmbox has access to.  Within this
## directory, all your multimedia data should be stored or linked to,
## e.g. your audio and video files.  The mmbox will also create
## additional directories within the given directory, e.g. when
## grabbing CDs or DVDs, or recording TV shows.
# MUST EDIT
rootpath=/home/<login>/<multimedia data>

## Path where all images and fonts are placed that are used in the XML
## configuration file of the mmbox
# MUST EDIT
resourcepath=/home/<login>/<nmm dir>/resources/mmbox/

## XML configuration file in path given by <resourcepath>
configfile=blues.xml

## Specifies whether mmbox application should run in fullscreen or not
fullscreen=0

## Enable/disable LIRC infrared support for menu navigation with remote
## control
uselirc=0

## Use special Matrox display device instead of X display (WARNING:
## Might not work anymore!)
matrox=0

## Path to CD-ROM device used for handling data and audio CDs 
cdrompath=/cdrom

## DVD device, e.g. /dev/dvd or /dev/scd0 
dvd_device=/dev/dvd

############################################################################
## Options for Live-TV
############################################################################

## Specifies the location of the timeshifting buffer for live TV.
tsbuffer=/tmp/tsbuffer.mpeg

## Specifies whether the deinterlacer should be used for TV. Set this
## variable to '0' if you do not want to use the deinterlacer, e.g. if
## your mmbox is directly connected to a TV set
deinterlace=1

## Specify hosts that provide TV sources.  The following lines will be
## parsed by the tool 'channelReader' to create a global list of
## available channels. This tool must be executed before starting the
## mmbox for the first time. During the execution of this tool, the
## specified hosts will be accessed. You need a running
## 'serverregistry' on each remote host to be able to access a remote
## TV source. Use increasing numbers for specifying several hosts,
## e.g. tvhost_0, tvhost_1, ...

## ATTENTION: Whenever you add, remove, or edit a tvhost you have to
## execute the the tool 'channelReader' again

## Specifies the number of tvhosts you want to use, e.g. '1' for a
## single host
# EDIT
tvhosts_number=0

## Examples:
# EDIT

## DVB board in local host
# tvhost_0=dvbtv://localhost

## DVB board in remote host (port can be left empty for default port!):
# tvhost_0=dvbtv://<optional host:port>

## DVB simulation
# tvhost_0=file://<optional host:port><path to simulator file>

## Kfir board
# tvhost_0=mpegtv://<optional host:port><device>

## IVTV board 
# tvhost_0=ivtv://<optional host:port><device><options>

## Specifies the location of the file that stores a global list of all
## available channels (tv_channels). The default is
## /home/<user>/.nmm/tv_channels.xml
# tvChannelFile=/home/<user>/.nmm/tv_channels_live.xml

############################################################################
## Options for TV-Timer
############################################################################

## Path relative to rootpath where all recorded TV shows will be stored
tvdestinationdirectory=TV-Recordings

## Sets the host name of the 'vcrserver' 
# tvtimerlocation=<host>:<port>

## Sets the recorderChannelFile, if it should be different from the one used for LiveTV
# recorderChannelFile=/home/<user>/.nmm/tv_channels_rec.xml

## Set to '1', if 'sleeping timers' (i.e. timers that were not yet
## triggered) should be displayed in TVTimer-State; '0' otherwise
displaySleeping=1

## Set to '1', if 'recording timers' (i.e. timers that are currently
## being recorded) should be displayed in TVTimer-State; '0' otherwise
displayRecording=1

## Set to '1', if recorded timers (i.e. timers that were successfully
## recorded) should be displayed in TVTimer-State; '0' otherwise
displayRecorded=1

############################################################################
## Options for TV-Guide
############################################################################

## Specifies the sources for EPG data (Electronic Program Guide). Possible
## values are: DVB|xmltv|nxtvepg 
## Notice: Please read
## http://graphics.cs.uni-sb.de/NMM/current/Docs/mmboxconfig/index.html

## Defines the number of epg sources
# EDIT
epgsources_number=0

## The epg sources are numbered from 0 to epgsources_number-1
## they are specified by DVB|xmltv|nxtvepg 
# EDIT
# epgsource_0=DVB
# epgsource_0=xmltv
# epgsource_0=nxtvepg

## Sets the host name of the 'tvgserver' 
# epglocation=<host>:<port>

## Specifies the number of additional remote mmbox's for querying
## additional EPG data, e.g. when data in the local database is
## missing. Use for exampe '1' for a single mmbox.
# epgpeers_number=0

## Set the host names of remote mmbox's to query for additional EPG
## data
# epgpeer_0=<host0>:<port0>
# epgpeer_1=<host1>:<port1>

## Selects the locale (i.e. country code) of the xmltv tools
# xmltv_locale=de

## Sets the period when new xmltv updates should be triggered,
## e.g. 'd1' for every day
# xmltv_period=d1

## set the hex-value for provider
## see nxtvepg-docu for provider for your country
## default: RTL2 for Germany
# nxtvepg_provider=0d92

## sets the path to the dbdir
# nxtvepg_dbdir=<path to nxtvepg-database>

## Sets the period when new nxtv updates should be triggered,
## e.g. 'd1' for every day
# nxtvepg_period=d1

## Set an alternative channel-file for DVB EPG if it should be
## different from the default (/home/<user>/.nmm/tv_channels.xml)
# dvbepgChannelFile=/home/<user>/.nmm/tv_channels_dvbepg.xml

############################################################################
## Options for audio playback/grabbing (CD-Player, CD-Grabber)
############################################################################

## Set to '1' if CDDB should be used for querying titles and track
## names of grabbed audio CDs.
cddb=1

## Specifies CDDB server to be used
cddbserver=freedb.freedb.org

## Path relative to rootpath where all grabbed audio files should be
## stored
grabdestinationdirectory=Audio-Recordings

## Bitrate for encoding grabbed audio tracks to MP3
grabmp3bitrate=192

## Sets format for grabbed audio CDs: ogg|mp3
grabcd=mp3

############################################################################
## Options for DVD-Player
############################################################################

## Use AC3 passthrough ( digital out of sound board )
useac3=0

############################################################################
## Options for DVD-Grabber
############################################################################

## Path relative to rootpath where all grabbed and transcoded DVDs
## should be stored
grabdvddestinationdirectory=DVD-Recordings

## Write through AC3 data in DVD grabber (WARNING: Still buggy)
grabdvdac3writethrough=0

## Automatically scale video to corerct aspect ratio in DVD grabber
grabdvdautoaspect=1

## Deinterlace video in DVD grabber
grabdvddeinterlace=0

## Use NMM plug-in that encapsulates ffmpeg library for encoding video
## in DVD grabber
grabdvduseffmpeg=0

## Audio encoding quality in DVD grabber
grabdvdaudioquality=2

## Audio encoding bitrate in DVD grabber (kbit/s)
grabdvdaudiobitrate=128

## Video encoding bitrate in DVD grabber (kbit/s)
grabdvdvideobitrate=1200

############################################################################
## Options for transcoder
############################################################################

## Path relative to rootpath where all transcoded files should be
## stored
transcodingdir=TranscodedFiles

## The following four options can be adjusted in the GUI before
## starting a transcoding task

## Should TranscodingJobs be distributed to available hosts in the
## network?  
distribute=1

## How many TranscodingJobs should run in parallel?
parallel=5

## Should the priority of TranscodingJobs be lowered?
priorize=1

## Should the local host be included in the transcoding process?
## Warning: If no working remote hosts were found, this setting is
## ignored, and the local host will be used for transcoding
use_localhost=1

## Should leaving the state kill running transcodingjobs?
kill_jobs_on_exit=1

## ATTENTION: You need a running serverregistry on each remote host to
## be able to create a remote transcoding flow graph!

## Specifies the number of remote hosts you want to use for
## transcoding, e.g. '1' for a single host
# EDIT
transcodinghosts_number=0

## Remote transcoding hosts; <port> is usually 22801
# EDIT
# transcodinghost_0=<host1>:<port>
# transcodinghost_1=<host2>:<port>

## Specifies in which directories the .gd files (graph descriptions)
## for the transcoder can be found: NMM format -> directory
audio/mpeg=mp3
audio/mp3=mp3
audio/ogg=ogg
audio/x-ogg=ogg
audio/raw=wav
audio/x-wav=wav
av/avi=avi
av/mpeg=mpeg
av/mpegps=mpeg
video/mpeg=mpeg
video/mpeg2=mpeg
video/mpeg1pes=mpeg
audiocd=audiocd
dvd=dvd

############################################################################
## Options for slide show
############################################################################

## Path relative to rootpath where all images files can be found
slideshowdirectory=Pictures

## Tells the state whether to use a video scaler for all pictures or not
slideshowscaler=1

############################################################################
## Options for camera state
############################################################################

## sets the host where the VISCACamera is located; <port> is usually 22801
# EDIT
# camera_host=<host>:<port>

############################################################################
## Options for session sharing / video wall
############################################################################

## The hosts for session sharing can be specfied with the following
## variables

## ATTENTION: You need a running mmbox (with remote access enabled for
## a specific port, e.g. 12345) on each remote host to be able access
## its shared sessions or create remotely running shared sessions

## Defines the number of session locations
# EDIT
session_locations_number=0

## The session locations are numbered from 0 to session_location_number-1
## they are specified by <host>:<port>
# EDIT
# session_location_0=<host1>:<port1>
# session_location_1=<host2>:<port2>

## The two video wall hosts (demo mode only); <port> is usually 22801
# EDIT
# video_wall_host0=<host>:<port>
# video_wall_host1=<host>:<port>

## must end with new line
