.config/moc/config (view raw)
1# This is a configuration file for the MOC player. It should be named
2# 'config' and placed in the ~/.moc directory. As this file can specify
3# commands which invoke other applications, MOC will refuse to start if it
4# is not owned by either root or the current user, or if it is writable by
5# anyone other than its owner. All options are given with their default
6# values, and therefore commented.
7
8# Comments begin with '#'.
9# You can use quotes and escape ('\') in parameters.
10#
11# You can have variable values substituted by enclosing the variable name
12# as "${...}". (This only applies to the portion of the option following
13# the '='.) Variables are substituted first from the environment then,
14# if not found, from the configuration options. (Note that the value of
15# a configuration option substituted is that which it has at the time the
16# substitution variable is encountered.) If there is a naming conflict
17# between an environment and configuration variable, you may be able to
18# resolve it by using lowercase as the environment variable matches are
19# case-sensitive whereas the configuration variables are not.
20#
21# You can also use the form "${...:-...}" where the value in the second
22# position will be substituted if the variable name given in the first
23# position is unset or null.
24#
25# So, for example:
26#
27# MusicDir = /music/${USER:-public}
28# Fastdir1 = ${MusicDir}/mp3/rock
29# Fastdir2 = ${MusicDir}/mp3/electronic
30# Fastdir3 = ${MusicDir}/mp3/rap
31# Fastdir4 = ${MusicDir}/mp3/etc
32#
33# Variable names are limited to those accepted by the BASH shell; that
34# is, those comprising the upper- and lowercase ASCII characters, digits
35# and the underscore.
36#
37# If you need to use the "${" sequence for any other purpose, write "$${"
38# and it will be replaced by "${" and not treated as a substitution.
39#
40# Some options take lists of strings as their values. The strings are
41# separated by colons. Additional strings can be appended to the list
42# using "+=" in place of a plain "=" to assign the value. For an example,
43# see the XTerms option.
44#
45# You can override any configuration option when you run MOC using the
46# '-O' command line option:
47#
48# mocp -O AutoNext=no -O messagelingertime=1 -O XTerms+=xxt:xwt
49#
50# This command line option can be repeated as many times as needed and
51# the configuration option name is not case sensitive. (Note that MOC
52# does not perform variable substitution on the value of such overridden
53# configuration options.) Most option values are set before the
54# configuration file is processed (which allows the new values to be
55# picked up by substitutions), however list-valued options are overridden
56# afterwards (which gives the choice of whether the configured values are
57# replaced or added to).
58
59# Remember that the client and server are separate processes and the
60# server will retain the configuration values formed from the environment
61# within which it was originally started.
62
63# Show file titles (title, author, album) instead of file names?
64#ReadTags = yes
65
66# In which directory do you store your music files? If you specify it
67# you will be able to jump straight to this directory with the '-m'
68# parameter or the 'm' command. This can also point to a playlist.
69#
70# Example: MusicDir = "/home/joe/music"
71#
72MusicDir = "/home/aaoth/Music"
73
74# Start in the music directory by default? If set to 'no', start
75# in the current directory by default. A single directory on
76# the command line takes precedence.
77StartInMusicDir = yes
78
79# How to sort? FileName is the option's only value for now.
80#Sort = FileName
81
82# Show errors in the streams (for example, broken frames in MP3 files)?
83#ShowStreamErrors = no
84
85# Ignore CRC errors in MP3 files? Most players do that, so the default
86# value is 'yes'.
87#MP3IgnoreCRCErrors = yes
88
89# Set playback toggles.
90#Repeat = no
91#Shuffle = no
92#AutoNext = yes
93
94# Default FormatString:
95#
96# %n - Track number
97# %a - Artist
98# %A - Album
99# %t - Title
100# %(X:TRUE:FALSE) - Ternary expression: if X exists, do TRUE,
101# otherwise FALSE. The escape character must
102# be doubled (i.e., '\\'). (See zshmisc
103# documentation for more information.)
104#
105#FormatString = "%(n:%n :)%(a:%a - :)%(t:%t:)%(A: \(%A\):)"
106
107# Input and output buffer sizes (in kilobytes).
108#InputBuffer = 512 # Minimum value is 32KB
109#OutputBuffer = 512 # Minimum value is 128KB
110
111# How much to fill the input buffer before playing (in kilobytes)?
112# This can't be greater than the value of InputBuffer. While this has
113# a positive effect for network streams, it also causes the broadcast
114# audio to be delayed.
115#Prebuffering = 64
116
117# Use this HTTP proxy server for internet streams. If not set, the
118# environment variables http_proxy and ALL_PROXY will be used if present.
119#
120# Format: HTTPProxy = PROXY_NAME:PORT
121#
122#HTTPProxy =
123
124# Sound driver - OSS, ALSA, JACK, SNDIO (on OpenBSD) or null (only for
125# debugging). You can enter more than one driver as a colon-separated
126# list. The first working driver will be used.
127SoundDriver = JACK:ALSA
128
129# Jack output settings.
130JackClientName = "moc"
131JackStartServer = no
132JackOutLeft = "system:playback_1"
133JackOutRight = "system:playback_2"
134
135# OSS output settings.
136#OSSDevice = /dev/dsp
137#OSSMixerDevice = /dev/mixer
138#OSSMixerChannel1 = pcm # 'pcm', 'master' or 'speaker'
139#OSSMixerChannel2 = master # 'pcm', 'master' or 'speaker'
140
141# ALSA output settings. If you need to dump the audio produced by MOC
142# to a file for diagnostic purposes, the following setting of 'ALSADevice'
143# should do that:
144#
145# ALSADevice=tee:hw,'/tmp/out.wav',wav
146#
147#ALSADevice = default
148#ALSAMixer1 = PCM
149#ALSAMixer2 = Master
150
151# Under some circumstances on 32-bit systems, audio played continously
152# for long periods of time may begin to stutter. Setting this option to
153# 'yes' will force MOC to avoid ALSA's dmix resampling and prevent this
154# stutter. But it also has other implications:
155#
156# - You may experience unacceptably high CPU load.
157# - ALSA's resampler plug-ins will not be used.
158# - The resampling may be of lower quality than ALSA would provide.
159# - You may need to try different "ResampleMethod" option settings.
160# - The "ForceSampleRate" option may be ineffective.
161# - If libsamplerate is not configured, many audios may be unplayable.
162#
163#ALSAStutterDefeat = no
164
165# Save software mixer state?
166# If enabled, a file 'softmixer' will be created in '~/.moc/' storing the
167# mixersetting set when the server is shut down.
168# Note that there is a "hidden" 'Amplification' setting in that file.
169# Amplification (0-200) is used to scale the mixer setting (0-100). This
170# results in a higher signal amplitude but may also produce clipping.
171#Softmixer_SaveState = yes
172
173# Save equalizer state?
174# If enabled, a file 'equalizer' will be created in '~/.moc/' storing the
175# equalizer settings when the server is shut down.
176# Note that there is a "hidden" 'Mixin' setting in that file.
177# Mixin (0.0-1.0) is used to determine how much of the original signal is
178# used after equalizing. 0 means to only use the equalized sound, while 1
179# effectively disabled the mixer. The default is 0.25.
180#Equalizer_SaveState = yes
181
182# Show files with dot at the beginning?
183#ShowHiddenFiles = no
184
185# Hide file name extensions?
186#HideFileExtension = no
187
188# Show file format in menu?
189#ShowFormat = yes
190
191# Show file time in menu? Possible values: 'yes', 'no' and 'IfAvailable'
192# (meaning show the time only when it is already known, which often works
193# faster).
194#ShowTime = IfAvailable
195
196# Show time played as a percentage in the time progress bar.
197#ShowTimePercent = no
198
199# Values of the TERM environment variable which are deemed to be managed by
200# screen(1). If you are setting a specific terminal using screen(1)'s
201# '-T <term>' option, then you will need to add 'screen.<term>' to this list.
202# Note that this is only a partial test; the value of the WINDOW environment
203# variable must also be a number (which screen(1) sets).
204#ScreenTerms = screen:screen-w:vt100
205
206# Values of the TERM environment variable which are deemed to be xterms. If
207# you are using MOC within screen(1) under an xterm, then add screen(1)'s
208# TERM setting here as well to cause MOC to update the xterm's title.
209#XTerms = xterm
210#XTerms += xterm-colour:xterm-color
211#XTerms += xterm-256colour:xterm-256color
212#XTerms += rxvt:rxvt-unicode
213#XTerms += rxvt-unicode-256colour:rxvt-unicode-256color
214#XTerms += eterm
215
216# Theme file to use. This can be absolute path or relative to
217# /usr/share/moc/themes/ (depends on installation prefix) or
218# ~/.moc/themes/ .
219#
220# Example: Theme = laras_theme
221#
222Theme = laninpre_theme
223
224# The theme used when running on an xterm.
225#
226# Example: XTermTheme = transparent-background
227#
228#XTermTheme =
229
230# Should MOC try to autoload the default lyrics file for an audio? (The
231# default lyrics file is a text file with the same file name as the audio
232# file name with any trailing "extension" removed.)
233#AutoLoadLyrics = yes
234
235# MOC directory (where pid file, socket and state files are stored).
236# You can use ~ at the beginning.
237MOCDir = ~/.config/moc
238
239# Use mmap() to read files. mmap() is much slower on NFS.
240#UseMMap = no
241
242# Use MIME to identify audio files. This can make for slower loading
243# of playlists but is more accurate than using "extensions".
244#UseMimeMagic = no
245
246# Assume this encoding for ID3 version 1/1.1 tags (MP3 files). Unlike
247# ID3v2, UTF-8 is not used here and MOC can't guess how tags are encoded.
248# Another solution is using librcc (see the next option). This option is
249# ignored if UseRCC is set to 'yes'.
250#ID3v1TagsEncoding = WINDOWS-1250
251
252# Use librcc to fix ID3 version 1/1.1 tags encoding.
253#UseRCC = yes
254
255# Use librcc to filenames and directory names encoding.
256#UseRCCForFilesystem = yes
257
258# When this option is set the player assumes that if the encoding of
259# ID3v2 is set to ISO-8859-1 then the ID3v1TagsEncoding is actually
260# that and applies appropriate conversion.
261#EnforceTagsEncoding = no
262
263# Enable the conversion of filenames from the local encoding to UTF-8.
264#FileNamesIconv = no
265
266# Enable the conversion of the xterm title from UTF-8 to the local encoding.
267#NonUTFXterm = no
268
269# Should MOC precache files to assist gapless playback?
270#Precache = yes
271
272# Remember the playlist after exit?
273#SavePlaylist = yes
274
275# When using more than one client (interface) at a time, do they share
276# the playlist?
277#SyncPlaylist = yes
278
279# Choose a keymap file (relative to '~/.moc/' or using an absolute path).
280# An annotated example keymap file is included ('keymap.example').
281#
282# Example: Keymap = my_keymap
283#
284Keymap = keymap
285
286# Use ASCII rather than graphic characters for drawing lines. This
287# helps on some terminals.
288#ASCIILines = no
289
290# FastDirs, these allow you to jump directly to a directory, the key
291# bindings are in the keymap file.
292#
293# Examples: Fastdir1 = /mp3/rock
294# Fastdir2 = /mp3/electronic
295# Fastdir3 = /mp3/rap
296# Fastdir4 = /mp3/etc
297#
298#Fastdir1 =
299#Fastdir2 =
300#Fastdir3 =
301#Fastdir4 =
302#Fastdir5 =
303#Fastdir6 =
304#Fastdir7 =
305#Fastdir8 =
306#Fastdir9 =
307#Fastdir10 =
308
309# How fast to seek (in number of seconds per keystroke). The first
310# option is for normal seek and the second for silent seek.
311#SeekTime = 1
312#SilentSeekTime = 5
313
314# PreferredDecoders allows you to specify which decoder should be used
315# for any given audio format. It is a colon-separated list in which
316# each entry is of the general form 'code(decoders)', where 'code'
317# identifies the audio format and 'decoders' is a comma-separated list
318# of decoders in order of preference.
319#
320# The audio format identifier may be either a filename extension or a
321# MIME media type. If the latter, the format is 'type/subtype' (e.g.,
322# 'audio/flac'). Because different systems may give different MIME
323# media types, any 'x-' prefix of the subtype is ignored both here and
324# in the actual file MIME type (so all combinations of 'audio/flac' and
325# 'audio/x-flac' match each other).
326#
327# For Internet streams the matching is done on MIME media type and on
328# actual content. For files the matches are made on MIME media type
329# (if the 'UseMimeMagic' option is set) and on filename extension. The
330# MIME media type of a file is not determined until the first entry for
331# MIME is encountered in the list.
332#
333# The matching is done in the order of appearance in the list with any
334# entries added from the command line being matched before those listed
335# here. Therefore, if you place all filename extension entries before
336# all MIME entries you will speed up MOC's processing of directories
337# (which could be significant for remote file systems).
338#
339# The decoder list may be empty, in which case no decoders will be used
340# for files (and files with that audio format ignored) while Internet
341# streams will be assessed on the actual content. Any decoder position
342# may contain an asterisk, in which case any decoder not otherwise listed
343# which can handle the audio format will be used. It is not an error to
344# list the same decoder twice, but neither does it make sense to do so.
345#
346# If you have a mix of audio and non-audio files in your directories, you
347# may wish to include entries at top of the list which ignore non-audio
348# files by extension.
349#
350# In summary, the PreferredDecoders option provides fine control over the
351# type of matching which is performed (filename extension, MIME media
352# type and streamed media content) and which decoder(s) (if any) are used
353# based on the option's list entries and their ordering.
354#
355# Examples: aac(aac,ffmpeg) first try FAAD2 for AACs then FFmpeg
356# mp3() ignore MP3 files
357# wav(*,sndfile) use sndfile for WAV as a last resort
358# ogg(vorbis,*):flac(flac,*) try Xiph decoders first
359# ogg():audio/ogg() ignore OGG files, and
360# force Internet selection by content
361# gz():html() ignore some non-audio files
362#
363# Any unspecified audio formats default to trying all decoders.
364# Any unknown (or misspelt) drivers are ignored.
365# All names are case insensitive.
366# The default setting reflects the historical situation modified by
367# the experience of users.
368#
369#PreferredDecoders = aac(aac,ffmpeg):m4a(ffmpeg)
370#PreferredDecoders += mpc(musepack,*,ffmpeg):mpc8(musepack,*,ffmpeg)
371#PreferredDecoders += sid(sidplay2):mus(sidplay2)
372#PreferredDecoders += wav(sndfile,*,ffmpeg)
373#PreferredDecoders += wv(wavpack,*,ffmpeg)
374#PreferredDecoders += audio/aac(aac):audio/aacp(aac):audio/m4a(ffmpeg)
375#PreferredDecoders += audio/wav(sndfile,*)
376
377# The following PreferredDecoders attempt to handle the ambiguity surrounding
378# container types such as OGG for files. The first two entries will force
379# a local file to the correct decoder (assuming the .ogg file contains Vorbis
380# audio), while the MIME media types will cause Internet audio streams to
381# be assessed on content (which may be either Vorbis or Speex).
382#
383#PreferredDecoders += ogg(vorbis,ffmpeg):oga(vorbis,ffmpeg):ogv(ffmpeg)
384#PreferredDecoders += opus(ffmpeg)
385#PreferredDecoders += spx(speex)
386#PreferredDecoders += application/ogg(vorbis):audio/ogg(vorbis)
387
388# Which resampling method to use. There are a few methods of resampling
389# sound supported by libresamplerate. The default is 'Linear') which is
390# also the fastest. A better description can be found at:
391#
392# http://www.mega-nerd.com/libsamplerate/api_misc.html#Converters
393#
394# but briefly, the following methods are based on bandlimited interpolation
395# and are higher quality, but also slower:
396#
397# SincBestQuality - really slow (I know you probably have an xx GHz
398# processor, but it's still not enough to not see
399# this in the top output :) The worst case
400# Signal-to-Noise Ratio is 97dB.
401# SincMediumQuality - much faster.
402# SincFastest - the fastest bandlimited interpolation.
403#
404# And these are lower quality, but much faster methods:
405#
406# ZeroOrderHold - really poor quality, but it's really fast.
407# Linear - a bit better and a bit slower.
408#
409#ResampleMethod = Linear
410
411# Always use this sample rate (in Hz) when opening the audio device (and
412# resample the sound if necessary). When set to 0 the device is opened
413# with the file's rate.
414#ForceSampleRate = 0
415
416# By default, even if the sound card reports that it can output 24bit samples
417# MOC converts 24bit PCM to 16bit. Setting this option to 'yes' allows MOC
418# to use 24bit output. (The MP3 decoder, for example, uses this format.)
419# This is disabled by default because there were reports that it prevents
420# MP3 files from playing on some soundcards.
421#Allow24bitOutput = no
422
423# Use realtime priority for output buffer thread. This will prevent gaps
424# while playing even with heavy load. The user who runs MOC must have
425# permissions to set such a priority. This could be dangerous, because it
426# is possible that a bug in MOC will freeze your computer.
427#UseRealtimePriority = no
428
429# The number of audio files for which MOC will cache tags. When this limit
430# is reached, file tags are discarded on a least recently used basis (with
431# one second resolution). You can disable the cache by giving it a size of
432# zero. Note that if you decrease the cache size below the number of items
433# currently in the cache, the number will not decrease immediately (if at
434# all).
435#TagsCacheSize = 256
436
437# Number items in the playlist.
438#PlaylistNumbering = yes
439
440# Main window layouts can be configured. You can change the position and
441# size of the menus (directory and playlist). You have three layouts and
442# can switch between then using the 'l' key (standard mapping). By default,
443# only two layouts are configured.
444#
445# The format is as follows:
446#
447# - Each layout is described as a list of menu entries.
448# - Each menu entry is of the form:
449#
450# menu(position_x, position_y, width, height)
451#
452# where 'menu' is either 'directory' or 'playlist'.
453# - The parameters define position and size of the menu. They can
454# be absolute numbers (like 10) or a percentage of the screen size
455# (like 45%).
456# - 'width' and 'height' can have also value of 'FILL' which means
457# fill the screen from the menu's position to the border.
458# - Menus may overlap.
459#
460# You must describe at least one menu (default is to fill the whole window).
461# There must be at least one layout (Layout1) defined; others can be empty.
462#
463# Example: Layout1 = playlist(50%,50%,50%,50%)
464# Layout2 = ""
465# Layout3 = ""
466#
467# Just one layout, the directory will occupy the whole
468# screen, the playlist will have 1/4 of the screen size
469# and be positioned at lower right corner. (Note that
470# because the playlist will be hidden by the directory
471# you will have to use the TAB key to make the playlist
472# visible.)
473#
474# Example: Layout1 = playlist(0,0,100%,10):directory(0,10,100%,FILL)
475#
476# The screen is split into two parts: playlist at the top
477# and the directory menu at the bottom. Playlist will
478# occupy 10 lines and the directory menu the rest.
479#
480#Layout1 = directory(0,0,50%,100%):playlist(50%,0,FILL,100%)
481#Layout2 = directory(0,0,100%,100%):playlist(0,0,100%,100%)
482#Layout3 = ""
483
484# When the song changes, should the menu be scrolled so that the currently
485# played file is visible?
486#FollowPlayedFile = yes
487
488# What to do if the interface was started and the server is already playing
489# something from the playlist? If CanStartInPlaylist is set to 'yes', the
490# interface will switch to the playlist. When set to 'no' it will start
491# from the last directory.
492#CanStartInPlaylist = yes
493
494# Executing external commands (1 - 10) invoked with key commands (F1 - F10
495# by default).
496#
497# Some arguments are substituted before executing:
498#
499# %f - file path
500# %i - title made from tags
501# %S - start block mark (in seconds)
502# %E - end block mark (in seconds)
503#
504# Data from tags can also be substituted:
505#
506# %t - title
507# %a - album
508# %r - artist
509# %n - track
510# %m - time of the file (in seconds)
511#
512# The parameters above apply to the currently selected file. If you change
513# them to capital letters, they are taken from the file currently playing.
514#
515# Programs are run using execv(), not a shell, so you can't do things like
516# redirecting the output to a file. The command string is split using blank
517# characters as separators; the first element is the command to be executed
518# and the rest are its parameters, so if you use "echo Playing: %I" we run
519# program 'echo' (from $PATH) with 2 parameters: the string 'Playing:' and
520# the title of the file currently playing. Even if the title contains
521# spaces, it's still one parameter and it's safe if it contains `rm -rf /`.
522#
523# Examples: ExecCommand1 = "cp %f /mnt/usb_drive"
524# ExecCommand2 = "/home/joe/now_playing %I"
525#
526#ExecCommand1 =
527#ExecCommand2 =
528#ExecCommand3 =
529#ExecCommand4 =
530#ExecCommand5 =
531#ExecCommand6 =
532#ExecCommand7 =
533#ExecCommand8 =
534#ExecCommand9 =
535#ExecCommand10 =
536
537# Display the cursor in the line with the selected file. Some braille
538# readers (the Handy Tech modular series ZMU 737, for example) use the
539# cursor to focus and can make use of it to present the file line even
540# when other fields are changing.
541#UseCursorSelection = no
542
543# Set the terminal title when running under xterm.
544#SetXtermTitle = yes
545
546# Set the terminal title when running under screen(1). If MOC can detect
547# that it is running under screen(1), then it will set an appropriate
548# title (see description of ScreenTerms above). However, if multiple
549# levels of screen management are involved, detection might fail and this
550# could cause a screen upset. In that situation you can use this option
551# to force screen titles off.
552#SetScreenTitle = yes
553
554# Display full paths instead of just file names in the playlist.
555#PlaylistFullPaths = yes
556
557# The following setting describes how block markers are displayed in
558# the play time progress bar. Its value is a string of exactly three
559# characters. The first character is displayed in a position which
560# corresponds to the time marked as the start of a block and the last
561# character to the time marked as the end of the block. The middle
562# character is displayed instead if both the start and the end of the block
563# would fall in the same position (within the resolution of the interface).
564# You can turn off the displaying of these block marker positions by using
565# three space characters.
566#BlockDecorators = "`\"'"
567
568# How long (in seconds) to leave a message displayed on the screen.
569# Setting this to a high value allows you to scroll through the messages
570# using the 'hide_message' key. Setting it to zero means you'll have to
571# be quick to see any message at all. Any new messages will be queued up
572# and displayed after the current message's linger time expires.
573#MessageLingerTime = 3
574
575# Does MOC display a prefix on delayed messages indicating
576# the number of queued messages still to be displayed?
577#PrefixQueuedMessages = yes
578
579# String to append to the queued message count if any
580# error messages are still waiting to be displayed.
581#ErrorMessagesQueued = "!"
582
583# Self-describing ModPlug options (with 'yes' or 'no' values).
584#ModPlug_Oversampling = yes
585#ModPlug_NoiseReduction = yes
586#ModPlug_Reverb = no
587#ModPlug_MegaBass = no
588#ModPlug_Surround = no
589
590# ModPlug resampling mode.
591# Valid values are:
592#
593# FIR - 8 tap fir filter (extremely high quality)
594# SPLINE - Cubic spline interpolation (high quality)
595# LINEAR - Linear interpolation (fast, good quality)
596# NEAREST - No interpolation (very fast, extremely bad sound quality)
597#
598#ModPlug_ResamplingMode = FIR
599
600# Other self-describing ModPlug audio characteristic options.
601# (Note that the 32 bit sample size seems to be buggy.)
602#ModPlug_Channels = 2 # 1 or 2 channels
603#ModPlug_Bits = 16 # 8, 16 or 32 bits
604#ModPlug_Frequency = 44100 # 11025, 22050, 44100 or 48000 Hz
605#ModPlug_ReverbDepth = 0 # 0 (quiet) to 100 (loud)
606#ModPlug_ReverbDelay = 0 # Delay in ms (usually 40-200ms)
607#ModPlug_BassAmount = 0 # 0 (quiet) to 100 (loud).
608#ModPlug_BassRange = 10 # Cutoff in Hz (10-100).
609#ModPlug_SurroundDepth = 0 # Surround level 0(quiet)-100(heavy).
610#ModPlug_SurroundDelay = 0 # Surround delay in ms, usually 5-40ms.
611#ModPlug_LoopCount = 0 # 0 (never), n (times) or -1 (forever)
612
613# Self-describing TiMidity audio characteristic options.
614#TiMidity_Rate = 44100 # Between 8000 and 48000
615#TiMidity_Bits = 16 # 8 or 16
616#TiMidity_Channels = 2 # 1 or 2
617#TiMidity_Volume = 100 # 0 to 800
618
619# You can setup a TiMidity-Config-File here.
620# Leave it unset to use library defaults (/etc/timidity.cfg mostly).
621# Setting it to 'yes' also uses the library defaults.
622# Set it to 'no' if you don't have any configuration file.
623# Otherwise set it to the name of a specific file.
624#TiMidity_Config =
625
626# Self-describing SidPlay2 audio characteristic options.
627#SidPlay2_DefaultSongLength = 180 # If not in database (in seconds)
628#SidPlay2_MinimumSongLength = 0 # Play at least n (in seconds)
629#SidPlay2_Frequency = 44100 # 4000 to 48000
630#SidPlay2_Bits = 16 # 8 or 16
631#SidPlay2_Optimisation = 0 # 0 (worst quality) to 2 (best quality)
632
633# Set path to a HVSC-compatible database (if not set, database is disabled).
634#SidPlay2_Database =
635
636# SidPlay2 playback Mode:
637#
638# "M": Mono (best for many SIDs)
639# "S": Stereo
640# "L"/"R": Left / Right
641#
642#SidPlay2_PlayMode = "M"
643
644# Use start-song information from SID ('yes') or start at first song
645# ('no'). Songs before the start-song won't be played. (Note that this
646# option previously took the values 1 and 0; these are now deprecated
647# in favour of 'yes' and 'no'.)
648#SidPlay2_StartAtStart = yes
649
650# Play sub-tunes. (Note that this option previously took the values 1
651# and 0; these are now deprecated in favour of 'yes' and 'no'.)
652#SidPlay2_PlaySubTunes = yes
653
654# Run the OnSongChange command when a new song starts playing.
655# Specify the full path (i.e. no leading '~') of an executable to run.
656# Arguments will be passed, and you can use the following escapes:
657#
658# %a artist
659# %r album
660# %f filename
661# %t title
662# %n track
663# %d file duration in XX:YY form
664# %D file duration, number of seconds
665#
666# No pipes/redirects can be used directly, but writing a shell script
667# can do the job.
668#
669# Example: OnSongChange = "/home/jack/.moc/myscript %a %r"
670#
671OnSongChange = "/home/aaoth/.local/bin/mocpnotify next %a %t %d"
672
673# If RepeatSongChange is 'yes' then MOC will execute the command every time
674# a song starts playing regardless of whether or not it is just repeating.
675# Otherwise the command will only be executed when a different song is
676# started.
677#RepeatSongChange = no
678
679# Run the OnStop command (full path, no arguments) when MOC changes state
680# to stopped (i.e., when user stopped playing or changes a song).
681OnStop = "/home/aaoth/.local/bin/mocpnotify stop"
682
683# This option determines which song to play after finishing all the songs
684# in the queue. Setting this to 'yes' causes MOC to play the song which
685# follows the song being played before queue playing started. If set to
686# 'no', MOC will play the song following the last song in the queue if it
687# is in the playlist. The default is 'yes' because this is the way other
688# players usually behave. (Note that this option previously took the
689# values 1 and 0; these are now deprecated in favour of 'yes' and 'no'.)
690#QueueNextSongReturn = yes