~/.moc/config
# This is a configuration file for the MOC
player. It should be named
# 'config' and placed in the ~/.moc directory. As
this file can specify
# commands which invoke other applications, MOC will refuse to start if it
# is not owned by either root or the current user, or if it is writable by
# anyone other than it's owner.
#
# Comments begin with '#'.
# You can use quotes and escape ('\') in parameters.
#
# You can have variable values substituted by enclosing the variable name
# as "${...}". (This only applies to the portion
of the option following
# the '='.) Variables are substituted first from
the environment then,
# if not found, from the configuration options.
(Note that the value of
# a configuration option substituted is that which it has at the time the
# substitution variable is encountered.) If there
is a naming conflict
# between an environment and configuration variable, you may be able to
# resolve it by using lowercase as the environment variable matches are
# case-sensitive whereas the configuration variables are not.
#
# You can also use the form "${...:-...}" where the value in the second
# position will be substituted if the variable name given in the first
# position is unset or null.
#
# So, for example:
#
#
MusicDir = /music/${USER:-public}
#
Fastdir1 = ${MusicDir}/mp3/rock
#
Fastdir2 = ${MusicDir}/mp3/electronic
#
Fastdir3 = ${MusicDir}/mp3/rap
#
Fastdir4 = ${MusicDir}/mp3/etc
#
# Variable names are limited to those accepted by the BASH shell; that
# is, those comprising the upper- and lowercase ASCII characters, digits
# and the underscore.
#
# If you need to use the "${" sequence for any other purpose, write "$${"
# and it will be replaced by "${" and not treated as a substitution.
#
# Some options take lists of strings as their values. The strings are
# separated by colons. Additional strings can be
appended to the list
# using "+=" in place of a plain "=" to assign the value. For an example,
# see the XTerms option.
#
# You can override any configuration option when you run MOC using the
# '-O' command line option:
#
#
mocp -O AutoNext=no -O messagelingertime=1 -O XTerms+=xxt:xwt
#
# This command line option can be repeated as many times as needed and
# the configuration option name is not case sensitive. (Note that MOC
# does not perform variable substitution on the value of such overridden
# configuration options.) Most option values are
set before the
# configuration file is processed (which allows the new values to be
# picked up by substitutions), however list-valued options are overridden
# afterwards (which gives the choice of whether the configured values are
# replaced or added to).
#
# Show file titles (title, author, album) instead of file names.
#ReadTags
= yes
ReadTags
= no
# Directory in which you store music files. If you specify it you will be able
# to quickly go to this directory with the '-m' parameter or the 'm' command.
# This can also point to a playlist.
#MusicDir
= "/home/joe/music"
# How to sort? FileName is the only option for now.
Sort
= FileName
# Show errors in the streams, for example CRC errors or broken frames in mp3
# files.
ShowStreamErrors
= no
# Ignore CRC errors in MP3 files. Most players do that, so the default value is
# set to yes.
Mp3IgnoreCRCErrors
= yes
# Turn on repeat.
Repeat
= no
# Turn on shuffle.
Shuffle
= no
# Turn on AutoNext.
AutoNext
= yes
# Default FormatString:
# %n - Track number
# %a - Artist
# %A - Album
# %t - Title
# %(X:TRUE:FALSE) - ternary expression - if X exists, do TRUE, otherwise
#
FALSE. '\' - escape character (must be double, because of
#
config interpreter). man zshmisc for more info.
FormatString
= "%(n:%n :)%(a:%a - :)%(t:%t:)%(A:
\(%A\):)"
# Output buffer size in kilobytes. Minimum value is 128KB. */
OutputBuffer
= 2048
# Input buffer size in kilobytes. Minimum value is 32KB. */
InputBuffer
= 512
# How much to fill the input buffer before playing (in kilobytes)?
# This can't be more than InputBuffer value.
# Remember that for network streams beside the positive effect this also causes
# delay between what you can hear and what is broadcasted.
Prebuffering
= 64
# Use this HTTP proxy server for internet streams. If not set, the
# environment variables http_proxy and ALL_PROXY will be used if present.
#HTTPProxy
= my_proxy:port
# Sound driver - OSS, ALSA, JACK, SNDIO (on OpenBSD) or null (only for
# debugging).
# You can enter more than one driver as a colon-separated list. The first
# working driver will be used.
SoundDriver
= JACK:ALSA:OSS
# Jack output settings.
JackOutLeft
= "alsa_pcm:playback_1"
JackOutRight
= "alsa_pcm:playback_2"
# OSS output device.
OSSDevice
= /dev/dsp
# OSS Mixer device.
OSSMixerDevice
= /dev/mixer
# OSS Mixer channel: pcm or master.
OSSMixerChannel
= pcm
# Second OSS Mixer channel: pcm or master.
OSSMixerChannel2
= master
# ALSA mixer device.
AlsaMixer
= PCM
# Second ALSA mixer device.
AlsaMixer2
= Master
# ALSA output device.
AlsaDevice
= default
# Save software mixer state?
# If enabled, a file 'softmixer' will
# be created in '~/.moc/' storing the
# mixersetting set when the server is shut-down.
# Note that there is a 'hidden' 'Amplification'
# setting in that file.
# Amplification (0-200) is used to scale
# the mixer setting (0-100). This results
# in a higher signal amplitude but may also
# produce clipping.
#Softmixer_SaveState = yes
# Save equalizer state?
# If enabled, a file 'equalizer' will
# be created in '~/.moc/' storing the
# equalizer settings when the server is shut-down.
# There is a 'hidden' 'Mixin' setting in that file.
# Mixin (0.0-1.0) is used to determine how much of
# the original signal is used after equalizing.
# 0 means to only use the equalized sound, 1
# effectively disabled the mixer.
# Default is 0.25
#Equalizer_SaveState = yes
# Show files with dot at the beginning?
ShowHiddenFiles
= no
# Start in the music directory if no arguments are given. If set to no, start
# in the current directory.
StartInMusicDir
= no
# Hide file name extensions.
HideFileExtension
= no
# Show file format in menu.
ShowFormat
= yes
# Show file time in menu. Possible options: yes, no, IfAvailable - show the
# time only when it was read before (often works faster).
ShowTime
= IfAvailable
# Show time played as a percentage in the time progress bar.
#ShowTimePercent
= no
# 'config' and placed in the ~/.moc directory.
# commands which invoke other applications, MOC will refuse to start if it
# is not owned by either root or the current user, or if it is writable by
# anyone other than it's owner.
#
# Comments begin with '#'.
# You can use quotes and escape ('\') in parameters.
#
# You can have variable values substituted by enclosing the variable name
# as "${...}".
# the '='.)
# if not found, from the configuration options.
# a configuration option substituted is that which it has at the time the
# substitution variable is encountered.)
# between an environment and configuration variable, you may be able to
# resolve it by using lowercase as the environment variable matches are
# case-sensitive whereas the configuration variables are not.
#
# You can also use the form "${...:-...}" where the value in the second
# position will be substituted if the variable name given in the first
# position is unset or null.
#
# So, for example:
#
#
#
#
#
#
#
# Variable names are limited to those accepted by the BASH shell; that
# is, those comprising the upper- and lowercase ASCII characters, digits
# and the underscore.
#
# If you need to use the "${" sequence for any other purpose, write "$${"
# and it will be replaced by "${" and not treated as a substitution.
#
# Some options take lists of strings as their values.
# separated by colons.
# using "+=" in place of a plain "=" to assign the value.
# see the XTerms option.
#
# You can override any configuration option when you run MOC using the
# '-O' command line option:
#
#
#
# This command line option can be repeated as many times as needed and
# the configuration option name is not case sensitive.
# does not perform variable substitution on the value of such overridden
# configuration options.)
# configuration file is processed (which allows the new values to be
# picked up by substitutions), however list-valued options are overridden
# afterwards (which gives the choice of whether the configured values are
# replaced or added to).
#
# Show file titles (title, author, album) instead of file names.
#ReadTags
ReadTags
# Directory in which you store music files. If you specify it you will be able
# to quickly go to this directory with the '-m' parameter or the 'm' command.
# This can also point to a playlist.
#MusicDir
# How to sort? FileName is the only option for now.
Sort
# Show errors in the streams, for example CRC errors or broken frames in mp3
# files.
ShowStreamErrors
# Ignore CRC errors in MP3 files. Most players do that, so the default value is
# set to yes.
Mp3IgnoreCRCErrors
# Turn on repeat.
Repeat
# Turn on shuffle.
Shuffle
# Turn on AutoNext.
AutoNext
# Default FormatString:
# %n - Track number
# %a - Artist
# %A - Album
# %t - Title
# %(X:TRUE:FALSE) - ternary expression - if X exists, do TRUE, otherwise
#
#
FormatString
# Output buffer size in kilobytes. Minimum value is 128KB. */
OutputBuffer
# Input buffer size in kilobytes. Minimum value is 32KB. */
InputBuffer
# How much to fill the input buffer before playing (in kilobytes)?
# This can't be more than InputBuffer value.
# Remember that for network streams beside the positive effect this also causes
# delay between what you can hear and what is broadcasted.
Prebuffering
# Use this HTTP proxy server for internet streams. If not set, the
# environment variables http_proxy and ALL_PROXY will be used if present.
#HTTPProxy
# Sound driver - OSS, ALSA, JACK, SNDIO (on OpenBSD) or null (only for
# debugging).
# You can enter more than one driver as a colon-separated list.
# working driver will be used.
SoundDriver
# Jack output settings.
JackOutLeft
JackOutRight
# OSS output device.
OSSDevice
# OSS Mixer device.
OSSMixerDevice
# OSS Mixer channel: pcm or master.
OSSMixerChannel
# Second OSS Mixer channel: pcm or master.
OSSMixerChannel2
# ALSA mixer device.
AlsaMixer
# Second ALSA mixer device.
AlsaMixer2
# ALSA output device.
AlsaDevice
# Save software mixer state?
# If enabled, a file 'softmixer' will
# be created in '~/.moc/' storing the
# mixersetting set when the server is shut-down.
# Note that there is a 'hidden' 'Amplification'
# setting in that file.
# Amplification (0-200) is used to scale
# the mixer setting (0-100). This results
# in a higher signal amplitude but may also
# produce clipping.
#Softmixer_SaveState = yes
# Save equalizer state?
# If enabled, a file 'equalizer' will
# be created in '~/.moc/' storing the
# equalizer settings when the server is shut-down.
# There is a 'hidden' 'Mixin' setting in that file.
# Mixin (0.0-1.0) is used to determine how much of
# the original signal is used after equalizing.
# 0 means to only use the equalized sound, 1
# effectively disabled the mixer.
# Default is 0.25
#Equalizer_SaveState = yes
# Show files with dot at the beginning?
ShowHiddenFiles
# Start in the music directory if no arguments are given. If set to no, start
# in the current directory.
StartInMusicDir
# Hide file name extensions.
HideFileExtension
# Show file format in menu.
ShowFormat
# Show file time in menu. Possible options: yes, no, IfAvailable - show the
# time only when it was read before (often works faster).
ShowTime
# Show time played as a percentage in the time progress bar.
#ShowTimePercent
