########################################################
# My Media System - configuration file 
#				        
# For more information on the options refer to the complete
# documentation:
#
# http://mms.kicks-ass.org/wiki/index.php/Main_Page 
#

version = 23

######### GENERAL ##########

# CD/DVD path
# 
# The values on the first line must correspond to the values in
# /etc/fstab for your dvd/cd drive
#
# The second line is just the device repeated and then the name of the
# device as it will appear in the gui
#
cdrom = /dev/dvd, /mnt/cdrom/
cdrom_name = /dev/dvd, dvd device

# page_up and page_down jump range in non-graphical modes
jump = 10

# idle_time is used to set after how long time mms should go into idle
# mode. Idle mode currently supports screensaver for automatic
# updating of epg and an audio screensaver that will kick in if audio
# is playing. 
#
# Valid values are integers and the time is measured in minutes. 0
# denotes disabled.
idle_time = 1

# Shutdown_script 
#
# Command to run when mms is shutting down.
#
# Examples:
# "shutdown -h now" will shut the computer down when quiting mms
#
shutdown_script = 

# Busy indicator
#
# Display status indicator in the right corner?
#
busy_indicator = true

# Convert
#
# Convert filenams in locale format to utf-8?
# This option is needed if filenames on is encoded in a different
# format than utf-8
#
convert = false
convert_locale = ISO-8859-1

# Specify the locale for mp3 tags. This can be used if the locale is
# different than the filenames (eg. Russian)
#
convert_mp3_locale = ISO-8859-1

# Temporary scaled image location
# Directory where scaled images and other temporary files 
# (radio-list-download) are placed.
#
temp_image_loc = /var/cache/mms

# The debug level 
#
# Controls how much debug will be displayed
# 0 = minimal info
# 1 = info and warnings
# 2 = info, warnings and critical errors
# 3 = all info, warnings and errors
#
debug_level = 2

# LCD - output audio information (Artist, title etc.) to a lcd display
#
lcd = no

# Size of the lcd display
#
# Setting these incorrectly might cause memory leakage
#
lcd_rows = 4
lcd_pixels = 20

# eject
#
eject_closeopts = -t  
eject_openopts =

# eject binary path
#
eject_path = /usr/bin/eject

######### INPUT ##########

# Input device 
#
# choose between "keyboard", "evdev" and "lirc"
input = lirc

# Layout of remote control (LIRC only)
#
# choose between "mobile" and "full_layout"
#
remote_layout = full_layout

# Lirc delay
#
# Determines how many miliseconds mms should wait between keys. This
# is used to make sure keys are not skippe. A lower number will make
# navigation faster but might cause double presses.
#
lirc_delay = 200

# Evdev device
#
# If evdev is used, this specifies the device to listen to input from
#
evdev_dev = /dev/input/event0

######### OUTPUT ##########

# Output device 
#
# choose between "dxr3", "fbdev", "dvb", "vgagl" and "sdl"
outdev = sdl

# Resolution
#
v_res = 800
h_res = 600

# Blur
#
# Blur the image to make it easier for the eyes when displayed on a TV
# Can cause quite substantial performance slowdown
#
blur = false

# Image cache
# How many images to cache, the larger the cache the better the
# performance, if you don't know just leave it at the default. This
# will probably take up ~30mb ram
#
image_cache = 20

# SDL

# If you selected sdl as output device this setting will determine if
# it should run in fullscreen or not.
#
fullscreen = false

# DVB 

# DVB device
#
# The device to use
#
dvb_device = /dev/dvb/adapter0/video0

# DXR3

# EM83000 setup binary path
#
em8300setup_path = /usr/bin/em8300setup

# TV mode (only for DXR3)
# tv output (-p for pal or -n for ntsc)
# followed by -o for 4:3 and -w for wide-screen (16:9)
# for widescreen please change the resolution to 720x405
#
tv_mode = -p -o

######### AUDIO ##########

# Directories
#
# you can add several folders by simple having multiple entries
#
audio_dir = /media/

# Audio_mode
#
# Two options:
#
# both = audio_add mode + playlist
# playlist = winamp mode (playlist only)
#
audio_mode = both

# Download internet radio stations automaticly?
#
download_radio = true

# Audio mode
#
# Use analog (-a) or digital (-d)
#
audio_output_mode = -d

# Add playnow functionality
#
# Enabling this option adds a new key (audio_add,playnow) that in
# audio add can be used to quickly listen to a whole folder of tracks.
# This is very useful if one often listens to whole albums. 
#
# Please note that using this command will DESTROY your current
# playlist, but it will be saved in autosave so you can always find it
# there
#
audio_mode_playnow = true

# Audio type
#
# Use alsa, jack, oss, nas, sgi or sparc driver for output
#
audio_output_type = alsa

# Audio device
#
# standard audio device is /dev/dsp
#
# use 'default' when using MMS with alsa output + alsaplayer
# when using Xine as audio player you need to set this manually in ~/.xine/config
#
audio_dev = default

# Stop playback when clearing the playlist?
#
audio_stop_on_clear = true

# Radio options
#
radiomplayeropts = -cache 128 -vo null
bttvradiooptsplay = -q -c /dev/radio -f
bttvradiooptsmute = -qm -c /dev/radio  
bttvvolup_opts = line +4
bttvvoldown_opts = line -4
bttvvolctl_path = /usr/bin/setmixer

# internet radio stations
#
# for hardware tuners put the frequency you want to tune to after
# "bttvradio://" 
#
internet_radio =  D I G I T A L L Y - I M P O R T E D, http://64.236.34.161:80/stream/1003
internet_radio  =  CNN                    , bttvradio://102.40
internet_radio  =  SPUTNIK online         , rtsp://213.200.64.234/farm/*/encode

# Alsaplayer options
#
# Can be used to change the frequency if needed (such as -F 48000),
# see alsalayer --help for options
#
alsaplayer_options = -r

# Alsaplayer binary path
#
# If alsaplayer is selected as audio player you need to specify the
# path to the binary
#
alsaplayer_path = /usr/bin/alsaplayer

# Audio filetypes
#
# The extension must be in lowercase
# 
filetypes_a = mp3, mp3
filetypes_a = ogg, ogg
filetypes_a = wav, wav
filetypes_a = flac, flac
filetypes_a = wma, wma

######### MOVIE ##########

# Directories
#
# you can add several folders by simple having multiple entries
#
mov_dir = /media/

# movie_mode: yes or no
#
movie_mode = yes

# Movie players
#
# Possible values for movie_player are: mplayer, xine
# Possible values for dvd_player are: mplayer, xine, dxr3player
# 
movie_player = mplayer
dvd_player = cxfe

# Movie Player options
#
# Do not set the dvd-device options. That will automaticly be appended
# by mms when starting the movie player
#
mplayeropts = -cache 8192 -vo xv -fs -fixed-vo
mplayerdvdopts = -cache 8192 -vo xv -fs -fixed-vo
cxfeopts = -vo xv
dxr3playeropts = -t

# Movie player paths
#
mplayer_path = /usr/bin/mplayer
cxfe_path = /usr/bin/cxfe
dxr3player_path = /usr/bin/dxr3player-sdl

# Path to the lirc configuration file for mplayer
#
lircconf = /etc/mms/lirc.conf

# audio mode
# 
# Define three different sound modes for movie player: 5.1 digital,
# 5.1 analog, 2 channel stereo
#
# example shown for mplayer as movie player.
#
audio_mode_5d = -afm hwac3 -ao alsa
audio_mode_5a = -channels 6 -ao alsa
audio_mode_2 = -ao alsa

# Movie filetypes
#
# The extension must be in lowercase
# 
filetypes_m = avi, divx
filetypes_m = mkv, mkv
filetypes_m = mpg, mpeg
filetypes_m = mpeg, mpeg
filetypes_m = rm, real
filetypes_m = wmv, wmv
filetypes_m = m2v, mpeg
filetypes_m = mp4, mpeg
filetypes_m = mov, mov
filetypes_m = pls, pls




######### GAMES #######

# Directories 
#
# binary path and options
mame_path = /usr/bin/xmame
mameopts  = -fullscreen -scale 3
snes_path = /usr/bin/zsnes
snesopts  = -r 2
nes_path  = /usr/bin/fceu
nesopts   = --fs 1 --joy1 1 --xres 720 --yres 576
gens_path = /usr/bin/gens
gensopts  = --fs-mode

# Enable Support for PSX games
psxemu_enable = no
psxemu_path = /usr/bin/pcsx
psxemuopts = -nogui -runcd

# ROMS
game_dir = /media/

# games filetypes
#
# The extension must be in lowercase
#
filetypes_g = zip, mame
filetypes_g = smc, snes
filetypes_g = nes, nes
filetypes_g = smd, gens
filetypes_g = bin, gens
filetypes_g = gsh, sh
filetypes_g = sh, sh


######### PICTURES ##########

# Directories
#
# you can add several folders by simple having multiple entries
#
picture_dir = /media/

# Pictures dirs to exclude
#
# Exclude dirs with the following names from coming up in pictures
# You can specify as many as needed
#
# Eg.
#exclude_picture_dir = .xvpic

# Picture filetypes
#
# The extension must be in lowercase
#
filetypes_p = png, png
filetypes_p = jpg, jpg
filetypes_p = jpeg, jpg
filetypes_p = gif, gif

######### EPG ##########

# xmltv file location
#
epg_data = /var/lib/mms/TV.xml

# script to update the xml file
# 
# Please note that if you exit while epg is updating you need to be
# root to run the shutdown script at the end
#
epg_update_script = /etc/mms/gen_tvlisting.sh

######### TV ##########

# path of the tv program executable
#
tv_path = /usr/bin/tvtime

# options to pass to executeable
#
tvopts = 
