Advertisement
Guest User

Configuration File of Moc - www.Jhosman.com

a guest
Oct 6th, 2011
408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 23.82 KB | None | 0 0
  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 it's owner.
  6.  
  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.  
  60.  
  61. # Show file titles (title, author, album) instead of file names.
  62. ReadTags        = yes
  63.  
  64. # Directory in which you store music files. If you specify it you will be able
  65. # to quickly go to this directory with the '-m' parameter or the 'm' command.
  66. # This can also point to a playlist.
  67. #MusicDir       = "/home/joe/music"
  68.  
  69. # How to sort? FileName is the only option for now.
  70. Sort            = FileName
  71.  
  72. # Show errors in the streams, for example CRC errors or broken frames in mp3
  73. # files.
  74. ShowStreamErrors    = no
  75.  
  76. # Ignore CRC errors in MP3 files. Most players do that, so the default value is
  77. # set to yes.
  78. Mp3IgnoreCRCErrors  = yes
  79.  
  80. # Turn on repeat.
  81. Repeat          = yes
  82.  
  83. # Turn on shuffle.
  84. Shuffle         = yes
  85.  
  86. # Turn on AutoNext.
  87. AutoNext        = yes
  88.  
  89. # Default FormatString:
  90. # %n - Track number
  91. # %a - Artist
  92. # %A - Album
  93. # %t - Title
  94. # %(X:TRUE:FALSE) - ternary expression - if X exists, do TRUE, otherwise
  95. #                   FALSE. '\' - escape character (must be double, because of
  96. #                   config interpreter). man zshmisc for more info.
  97. FormatString        = "%(n:%n :)%(a:%a - :)%(t:%t:)%(A: \(%A\):)"
  98.  
  99. # Output buffer size in kilobytes. Minimum value is 128KB. */
  100. OutputBuffer        = 2048
  101.  
  102. # Input buffer size in kilobytes. Minimum value is 32KB. */
  103. InputBuffer     = 512
  104.  
  105. # How much to fill the input buffer before playing (in kilobytes)?
  106. # This can't be more than InputBuffer value.
  107. # Remember that for network streams beside the positive effect this also causes
  108. # delay between what you can hear and what is broadcasted.
  109. Prebuffering        = 64
  110.  
  111. # Use this HTTP proxy server for internet streams. If not set, the
  112. # environment variables http_proxy and ALL_PROXY will be used if present.
  113. #HTTPProxy      = my_proxy:port
  114.  
  115. # Sound driver - OSS, ALSA, JACK, SNDIO (on OpenBSD) or null (only for
  116. # debugging).
  117. # You can enter more than one driver as a colon-separated list.  The first
  118. # working driver will be used.
  119. SoundDriver     = JACK:ALSA:OSS
  120.  
  121. # Jack output settings.
  122. JackOutLeft     = "alsa_pcm:playback_1"
  123. JackOutRight        = "alsa_pcm:playback_2"
  124.  
  125. # OSS output device.
  126. OSSDevice       = /dev/dsp
  127.  
  128. # OSS Mixer device.
  129. OSSMixerDevice      = /dev/mixer
  130.  
  131. # OSS Mixer channel: pcm or master.
  132. OSSMixerChannel     = pcm
  133.  
  134. # Second OSS Mixer channel: pcm or master.
  135. OSSMixerChannel2    = master
  136.  
  137. # ALSA mixer device.
  138. AlsaMixer       = PCM
  139.  
  140. # Second ALSA mixer device.
  141. AlsaMixer2      = Master
  142.  
  143. # ALSA output device.
  144. AlsaDevice      = default
  145.  
  146. # Save software mixer state?
  147. # If enabled, a file 'softmixer' will
  148. # be created in '~/.moc/' storing the
  149. # mixersetting set when the server is shut-down.
  150. # Note that there is a 'hidden' 'Amplification'
  151. # setting in that file.
  152. # Amplification (0-200) is used to scale
  153. # the mixer setting (0-100). This results
  154. # in a higher signal amplitude but may also
  155. # produce clipping.
  156. #Softmixer_SaveState = yes
  157.  
  158. # Save equalizer state?
  159. # If enabled, a file 'equalizer' will
  160. # be created in '~/.moc/' storing the
  161. # equalizer settings when the server is shut-down.
  162. # There is a 'hidden' 'Mixin' setting in that file.
  163. # Mixin (0.0-1.0) is used to determine how much of
  164. # the original signal is used after equalizing.
  165. # 0 means to only use the equalized sound, 1
  166. # effectively disabled the mixer.
  167. # Default is 0.25
  168. #Equalizer_SaveState = yes
  169.  
  170. # Show files with dot at the beginning?
  171. ShowHiddenFiles     = no
  172.  
  173. # Start in the music directory if no arguments are given. If set to no, start
  174. # in the current directory.
  175. StartInMusicDir     = yes
  176.  
  177. # Hide file name extensions.
  178. HideFileExtension   = no
  179.  
  180. # Show file format in menu.
  181. ShowFormat      = yes
  182.  
  183. # Show file time in menu. Possible options: yes, no, IfAvailable - show the
  184. # time only when it was read before (often works faster).
  185. ShowTime        = IfAvailable
  186.  
  187. # Show time played as a percentage in the time progress bar.
  188. #ShowTimePercent    = no
  189.  
  190. # Values of the TERM environment variable which are deemed to be xterms.
  191. XTerms = xterm
  192. XTerms += xterm-colour:xterm-color
  193. XTerms += xterm-256colour:xterm-256color
  194. XTerms += rxvt:rxvt-unicode
  195. XTerms += rxvt-unicode-256colour:rxvt-unicode-256color
  196. XTerms += eterm
  197.  
  198. # Theme file. This can be absolute path or relative to
  199. # /usr/share/moc/themes/ (depends on installation prefix) or ~/.moc/themes/
  200. # Theme         = example_theme
  201.  
  202. # The theme used when running on an xterm.
  203. XTermTheme      = transparent-background
  204.  
  205. # Should MOC try to autoload the default lyrics file for an audio?  (The
  206. # default lyrics file is a text file with the same file name as the audio
  207. # file name with any trailing "extension" removed.)
  208. # AutoLoadLyrics    = yes
  209.  
  210. # MOC directory - where pid file, socket, and state files are stored.
  211. # You can use ~ at the beginning.
  212. # MOCDir        = ~/.moc
  213.  
  214. # Use mmap() to read files. mmap() is much slower on NFS.
  215. UseMmap         = no
  216.  
  217. # Use MIME to identify audio files.  This can make for slower loading
  218. # of playlists but is more accurate than using "extensions".
  219. #UseMimeMagic   = no
  220.  
  221. # Assume this encoding for ID3 version 1/1.1 tags (mp3 files). Unlike ID3v2
  222. # UTF-8 is not used here and MOC can't guess how tags are encoded. Another
  223. # solution is using librcc (see the next option). This option is ignored
  224. # if UseRCC is set to yes.
  225. #ID3v1TagsEncoding      = WINDOWS-1250
  226.  
  227. # Use librcc to fix ID3 version 1/1.1 tags encoding.
  228. #UseRCC             = yes
  229.  
  230. # Use librcc to filenames and directory names encoding.
  231. #UseRCCForFilesystem            = yes
  232.  
  233. # When this option is set the player assumes that if the encoding of ID3v2
  234. # is set to ISO-8859-1 then the ID3v1TagsEncoding is actually that and
  235. # applies appropriate conversion.
  236. #EnforceTagsEncoding    = no
  237.  
  238. # Enable the conversion of filenames from the local encoding to UTF8.
  239. #FileNamesIconv     = no
  240.  
  241. # Enable the conversion of the xterm title from UTF8 to the local encoding.
  242. #NonUTFXterm        = no
  243.  
  244. # Remember the playlist after exit?
  245. SavePlaylist        = yes
  246.  
  247. # When using more than one client (interface) at a time, do they share the
  248. # playlist?
  249. SyncPlaylist        = yes
  250.  
  251. # Choose a keymap file (relative to ~/.moc/ or absolute path).
  252. # Example keymap with description is included (keymap.example).
  253. #Keymap         = my_keymap
  254.  
  255. # Use ASCII characters instead of graphic for drawing lines. This helps on
  256. # some terminals.
  257. ASCIILines      = no
  258.  
  259. # FastDirs, these allow you to jump directly to a directory, the key bindings
  260. # are in the keymap file.
  261. #Fastdir1 = /mp3/rock
  262. #Fastdir2 = /mp3/electronic
  263. #Fastdir3 = /mp3/rap
  264. #Fastdir4 = /mp3/etc
  265. #Fastdir5 =
  266. #Fastdir6 =
  267. #Fastdir7 =
  268. #Fastdir8 =
  269. #Fastdir9 =
  270. #Fastdir10 =
  271.  
  272. # How fast to seek? Number of seconds per key stroke.
  273. #SeekTime       = 1
  274.  
  275. # How fast to seek (when using silent seeking)? Number of seconds per key
  276. # stroke.
  277. #SilentSeekTime     = 5
  278.  
  279. # PreferredDecoders allows you to specify which decoder should be used
  280. # for any given audio format.  It is a colon-separated list in which
  281. # each entry is of the general form 'code(decoders)', where 'code'
  282. # identifies the audio format and 'decoders' is a comma-separated list
  283. # of decoders in order of preference.
  284. #
  285. # The audio format identifier may be either a filename extension or a
  286. # MIME media type.  If the latter, the format is 'type/subtype' (e.g.,
  287. # 'audio/flac').  Because different systems may give different MIME
  288. # media types, any 'x-' prefix of the subtype is ignored both here and
  289. # in the actual file MIME type (so all combinations of 'audio/flac' and
  290. # 'audio/x-flac' match each other).
  291. #
  292. # For Internet streams the matching is done on MIME media type and on
  293. # actual content.  For files the matches are made on MIME media type
  294. # (if the 'UseMimeMagic' option is set) and on filename extension.  The
  295. # MIME media type of a file is not determined until the first entry for
  296. # MIME is encountered in the list.
  297. #
  298. # The matching is done in the order of appearance in the list with any
  299. # entries added from the command line being matched before those listed
  300. # here.  Therefore, if you place all filename extension entries before
  301. # all MIME entries you will speed up MOC's processing of directories
  302. # (which could be significant for remote file systems).
  303. #
  304. # The decoder list may be empty, in which case no decoders will be used
  305. # for files (and files with that audio format ignored) while Internet
  306. # streams will be assessed on the actual content.  Any decoder position
  307. # may contain an asterisk, in which case any decoder not otherwise listed
  308. # which can handle the audio format will be used.  It is not an error to
  309. # list the same decoder twice, but neither does it make sense to do so.
  310. #
  311. # If you have a mix of audio and non-audio files in your directories, you
  312. # may wish to include entries at top of the list which ignore non-audio
  313. # files by extension.
  314. #
  315. # In summary, the PreferredDecoders option provides fine control over the
  316. # type of matching which is performed (filename extension, MIME media
  317. # type and streamed media content) and which decoder(s) (if any) are used
  318. # based on the option's list entries and their ordering.
  319. #
  320. # Examples: aac(aac,ffmpeg)             first try FAAD2 for AACs then FFmpeg
  321. #           mp3()                       ignore MP3 files
  322. #           wav(*,sndfile)              use sndfile for WAV as a last resort
  323. #           ogg(vorbis,*):flac(flac,*)  try Xiph decoders first
  324. #           ogg():audio/ogg()           ignore OGG files, and
  325. #                                       force Internet selection by content
  326. #           gz():html()                 ignore some non-audio files
  327. #
  328. # Any unspecified audio formats default to trying all decoders.
  329. # Any unknown (or misspelt) drivers are ignored.
  330. # All names are case insensitive.
  331. # The default setting reflects the historical situation modified by
  332. # the experience of users.
  333. #
  334. #PreferredDecoders  = aac(aac,*):m4a(ffmpeg,aac)
  335. #PreferredDecoders  += mpc(musepack,*)
  336. #PreferredDecoders  += wav(sndfile,*,modplug)
  337. #PreferredDecoders  += wv(wavpack,*)
  338. #PreferredDecoders  += audio/aac(aac,*):audio/aacp(acc,*):audio/m4a(ffmpeg,aac)
  339. #PreferredDecoders  += audio/wav(sndfile,*,modplug)
  340.  
  341. # The following PreferredDecoders attempt to handle the ambiguity surrounding
  342. # container types such as OGG for files.  The first two entries will force
  343. # a local file to the correct decoder (assuming the .ogg file contains Vorbis
  344. # audio), while the MIME media types will cause Internet audio streams to
  345. # be assessed on content (which may be either Vorbis or Speex).
  346. #
  347. #PreferredDecoders  += ogg(vorbis):oga(vorbis):spx(speex)
  348. #PreferredDecoders  += application/ogg():audio/ogg()
  349.  
  350. # Resample method to use. There are a few methods of resampling sound supported
  351. # by libresamplerate. The default is the fastest (linear). Better description
  352. # is here: http://www.mega-nerd.com/libsamplerate/api_misc.html#Converters
  353. #
  354. # High quality (based on bandlimited interpolation), but slow methods:
  355. #
  356. # SincBestQuality - really slow (I know you probably have an xx GHz processor,
  357. #           but it's not enough to not see this in the top output :)
  358. #           The worst case Signal-to-Noise Ratio is 97dB.
  359. # SincMediumQuality - much faster.
  360. # SincFastest - the fastest bandlimited interpolation.
  361. #
  362. # Poor quality, but much faster methods:
  363. #
  364. # ZeroOrderHold - really poor quality, but it's really fast.
  365. # Linear - a bit better and a bit slower.
  366. #
  367. #ResampleMethod     = Linear
  368.  
  369. # Always use this sample rate when opening the audio device (and resample the
  370. # sound if necessary). When set to 0 the device is opened with the file's rate.
  371. #ForceSampleRate    = 48000
  372.  
  373. # By default even if the sound card reports that it can output 24bit samples
  374. # MOC converts 24bit PCM to 16bit. This option set to yes allows MOC to use
  375. # 24bit output (for example MP3 decoder uses this format). This is disabled
  376. # in the default configuration because there were reports that it prevents
  377. # MP3 files from playing on some soundcards.
  378. #Allow24bitOutput   = no
  379.  
  380. # Use realtime priority for output buffer thread. This will prevent gaps while
  381. # playing even with heavy load. The user which runs MOC must have permissions
  382. # to set such a priority. This could be dangerous, because it is possible that
  383. # a bug in MOC will freeze your computer.
  384. #UseRealtimePriority    = no
  385.  
  386. # The number of audio files for which MOC will cache tags.  When this limit
  387. # is reached, file tags are discarded on a least recently used basis.
  388. TagsCacheSize       = 256
  389.  
  390. # Number items in the playlist.
  391. #PlaylistNumbering  = yes
  392.  
  393. # Main window layouts can be configured.  You can change the position and
  394. # size of the menus (directory and playlist).  You have three layouts and
  395. # can switch between then using the 'l' key (standard mapping).  By default,
  396. # only two layouts are configured.
  397. #
  398. # The format is as follows:
  399. # Each layout is described as a list of menu entries.
  400. # Each menu entry is of the form:
  401. #
  402. #         menu(position_x, position_y, width, height)
  403. #
  404. # 'menu' is either "directory" or "playlist".
  405. # The parameters define position and size of the menu.  They can be absolute
  406. # numbers (like 10) or a percentage of the screen size (like 45%).
  407. # 'width' and 'height' can have also value of FILL which means fill the
  408. # screen from the menu's position to the border.
  409. # Menus may overlap.
  410. # You must describe at least one menu (default is to fill the whole window).
  411. # There must be at least one layout (Layout1) defined; others can be empty.
  412. #
  413. # Example:    Layout1 = playlist(50%,50%,50%,50%)
  414. #             Layout2 = ""
  415. #             Layout3 = ""
  416. #
  417. #             Just one layout, the directory will occupy the whole
  418. #             screen, the playlist will have 1/4 of the screen size
  419. #             and be positioned at lower right corner.  (Note that
  420. #             because the playlist will be hidden by the directory
  421. #             you will have to use the TAB key to make the playlist
  422. #             visible.)
  423. #
  424. # Example:    Layout1 = playlist(0,0,100%,10):directory(0,10,100%,FILL)
  425. #
  426. #             The screen is split into two parts: playlist at the top
  427. #             and the directory menu at the bottom.  Playlist will
  428. #             occupy 10 lines and the directory menu the rest.
  429. #
  430. #Layout1        = directory(0,0,50%,100%):playlist(50%,0,FILL,100%)
  431. #Layout2        = directory(0,0,100%,100%):playlist(0,0,100%,100%)
  432. #Layout3        = ""
  433.  
  434. # When the song changes, should the menu be scrolled so that the currently
  435. # played file is visible?
  436. FollowPlayedFile    = yes
  437.  
  438. # What to do if the interface was started and something from the playlist is
  439. # playing? If CanStartInPlaylist is set to "yes", the interface will switch to
  440. # the playlist. When set to "no" it will start from the last directory.
  441. CanStartInPlaylist  = yes
  442.  
  443. # Executing external commands (1 - 10) invoked with key commands (F1 - F10 by
  444. # default).
  445. # Some arguments are substituted before executing:
  446. # %f - file path
  447. # %i - title made from tags
  448. # %S - start block mark (in seconds)
  449. # %E - end block mark (in seconds)
  450. #
  451. # Data from tags:
  452. # %t - title
  453. # %a - album
  454. # %r - artist
  455. # %n - track
  456. # %m - time of the file (in seconds)
  457. #
  458. # Parameters above apply to the currently selected file. If you change them to
  459. # capital letters, they are taken from the file currently playing.
  460. #
  461. # Programs are run using execv(), not a shell, so you can't do things like
  462. # redirecting the output to a file. The command string is split using blank
  463. # characters as separators, the first element is the command to be executed
  464. # and the rest are parameters, so if you use "echo Playing: %I" we run program
  465. # echo (from $PATH) with 2 parameters: 'Playing:' string and the title. Even
  466. # if the title contains spaces it's still one parameter and it's safe if it
  467. # contains `rm -rf /`.
  468. #
  469. # Examples:
  470. # ExecCommand1      = "cp %f /mnt/usb_drive"
  471. # ExecCommand2      = "/home/joe/now_playing %I"
  472.  
  473. # Display the cursor in the line with the selected file. This can be useful with
  474. # a braille display.
  475. # UseCursorSelection    = no
  476.  
  477. # Set the terminal title when running under xterm.
  478. #SetXtermTitle      = yes
  479.  
  480. # Set the terminal title when running under screen.
  481. #SetScreenTitle     = yes
  482.  
  483. # Display full paths instead of just file names in the playlist.
  484. #PlaylistFullPaths  = yes
  485.  
  486. # The following setting describes to how block markers are displayed
  487. # in the play time progress bar.  Its value is a string of exactly three
  488. # characters.  The first character is displayed in a position which
  489. # corresponds to the time marked as the start of a block and the last
  490. # character to the time marked as the end of the block.  The middle
  491. # character is displayed instead if both the start and the end of the block
  492. # would fall in the same position (within the resolution of the interface).
  493. # You can turn off the displaying of these block marker positions by using
  494. # three space characters.
  495. #BlockDecorators    = "`\"'"
  496.  
  497. # How long (in seconds) to leave a message displayed on the screen.
  498. # Setting this to a high value allows you to scroll through the messages
  499. # using the 'hide_message' key.  Setting it to zero means you'll have to
  500. # be quick to see any message at all.  Any new messages will queued up
  501. # and displayed after the current message's linger time expires.
  502. #MessageLingerTime  = 3
  503.  
  504. # Does MOC display a prefix on delayed messages indicating
  505. # the number of queued messages still to be displayed?
  506. #PrefixQueuedMessages   = yes
  507.  
  508. # String to append to the queued message count if any
  509. # error messages are still waiting to be displayed.
  510. #ErrorMessagesQueued    = "!"
  511.  
  512. # Enable oversampling (yes/no).
  513. #ModPlug_Oversampling = yes
  514. # Enable noise reduction (yes/no).
  515. #ModPlug_NoiseReduction = yes
  516. # Enable reverb (yes/no).
  517. #ModPlug_Reverb = no
  518. # Enable mega-bass (yes/no).
  519. #ModPlug_MegaBass = no
  520. # Enable surround (yes/no).
  521. #ModPlug_Surround = no
  522. # Resampling mode. One of FIR/SPLINE/LINEAR/NEAREST:
  523. # FIR :      8 tap fir filter (extremely high quality).
  524. # SPLINE :   Cubic spline interpolation (high quality).
  525. # LINEAR :   Linear interpolation (fast, good quality).
  526. # NEAREST :  No interpolation (very fast, extremely bad sound quality).
  527. #ModPlug_ResamplingMode = FIR
  528. # Number of channles (1 or 2).
  529. #ModPlug_Channels = 2
  530. # Bits per sample (8,16,32). 32 Bits seems to be buggy...
  531. #ModPlug_Bits = 16
  532. # Sampling rate (11025, 22050, 44100, 48000).
  533. #ModPlug_Frequency = 44100
  534. # Reverb level 0(quiet)-100(loud).
  535. #ModPlug_ReverbDepth = 0
  536. # Reverb delay in ms, usually 40-200ms.
  537. #ModPlug_ReverbDelay = 0
  538. # Bass level 0(quiet)-100(loud).
  539. #ModPlug_BassAmount = 0
  540. # Bass cutoff in Hz (10-100).
  541. #ModPlug_BassRange = 10
  542. # Surround level 0(quiet)-100(heavy).
  543. #ModPlug_SurroundDepth = 0
  544. # Surround delay in ms, usually 5-40ms.
  545. #ModPlug_SurroundDelay = 0
  546. # Number of times to loop. Zero prevents looping. -1 loops forever.
  547. #ModPlug_LoopCount = 0
  548.  
  549. #TiMidity-Options.
  550. # Rate must be in between 8000 and 48000.
  551. #TiMidity_Rate = 44100
  552. # Bitrate is 8 or 16.
  553. #TiMidity_Bits = 16
  554. # Channels is 1 or 2.
  555. #TiMidity_Channels = 2
  556. # Volume-Range is 0-800.
  557. #TiMidity_Volume = 100
  558. # You can setup a TiMidity-Config-File here.
  559. # Leave it unset to use library defaults (/etc/timidity.cfg mostly).
  560. # Setting it to 'yes' also uses the library defaults.
  561. # Set it to 'no' if you don't have any configuration file.
  562. # Otherwise set it to the name of a specific file.
  563. #TiMidity_Config =
  564.  
  565.  
  566. # SidPlay2-Options.
  567. # Default length of a song if not in database (seconds).
  568. #SidPlay2_DefaultSongLength = 180
  569. # Play at least a specific time if song is shorter (seconds).
  570. #SidPlay2_MinimumSongLength = 0
  571. # Set path to a HVSC-compatible database (if not set, database is disabled).
  572. #SidPlay2_Database
  573. # Sampling Frequency (4000-48000Hz).
  574. #SidPlay2_Frequency = 44100
  575. # Sampling Resolution (8/16).
  576. #SidPlay2_Bits = 16
  577. # Playback Mode:
  578. # "M": Mono (best for many SIDs).
  579. # "S": Stereo.
  580. # "L"/"R": Left / Right.
  581. #SidPlay2_PlayMode = "M"
  582. # Optimisation-level (0-2), 0 is best quality.
  583. #SidPlay2_Optimisation = 0
  584. # Use start-song information from SID (1) or start at first song (0).
  585. # Songs before the start-song won't be played.
  586. #SidPlay2_StartAtStart = 1
  587. # Play sub-tunes.
  588. #SidPlay2_PlaySubTunes = 1
  589.  
  590. # OnSongChange.
  591. # Specify the full path (i.e. no ~) of an executable to run.
  592. # Arguments will be passed, and you can use the following escapes:
  593. #  %a artist
  594. #  %r album
  595. #  %f filename
  596. #  %t title
  597. #  %n track
  598. #  %d file duration in XX:YY form
  599. #  %D file duration, number of seconds
  600. #
  601. # No pipes/redirects can be used directly, but writing a shell
  602. # script can do the job.
  603. #
  604. # Example:
  605. #
  606. #OnSongChange = "/home/jack/.moc/myscript %a %r"
  607.  
  608. # RepeatSongChange.
  609. # If 'yes' then MOC will execute the 'OnSongChange' command every time a
  610. # song starts playing regardless of whether or not it is just repeating.
  611. # Otherwise the command will only be executed when a different song is
  612. # started.
  613. #RepeatSongChange = no
  614.  
  615. # OnStop.
  616. # Run the following command (full path, no arguments) when MOC changes state
  617. # to stopped (when user stopped playing or changes a song).
  618. #
  619. #OnStop = "/home/jack/.moc/myscript_on_stop"
  620.  
  621. # This options determines what song to play after finishing all the songs in
  622. # queue. Setting this to 'yes' causes MOC to play the song which follows the
  623. # song played before playing the queue. If set to 'no', MOC will play the song
  624. # after the last song in the queue if it was in the playlist. The default is
  625. # 'yes' because this is the way other players usually behave. (Note that this
  626. # option previously took the values 1 and 0; these are now deprecated in
  627. # favour of 'yes' and 'no'.)
  628. #QueueNextSongReturn = yes
  629.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement